Describe the problem/error/question
I have a main workflow that triggers multiple sub-workflows that running in parallel , and each agent needs to send a long prompt to an external LLM that’s wrapped in an MCP tool.
**The Challenge:**
- Each MCP call has a 60-second timeout
- The LLM processing takes longer than 60 seconds
- I need the main workflow to wait for all sub-agents to complete before continuing
- Currently, the MCP timeout causes the workflow to fail
**What I’m trying to achieve:**
1. Main workflow triggers several sub-agent workflows
2. Each sub-agent sends a prompt to an external LLM via MCP
3. Wait for all agents to complete (even if they take several minutes)
4. Continue main workflow with all results
**Potential solutions I’m considering:**
- Async callback pattern (immediate response + callback when done)
- Status polling with a loop
- Webhook-based completion notifications
Has anyone successfully implemented long-running MCP calls or agent workflows in n8n?
What’s the best approach to handle timeouts with external LLM services?
what is the best way to trigger few sub workflows in parallel? and collect them after finish?
Any guidance on the recommended pattern for this use case would be greatly appreciated!
main
option 1: sub workflow per task
option 2: sub workflow with n8n Workflow Tool
tool:
Callback Coordinator - to collect all tasks:
Information on your n8n setup
- n8n version: 1.120.4
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system:







