AI agent · by n8n
n8n AI Agent
Build your own agent that connects to Gmail, Sheets, WhatsApp and 400+ apps.
- Free to start
- 🇮🇳 Works in India
- Technical setup
- Price:
- Free if you host it yourself. Cloud from €20/mo.
- Best for:
- Small businesses that want an agent to answer leads, sort email or update sheets automatically.
- Watch out:
- Self-hosting means your computer or server must stay on for the agent to run.
How n8n AI Agent works
- You draw a workflow: a trigger (new email, form, message) followed by an AI Agent block.
- The AI Agent block uses a model you connect (OpenAI, Gemini, Claude or a free local one).
- You give the agent tools, such as “read this sheet” or “send a WhatsApp”, and it decides when to use them.
- The workflow runs on its own whenever the trigger fires.
How to set up n8n AI Agent
- 1Easiest free start: install Node.js, then run npx n8n in a terminal and open localhost:5678.
- 2Create a new workflow and add a trigger, for example Chat Trigger.
- 3Add the AI Agent node and connect a model with your API key (Gemini has a free tier).
- 4Add a tool node, for example Google Sheets, and connect your account.
- 5Test it in the chat panel, then switch the workflow to Active.
Checked 15 Nov 2026 on the official site.