Hi n8n community,
I’m having trouble with the AI Agent node when using tools that require multiple iterative calls during a conversation with a human.
Scenario:
-
I have an AI Agent configured to collect several pieces of information from a user.
-
It also invokes one or more tools to process data or guide the conversation.
-
Some tools may be invoked multiple times as part of the iterative interaction.
Problem:
-
After each tool invocation, the AI Agent immediately emits an output and triggers the workflow’s next node.
-
This happens even if the conversation isn’t complete and required information is still missing.
-
As a result, the workflow proceeds prematurely, before all iterations and human interactions are finished.
What I expect:
-
The AI Agent should wait until the full conversation and all tool calls are completed before emitting its output.
-
Only then should the workflow continue to the next node.