The problem
n8n Extract Node Not Working in Subworkflow - Binary File Data Lost When Passed Through Execute Sub-Workflow Node
I’m experiencing an issue where the Extract node fails to process binary file data within a subworkflow when the file is passed via the “Execute Sub-Workflow” node. The binary data is sent in the correct n8n format with all required fields (mimeType
, fileType
, fileExtension
, data
, fileName
, fileSize
), but the extraction fails silently.
Key Problem Details:
Works: Extract node functions correctly when testing subworkflow independently using “Testing n8n sub-workflow” trigger
Fails: Extract node produces no output when subworkflow is executed via “Use case (When executed by another workflow)” trigger
- Binary data format used: Standard n8n binary object with mimeType, fileType, fileExtension, data, fileName, fileSize
Attempted Solution - “Include Other Input Fields” Method: During research, I discovered that when using Extract nodes after intermediate processing nodes (like Set, Code, or other transformation nodes), you must enable “Include Other Input Fields” in those nodes to preserve binary data.
However, this solution doesn’t work for subworkflows. Even when all Set nodes within the subworkflow have “Include Other Input Fields” enabled, the Extract node still fails when the binary data comes from a parent workflow via the Execute Sub-Workflow node.
Root Issue:
How to properly pass and extract binary file data in n8n subworkflows when called by parent workflows? This workflow pattern should be fundamental for modular n8n automation design.
What is the error message (if any)?
No explicit error message. The Extract node executes but produces no output and no error - it simply fails silently to extract the file content. This makes debugging particularly challenging.
Please share your workflow
Main Workflow (calls subworkflow):
Sub-Workflow (contains Extract node):
Information on your n8n setup
- n8n version: 1.99.1
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on Railway.com (docker.n8n.io/n8nio/n8n)
- Operating system: Linux
Tags: #n8n #subworkflow #extract-node binary-data #file-processing #execute-sub-workflow #workflow-automation #include-other-input-fields
Related Issues: n8n binary data handling, subworkflow file processing, Extract node limitations, Execute Sub-Workflow node binary data transfer, “Include Other Input Fields” not working in subworkflows