Hi, I need some suggestion about workflow. I build agents. then agent will call workflow and workflow will call webhook in n8n. but i cant know where is the parameter name from agent to workflow. As I know.
Our main workflow
chat on agent> when meet condition> agent call workflow > workflow send data to n8n > n8n > n8n do…something
My problem
I can’t found parameter when result of chat was sent via workflow.
Our step.
- agent will return text message and call workflow,
- workflow have input field (which i dont know what parameter to use.),
- workflow call api as parameter in input field.,
So anyone, can you suggest where to learn about parameter or document when agent call workflow? Best regard
Hi,
When an Agent calls a Workflow, the Agent will automatically decide what values to pass into the Workflow based on the Input Fields you’ve defined in the Workflow.
So the best practice is to:
Clearly name and describe each Input Field in your Workflow, so the Agent understands what data it should provide.
You can also add extra instructions inside the Agent Prompt, telling it what kind of inputs to provide for each field, depending on the use case.
For any field that always has the same value, you can set a Default Value in the Workflow config, and guide the Agent not to override it in the prompt.
There’s no fixed “parameter name” list — it’s all driven by how you set up the Workflow Inputs and how well the Agent understands what to send.