Hello
I have an agent that calls several tools “sub-workflows.”
How can I ensure that the sub-workflow receives exactly the data structure it expects?
--- EDIT : Solved ---
Points to note:
- in the “When Executed by Another Workflow” node, prefer a fixed mapping rather than “accept all data.”
- An AI agent does not know how to pass an array as a parameter to a “call n8n workflow” tool; use strings instead.
- Be aware of case sensitivity.