Describe the problem/error/question
How to pass binary data to subworkflow in n8n V2? The subworkflow can get binary data in n8n V1 by “When executed by another workflow“node. However, when I update n8n to V2. This node only receive a normal binary object, not binary.
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
{
“binary_data”: {
“data”: {
“mimeType”: “image/jpeg”,
“fileType”: “image”,
“fileExtension”: “jpg”,
“data”: “filesystem-v2”,
“id”: “filesystem-v2:workflows/xxxx”,
“fileSize”: “235 kB”,
“fileName”: “file.jpg”
}
}
}
Information on your n8n setup
- n8n version: 2.0.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
- Operating system:
{
“nodes”: [
{
“parameters”: {
“workflowInputs”: {
“values”: [
{
“name”: “binary_data”,
“type”: “any”
},
{
“name”: “parent_type”
},
{
“name”: “bitable_token”
},
{
“name”: “app_id”
},
{
“name”: “app_secret”
}
]
}
},
“type”: “n8n-nodes-base.executeWorkflowTrigger”,
“typeVersion”: 1.1,
“position”: [
-1760,
336
],
“id”: “eb331093-82a1-4669-9c8f-38f45c0258bc”,
“name”: “When Executed by Another Workflow”
}
],
“connections”: {
“When Executed by Another Workflow”: {
“main”: [
]
}
},
“pinData”: {},
“meta”: {
“instanceId”: “957172509030a6b798c78b540f566a645f43a41466885ede0d24b4b3132556fd”
}
}
This is my “When Executed by another workflow” node
Hello Helios_Shao!
I have tried to use execute sub workflow and it works, just use expression in the image column that you want to send and enter {{binary.data}}
Hope this will be works for you! 
1 Like
Thank you for your reply, I have tried again. It works.
I understand the key is that if I want to pass binary to subworkflow. the node that output binary must directly connect with “Call subworkflow“ node
nice, great job, then can you mark my answer as the solution pls?