Overview
This lesson is part of the n8n AI Automation - Zero to Hero course, Section: 3. Deep Dive Concepts.
Watch the video above for the full tutorial, or read the written guide below.
How Does n8n Handle Files and Binary Data?
n8n stores files as binary data in a separate binary property on each item, kept apart from the item's JSON. This lets workflows download, read, transform, and upload files like CSVs, PDFs, images, and spreadsheets while still passing structured JSON alongside them.
How to Work With Files in n8n
Use Read/Write Files from Disk to load or save local files, and the HTTP Request node to download or upload them over the web. Convert between formats with Extract From File, which reads a CSV, PDF, or spreadsheet into JSON, and Convert To File, which builds a file from JSON to send onward. Always reference a file by its binary property name so the next node can find it.
Key Takeaways
- Understanding the core concepts covered in this lesson
- Practical, hands-on experience you can apply immediately
- Tips from real-world n8n workflow implementations
Related Lessons
- Lesson 11: How Branching works in n8n Workflows | Smart Automations with Multiple Paths
- Lesson 12: How to Use Merge Node in n8n | Combine Data Like a Pro
- Lesson 13: How to Use Set Node in n8n | Edit Fields Node | Add, Edit, Clean Data
- Lesson 14: How to Use Aggregate Node in n8n | Combine & Summarize Data
- Lesson 15: How to Use Remove Duplicates Node in n8n | Clean Your Data Fast
Next Steps
Continue your n8n journey with the full n8n AI Automation - Zero to Hero course.