Automation & Ops n8nbinary-datafile-uploadsworkflow-automationai-agent-toolswebhooks

n8n Binary & File Handling

Keep files intact in n8n workflows and move them safely through AI tools and chat interfaces.

FollowSkills review · FSRS-2.0
Not recommended
53/ 100 5-point scale 2.7 / 5
Trust15 / 25 · 3.0/5

The skill clearly separates $json from $binary, recommends private storage, signed short-lived URLs, avoiding hardcoded filenames, and surfacing upload and 404 failures. Deduction is warranted because least-privilege permissions, credential isolation, explicit user confirmation, rollback, and deletion recovery are not fully specified; external storage and public URLs can still expose data.

Reliability8 / 20 · 2.0/5

The core concepts, code examples, Merge synchronization pattern, executeOnce guidance, and anti-patterns are broadly consistent, and the skill tells users to inspect executions. Deduction is required because this is static-only evidence with no runnable tests or CI proof; many fields are version-dependent and require separate get_node confirmation, while error handling is referenced more than fully specified.

Adaptability10 / 15 · 3.3/5

Triggers cover files, PDFs, images, uploads, downloads, $binary, AI tools, and chat image rendering. The skill also distinguishes agent and non-agent flows and discloses platform-specific seams. Deduction reflects incomplete systematic non-fit boundaries, no explicit Chinese-language support, and no evidence of reachability for external storage services from mainland China.

Convention10 / 15 · 3.3/5

The material is layered across the main skill, focused reference files, README, checklists, examples, anti-patterns, integrations, limitations, MIT licensing, and version 1.0.0. Deduction reflects missing maintenance ownership, changelog, and explicit update path; the repository context has inconsistent skill-count descriptions, and important behavior depends on referenced files outside the selected path.

Effectiveness6 / 15 · 2.0/5

The skill supplies directly reusable n8n JSON, JavaScript, Merge, and storage-key patterns for binary retention, agent-tool transfer, and chat rendering. Deduction reflects the absence of executed representative outputs; users still need version checks, credential and storage configuration, platform-specific mapping, and runtime verification.

Verifiability4 / 10 · 2.0/5

The README and skill identify n8n documentation as authoritative sources and prescribe n8n_test_workflow plus n8n_executions for checking binary survival. Deduction is necessary because the supplied evidence is static only, with no verifiable CI, committed test suite, or independent reproduction record; key claims have limited corroboration.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 05eea4848c12
Before you use it
  • Do not assume the documented field names and Merge configuration apply unchanged to every n8n version; confirm them on the target version and run the workflow.
  • Use private, least-privilege, short-lived storage for uploaded files and verify that the selected external storage is reachable in the target network environment.
  • Treat the skill as guidance and examples, not a substitute for reviewing credential scope, URL exposure, retention, error branches, and cleanup.
Review evidence [1][2][3][4][5][6][7][8]
See the full review method →

What does this skill do, and when should you use it?

This skill focuses on files, images, PDFs, attachments, uploads, downloads, and multimodal inputs in n8n. It separates structured data in $json from file bytes in $binary, then explains how to read, write, and preserve binary data across transformations. For AI Agent tools, it uses storage keys or URLs because tool arguments and returns are JSON-only; for chat surfaces, it uses fetchable HTTPS image URLs. It is a strong fit for n8n and n8n-mcp users who regularly debug missing attachments or unusable file inputs.

Explains how HTTP Request, disk, cloud-storage, email, and AI media nodes populate $binary; shows how to use binaryPropertyName, responseFormat, and getBinaryDataBuffer; demonstrates reattaching binary data in Code node output; preserves files with pass-through settings or Merge in combineByPosition mode; defines inbound and outbound file-staging patterns for AI Agent tools; explains how to upload generated images to object storage or drive-style storage and return their URLs to chat surfaces; and recommends n8n_test_workflow plus n8n_executions to verify that binary data survived execution.

  1. An n8n developer downloads a PDF or image and finds that its contents were placed in $json instead of $binary.
  2. An automation engineer uses Code, IF, or Edit Fields and later discovers that an email or upload node has no attachment.
  3. An AI Agent builder needs a tool to read a user-uploaded file or return a generated file to the user.
  4. A chatbot developer needs generated images to render in Slack, Discord, Teams, Telegram, or embedded Webhook Chat.
  5. An n8n troubleshooter needs to identify the node where a binary slot was silently removed.

