Problem description
I have a main flow that receives a question from a user. The AI Agent needs to query a list of items using a Tool. And that’s where my problem lies: the AI query doesn’t seem to be passing parameters to the sub-workflow. There’s also something strange in the sub-workflow: in the design I specified the parameters to receive, but they don’t appear during execution.
I’ll give details below.
Main workflow
Sub-Workflow (Consulta PP no Supabase)
UI input other than JSON
In my PP Query node, which is in the AI Tool, there’s a yellow box in the Parameters tab, right at the bottom, that says: “This sub-workflow will not receive any input when called by your AI node. Define your expected input in the sub-workflow’s trigger.”
The strange thing is that in the sub-workflow I defined the parameters:
How do I get the AI to understand the parameters desired by the sub-workflow and pass them? Or is the problem with the Tool node, which failed to identify the sub-workflow parameters?
n8n version: 2.1.3


