Hi everyone
We’ve been working on a workflow setup using the AI Agent node (Tools Agent mode), and we’re running into a persistent issue:
Problem:
No matter what we do, the AI Agent always defaults the input source of downstream nodes (e.g. Google Calendar) to the wrong upstream node – specifically, our OpenAI audio transcription node.
Even when the correct tool is selected (e.g. createCalendarEvent
), and the correct tool output is returned (clean JSON, no markdown, well-structured), n8n still binds the following tool node (Google Calendar) to the wrong source (OpenAI1
), instead of the Tool Output of the AI Agent.
We’ve:
- Tried deleting and recreating connections
- Reconnected the correct Tool Output (the small round port at the bottom)
- Disabled audio nodes
- Even removed the entire OpenAI transcription node → Then it works
→ But once we reintroduce the OpenAI node, the AI Agent’s Tool Output is again ignored
Setup (simplified):
scss
KopierenBearbeiten
Telegram → Switch → OpenAI Transcription → AI Agent (Ally)
↓ (Tool Output)
Google Calendar Node (createCalendarEvent)