MyClawn n8n Workflows › AI agent workflows
n8n AI agent template, made for your case
A template shows you how someone else's agent works. Then you spend the evening swapping its tools, rewriting its prompt and finding out why it loops. Describe the agent you need and get that one instead, as a file.
What an n8n AI agent workflow is made of
In n8n the agent is one node with other nodes plugged into it from below. n8n's documentation requires two of them: a chat model and at least one tool.
| Part | Node in n8n | What you decide |
|---|---|---|
| Trigger | Chat Trigger, Webhook, WhatsApp Trigger, Gmail Trigger | Where messages come from |
| Agent | AI Agent (version 3.1 in n8n 2.47.6) | The system prompt: role, rules, what to do when unsure |
| Chat model | A chat model node for the provider you use | Which model, and your own account for it |
| Memory | Simple Memory, or a database-backed memory | How many turns to remember, and per which customer |
| Tools | App nodes used as tools, HTTP Request, Call n8n Sub-Workflow Tool | What the agent is allowed to do, and nothing more |
| Output | Structured Output Parser | The exact fields the next node needs |
A sample: support agent for an online store
Request: "Answer order questions in our website chat. Look up the order by number, answer from our returns policy, hand over to a person in Slack when unsure."
| # | Node | What it does |
|---|---|---|
| 1 | Chat Trigger | Receives each chat message with a session ID |
| 2 | AI Agent: Support agent | Decides whether to answer, look something up or hand over |
| Chat model | Plugged into the agent; your provider account | |
| Simple Memory | Keeps the last 10 turns per session ID | |
| Tool: Look up order | Shopify node as a tool, read-only, by order number | |
| Tool: Returns policy | Reads the policy text from a Google Doc | |
| Tool: Hand over | Posts the conversation to #support in Slack | |
| 3 | Error branch | Error Trigger to Slack: tells you when a run fails |
How the plugged-in nodes are wired in the file:
{
"connections": {
"Chat model": {
"ai_languageModel": [
[
{
"node": "Support agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Conversation memory": {
"ai_memory": [
[
{
"node": "Support agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Look up order": {
"ai_tool": [
[
{
"node": "Support agent",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}Describe your workflow and see it drawn. The preview takes about a minute and needs no signup.
Type what should happen, in plain words, or paste a workflow that is broken. Starter $39/mo · Pro $129/mo. Refund within 14 days if it misses.
Draw my workflowWhen you should not use an agent
An agent chooses its own steps, which costs model usage on every run and makes it harder to predict. If the steps are always the same (form in, row out, message sent), a plain workflow with one AI step for the judgement is cheaper and easier to trust. The preview tells you which one your request needs, and draws that.
- Use an agent when the next step depends on what the person says: support, booking, intake conversations.
- Use a fixed workflow with an AI step when you classify, score, extract or summarise and then always do the same thing.
- Give an agent the fewest tools that do the job, and read-only ones where you can.
What you connect yourself
The file never contains keys. In your n8n you connect the chat model account and each app the agent uses; the setup guide lists them one by one. The model's usage is billed by that provider to you. On n8n Cloud each run of the workflow counts as one execution on your plan (Starter includes 2.5K a month at 20 euros a month billed annually, per n8n's pricing page on Nov 13, 2026).
Questions
Can the agent use my own documents?
Yes. Say where they live (Google Docs, Drive, Notion, a website) and the workflow reads them as a tool or loads them into a vector store, depending on size.
Which chat model does it use?
The one you ask for. If you do not say, the workflow is built so the model node can be swapped in one click, and the setup guide explains how.
Will the agent make things up?
It can, like any model. The prompt tells it to answer only from its tools and to hand over when unsure, and the structured output keeps what it returns in a fixed shape. Test it with the pinned data before it talks to customers.
Type what should happen, in plain words, or paste a workflow that is broken. Starter $39/mo · Pro $129/mo. Refund within 14 days if it misses.
Draw my workflowMore about n8n Workflows
Sources (checked 2026-11-13): docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-la · n8n.io/pricing/ · www.npmjs.com/package/n8n