Hi n8n community,
I’ve run into a problem with my automation built around AI Agents and subworkflows.
Scenario:
- I have a main “central” agent (bob) that should collect new e-mail tickets via a sub-agent (ticket-agent) and send a notification to Telegram.
- bob is triggered on a schedule.
- The main agent calls the sub-agent as a tool (Call Workflow Tool or similar).
- Sub-agent uses an Execute Workflow Trigger, so it can be reliably called as a subworkflow/tool from the main agent.
- Sub-agent returns tickets in response module
The issue:
- When the main agent (“bob”) runs in “active” mode (workflow status: active), he fails to get ticket data from the sub-agent.
- All internal executions complete successfully:
- Schedule triggers once (no duplicates),
- Sub-agent fetches and processes tickets (verified in logs/UI),
- Response node in the sub-agent returns correct ticket data.
- BUT:
- The output never reaches the main agent (“bob”) or the Telegram node
-
- Getting notification - There was an error: “The workflow did not return a response”
If I run “bob” manually in debug/test, everything works perfectly:
- The ticket-agent returns the ticket data.
Does anyone have any idea what this could be?
Here workflows