AI Agent Tool (v3) executing workflow tools twice after n8n update
After updating n8n yesterday, my workflows using AI Agent Tool are executing the connected tools twice simultaneously.
What is the error message (if any)?
Setup:
-
Main agent: AI Agent v3 (orchestrator)
-
Sub-agent: AI Agent Tool v2.2 (called as a tool)
-
Memory: Redis Chat Memory connected to the sub-agent
Problem: When the orchestrator calls the sub-agent tool, the workflow tool executes 2 times at the same moment with identical parameters, creating duplicate records in my database with milliseconds of difference.
Please share your workflow
Main Workflow: Orchestrator (AI Agent v3)
└── calls → Sub-agent (AI Agent Tool v2.2)
└── executes → Workflow Tool (get_create_request)
└── creates record in Supabase
Result: 2 identical records created instead of 1
Share the output returned by the last node
The workflow tool returns success twice, creating 2 identical database records with the same client_id but different request_id values, created milliseconds apart.
Information on your n8n setup
-
- n8n version: 2.4.8
- Database (default: SQLite): PostgreSQL (Supabase)
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: Cloud