AI Agent always defaults to wrong input node (ignores Tool Output source)

Hi everyone :wave:

We’ve been working on a workflow setup using the AI Agent node (Tools Agent mode), and we’re running into a persistent issue:

:boom: 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 :white_check_mark:
    → But once we reintroduce the OpenAI node, the AI Agent’s Tool Output is again ignored :x:

:hammer_and_wrench: Setup (simplified):

scss

KopierenBearbeiten

Telegram → Switch → OpenAI Transcription → AI Agent (Ally)
                                 ↓ (Tool Output)
                          Google Calendar Node (createCalendarEvent)

Could you ctl a, ctl c the workflow, click the ‘</>’ button on the forums when drafting a reply and paste the workflow into the field that appears? Will help with context. Thanks.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.