Automation & Ops

n8n Binary & File Handling

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

53/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code · Claude.ai
Stars
★ 6.4k
Last updated
19d ago
License
MIT
n8nbinary-datafile-uploadsworkflow-automation
+2ai-agent-toolswebhooks

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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • MCP Server
Install first
  • n8n
  • n8n-mcp MCP server

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/czlonkowski/n8n-skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/n8n-binary-and-data" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • How do I read a PDF in n8n and make it available to an AI Agent tool?
  • Why did my attachment disappear after Merge?

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.

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
n8n Binary & File Handling this page 53 · Use with care ★ 6.4k 19d ago MIT
n8n Error Handling 53 · Use with care ★ 6.4k 19d ago MIT
n8n AI Agent Architecture Guide 50 · Use with care ★ 6.4k 19d ago MIT
n8n Subworkflow Architect 49 · Use with care ★ 6.4k 19d ago MIT
n8n Workflow Architecture Patterns 40 · Not recommended ★ 6.4k 19d ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
53/ 100 5-point scale 2.7 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust15 / 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.

2Reliability8 / 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.

3Adaptability10 / 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.

4Convention10 / 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.

5Effectiveness6 / 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.

6Verifiability4 / 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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 05eea4848c12 Review evidence[1][2][3][4][5][6][7][8]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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.

★ 6.4k FS 47 Use with care 19d ago
Automation & Ops

n8n Error Handling

Make n8n workflow failures routable, visible, and recoverable.

★ 6.4k FS 53 Use with care 19d ago
Automation & Ops

n8n AI Agent Architecture Guide

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

★ 6.4k FS 50 Use with care 19d ago
Automation & Ops

n8n Subworkflow Architect

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

★ 6.4k FS 49 Use with care 19d ago
Dev & Engineering

n8n AI Code Tool Guide

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

★ 6.4k FS 54 Use with care 19d ago
Dev & Engineering

n8n Python Code Node Guide

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

★ 6.4k FS 49 Use with care 19d ago
Dev & Engineering

n8n JavaScript Code Node Guide

Write reliable, efficient JavaScript for n8n Code nodes.

★ 6.4k FS 47 Use with care 19d ago
Automation & Ops

n8n Workflow Architecture Patterns

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

★ 6.4k FS 40 Not recommended 19d ago
Automation & Ops

n8n Multi-Instance Targeting

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

★ 6.4k FS 51 Use with care 19d ago
Automation & Ops

n8n MCP Workflow Router

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

★ 6.4k FS 50 Use with care 19d ago
Automation & Ops

n8n Node Configuration Guide

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

★ 6.4k FS 46 Use with care 19d ago
Automation & Ops

n8n Validation Expert

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

★ 6.4k FS 46 Use with care 19d ago
Automation & Ops

n8n MCP Tools Expert

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

★ 6.4k FS 45 Not recommended 19d ago
Automation & Ops

n8n Self-Hosting Deployment

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

★ 6.4k FS 46 Use with care 19d ago

Related skills