What are this skill's strengths and limitations?

Pros
  • Clearly explains the $json versus $binary split and the most common causes of file loss.
  • Provides concrete patterns for HTTP downloads, Code nodes, Merge, AI Agent tools, and chat images.
  • Explicitly documents the JSON-only AI tool boundary and the URL requirement for chat clients.
  • Includes anti-patterns, verification steps, and integration points with related n8n skills.
Limitations
  • Assumes an n8n workflow environment and is designed to work with n8n-mcp tooling.
  • Does not provide a CDN, object store, or file host; users must supply and configure storage.
  • Full Data Tables coverage, Code node sandbox details, and Custom Code Tool details belong to other skills.
  • The supplied material provides no test results for this individual skill across n8n versions or standalone platforms.

How do you install this skill?

This skill is part of the 15-skill czlonkowski/n8n-skills collection. For Claude Code plugin installation, run: /plugin install czlonkowski/n8n-skills. For manual installation, clone the repository with git clone https://github.com/czlonkowski/n8n-skills.git, then copy the target folder with cp -r n8n-skills/skills/n8n-binary-and-data ~/.claude/skills/. The README also describes downloading and uploading an individual skill folder in Claude.ai; detailed API/SDK installation steps are not included in the supplied material.

How do you use this skill?

After installation, ask a file-related n8n question such as: “How do I read a PDF in n8n and make it available to an AI Agent tool?” or “Why did my attachment disappear after Merge?” The skill activates for files, images, PDFs, attachments, $binary, binaryPropertyName, PDF reading, image sending, Merge-related binary loss, and CDN requirements for chat images. With n8n-mcp, use get_node to confirm node fields and n8n_test_workflow plus n8n_executions to inspect actual execution output.

FAQ

Does this skill upload files to a CDN automatically?
No. It explains how to upload files to object storage or drive-style storage and use the returned URL, but the storage service must be supplied by the user.
Why cannot $fromAI() pass a file to a tool?
$fromAI() fills JSON-compatible parameters such as strings, numbers, booleans, and objects; it cannot carry file bytes. Stage the file in storage and pass its key instead.
Why can a workflow pass validation while still losing a file?
A transformation node can silently remove the binary slot, and validate_workflow may not detect it. Inspect binary presence in the execution output for each node.
Is it specifically for n8n Cloud?
The supplied material does not state a specific n8n Cloud or self-hosted compatibility range. The guidance is centered on n8n workflow nodes and n8n-mcp usage.

More skills from this repository

All from czlonkowski/n8n-skills

Dev & Engineering

n8n Expression Syntax Guide

Write, validate, and repair n8n expressions for reliable workflow data mapping.

Automation & Ops

n8n Error Handling

Make n8n workflow failures routable, visible, and recoverable.

Automation & Ops

n8n AI Agent Architecture Guide

Design n8n AI agents with the right nodes, tool connections, memory, structured output, and human approval.

Automation & Ops

n8n Subworkflow Architect

Turn reusable n8n logic into explicit, testable sub-workflows that humans and AI agents can discover and call safely.

Dev & Engineering

n8n AI Code Tool Guide

Write JavaScript or Python that obeys the n8n Custom Code Tool contract for AI-agent calls.

Dev & Engineering

n8n Python Code Node Guide

Write dependable Python for n8n Code nodes within their real runtime limits.

Dev & Engineering

n8n JavaScript Code Node Guide

Write reliable, efficient JavaScript for n8n Code nodes.

Automation & Ops

n8n Workflow Architecture Patterns

Design, validate, and deploy reliable n8n workflows with proven architectural patterns.

Automation & Ops

n8n Multi-Instance Targeting

Safely select, verify, and switch the n8n instance targeted by an MCP session.

Automation & Ops

n8n MCP Workflow Router

Routes n8n-mcp tasks to the right skills and reduces production workflow failures.

Automation & Ops

n8n Node Configuration Guide

Configure n8n nodes by operation and dependency to reduce validation errors and silent runtime failures.

Automation & Ops

n8n Validation Expert

Explains n8n validation results and guides iterative fixes for problems that can stop workflows from running.

Automation & Ops

n8n MCP Tools Expert

A practical guide for reliably searching, validating, and managing n8n workflows.

Automation & Ops

n8n Self-Hosting Deployment

Deploy production self-hosted n8n on Linux with Docker Compose, Caddy, and automatic HTTPS.

Related skills