n8n-binary-and-data
Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send the image", Merge losing binary, or a CDN for chat images. Covers the $binary vs $json split, reading/writing binary, keeping binary alive across transforms with Merge, the agent-tool binary boundary, and the CDN/URL requirement for chat surfaces.
Pinned to revision 02965226846a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/n8n-binary-and-data/SKILL.md
- skills/n8n-binary-and-data/AGENT_TOOL_BINARY.md
- skills/n8n-binary-and-data/BINARY_BASICS.md
- skills/n8n-binary-and-data/CDN_REQUIREMENT.md
- skills/n8n-binary-and-data/MERGE_FOR_CONTEXT.md
- skills/n8n-binary-and-data/README.md
Every link opens the file at its source, pinned to the revision this page describes.