Ok, in the second workflow for the starting node, When Executed by Another Workflow, if you select the option Define using JSON example, does it show the JSON Example input field.
Hi it did get me the workflow inputs but it did not have the Specify Input Schema. if I input all the “html” coding/wording from the youtube tutorial in there would it work? Here’s the screenshot and error that I’m getting.
“errorMessage”: “The sub-workflow (hQg8K76MbddrtQsW) cannot be called by this workflow”,
“errorDetails”: {},
“n8nDetails”: {
“time”: “2/23/2025, 5:47:49 PM”,
“n8nVersion”: “1.79.3 (Cloud)”,
“binaryDataMode”: “filesystem”,
“cause”: {
“description”: “The sub-workflow you’re trying to execute limits which workflows it can be called by. You will need John Tr to update the sub-workflow (hQg8K76MbddrtQsW) settings to allow this workflow to call it.”
}
}
}
the video you mentioned is running on an old version of the sub-workflow tool. By now, you can define the data you expect in your sub-workflow so that you can directly use it in your tool. In your case you can define your sub-workflow like this:
In the main workflow, you can call the tool simply like this:
your inputs look fine now. Instead of “Your raw HTML” you want to input the actual HTML value there.
Your error is a different one here though (which is also in older versions). It seems like your sub-workflow tool is not set up to be called by other workflows. To fix this, go to your sub-workflow, move to the settings at the top right of the screen and change the “This workflow can be called by” option