n8n · AI Agent node

A Chat Model sub-node must be connected

Short answer

This n8n AI Agent error displays when n8n tries to execute the node without a Chat Model connected. Click the + Chat Model button at the bottom of the screen when the node is open, or the Chat Model + connector when the node is closed, and pick a Chat Model.

VerifiedLast verified

01Error text

n8n error
A Chat Model sub-node must be connected

02Likely causes

  • No Chat Model is connected to the node.

03How to fix it

  1. Click the + Chat Model button at the bottom of the screen when the node is open, or the Chat Model + connector when the node is closed, and pick a Chat Model.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for n8n work:Open n8n jobsn8n rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.