I’m creating a multi-agent system in n8n.
Basically, I have an orchestrator agent and 5 other AI agents (tools).
In the AI Agent tools, I set the prompt to “Defined automatically by the model”.
The problem is that sometimes the orchestrated agent returns:
{{ $fromAI(‘Prompt__User_Message_’, , 'string') }} and other times {{ $fromAI('Prompt__User_Message', , ‘string’) }}
Then the node agent (tool) ends up receiving an empty prompt.
What could be happening?