Guide / Tutorial

Build an AI Customer Support Bot in n8n Without Code — Plus an Invoice Agent and an Inbox Agent

n8n can now build a working customer support chatbot from a single plain-English prompt: a chat trigger, an AI agent, a Gemini model, memory and a tool that reads the company's website. This guide walks through that bot step by step, then builds two more beginner agents — a scheduled invoice reminder in Zapier and a Gmail assistant in n8n — and shows the recipe all three share.

n8nThis guide is about n8n.
Build an AI Customer Support Bot in n8n Without Code — Plus an Invoice Agent and an Inbox Agent

A step-by-step guide to three beginner AI automations on free plans: a customer support chatbot that n8n builds from one prompt and that answers only from a company’s own website, a Zapier agent that emails invoice reminders on a schedule and updates the spreadsheet, and an n8n Gmail agent that reads, sorts and drafts replies but never sends on its own.

Reading map

  • The recipe — the five steps every beginner automation follows (section 1).
  • Project 1: a customer support bot in n8n — from one prompt to a published chat URL, including its limits and its cost per answer (sections 2 to 8).
  • Project 2: an invoice reminder agent in Zapier — a schedule, three tools in the right order and two approval stops (sections 9 to 14).
  • Project 3: an inbox manager in n8n — a Gmail agent that searches, sorts, flags and drafts, while you keep the send button (sections 15 to 19).
  • The three projects side by side, a final perspective, a quick reference and a FAQ.

The Recipe

1. Five steps, three times

AI automation sounds technical, but none of the three projects below needs a line of code. Each one follows the same five steps:

  1. Describe the job in plain words, the way you would brief a new employee — including what it must never do.
  2. Let the builder wire it up. n8n and Zapier both turn a prompt into a working agent with a trigger, a model and tools.
  3. Test it with real questions before anyone else sees it.
  4. Keep a human check on anything that leaves the building: an email to a customer, a change to a spreadsheet, a reply sent in your name.
  5. Publish it, so it runs on its own or sits behind a link.
The pattern behind all three projects
The pattern behind all three projects

Project 1 — A Customer Support Bot in n8n

2. The job: answer customers only from the company’s own site

The example business is Swiggy, the Indian food delivery and grocery app. (The bot is a course demo, not Swiggy’s own.) An app like that gets the same questions all day: which offers are running, how refunds work, what the grocery service Instamart sells. A bot can answer them — but only if it sticks to what the company itself publishes. A support bot that invents a refund rule is worse than no bot.

3. Sign up and open the n8n Assistant

Go to the n8n website, click Get Started and sign in with Google. You land on n8n Cloud’s free trial; in the recording the banner reads 14 days left and 0/1000 executions, and no card is needed for anything in this project.

The first screen is the n8n Assistant, with a single question: “What do you want to automate?” Instead of dragging nodes onto a canvas, you answer in plain English.

The n8n Assistant's first screen: describe the automation instead of building it by hand
The n8n Assistant’s first screen: describe the automation instead of building it by hand • 00:04:25

4. The prompt

The prompt used in the course is short:

Create a simple AI Customer Support Chatbot for Swiggy using n8n.
The chatbot should answer customer questions based on information
available on Swiggy's official website (www.swiggy.com).

While typing it, add what the bot has to cover: Instamart, payments, cancellations, refunds and offers; a basic memory of the conversation; and answers in both Hindi and English. The single most important line is the restriction: answer from the official website, not from outside sources. That is what keeps the bot from making things up.

The prompt in the Assistant: one sentence about the job, one about where answers must come from
The prompt in the Assistant: one sentence about the job, one about where answers must come from • 00:05:00

5. What n8n builds

After a short “thinking” phase the Assistant creates the whole workflow:

Part Node in the workflow What it does
Trigger Customer Chat Receives each customer message
Agent Swiggy Support Agent Decides what to do with the message
Model Google Gemini Chat Model Writes the answer
Memory Conversation Memory Remembers earlier messages in the same chat
Tool read_swiggy_page Fetches and reads pages from swiggy.com
The workflow n8n generated: chat trigger, support agent, and the model, memory and website tool underneath
The workflow n8n generated: chat trigger, support agent, and the model, memory and website tool underneath • 00:06:30

6. Read the limits before you trust it

The Assistant also explains what the bot cannot do, and it is worth reading that list before you show the bot to anyone:

  • Help-centre FAQs are not included. Swiggy’s help pages need a login, so delivery and payment answers come from the terms and policy pages instead.
  • No order lookups. The bot cannot see customer orders or accounts, so it points order-specific questions to the app.
  • Long pages get cut off. It reads only the first 30,000 characters of any page; anything past that point is missed.
The Assistant's own list of limits: no help-centre FAQs, no order lookups, long pages cut at 30,000 characters
The Assistant’s own list of limits: no help-centre FAQs, no order lookups, long pages cut at 30,000 characters • 00:06:40

7. Test it with real questions

Click Open chat under the canvas and ask what a customer would ask.

Test 1 — “What are the discount offers currently going on in Swiggy?” The agent reads the site and answers in Hinglish, the mix of Hindi and English many customers type: buy-one-get-one offers at popular restaurants, combo meal deals, restaurant-specific deals, bank and wallet offers — and a note that offers vary by location and restaurant. The run took about 20 seconds.

Test 2 — the refund policy. The answer lists when an order can be cancelled, when a refund is given, how Instamart refunds work and how long they take. It also warns that cancelling after an order has been placed can cost the full amount.

Test 3 — the most popular products on Instamart. Fresh produce, snacks and cold drinks, each pulled from the site.

Test 1 in the chat panel, with the run's log on the right
Test 1 in the chat panel, with the run’s log on the right • 00:09:05

The logs show how each answer was produced. For the first question the agent looped through memory, Gemini and the page-reading tool several times, and the run used close to 100,000 tokens (the log shows 99,996). That is fine on a trial, but it is the number to think about before you put a paid model behind a busy support bot.

The log of one answer: the agent loops through memory, Gemini and read_swiggy_page again and again
The log of one answer: the agent loops through memory, Gemini and read_swiggy_page again and again • 00:08:55

Click Publish, give the version a name, describe the change, and confirm. n8n publishes the workflow and gives you a URL for the chat — a link you can put on a website or share with customers. Nothing in the whole project required code.

Publishing the workflow: a version name and a short description of the change
Publishing the workflow: a version name and a short description of the change • 00:15:12
Recap of project 1: trigger, agent, model, memory, one trusted source
Recap of project 1: trigger, agent, model, memory, one trusted source

Project 2 — An Invoice Reminder Agent in Zapier

9. The job: chase unpaid invoices every day

Every business has customers who forget to pay. Someone has to check the list, email each one an invoice and a reminder, and note that it was done so nobody gets the same email twice. That is a perfect job for an agent: repetitive, rule-based, and easy to check.

10. Zapier’s free plan and a custom agent

Sign up for Zapier‘s free plan with Google; the sidebar in the recording shows 400 activities a month. Open Agents and create your first agent. Zapier offers templates for sales and support, but this one is built from scratch with a prompt.

Zapier Agents: start a new agent from a template or describe your own
Zapier Agents: start a new agent from a template or describe your own • 00:19:45

11. The prompt

The prompt, redrawn from the screen:

You are an accounts receivable assistant for the Alpha Company.
Every afternoon at 2 PM, check the invoice spreadsheet in Google Sheets.
Look for any rows where:
- The "Status" column is "Unpaid"
- The "Due Date" is before today's date
For each overdue invoice, send a polite payment reminder email to the
customer at the address in the "Customer Email" column. Include:
the customer's first name, the invoice number, the amount owed,
the original due date, and the payment link from the "Payment Link" column.
Use a friendly and professional tone. After sending each email, update
the "Reminder Sent" column with today's date.
If no invoices are overdue, do nothing.

Notice the five rules hidden in it: when (daily at 2 PM), who (unpaid and past due), what (a polite reminder with five details), then (mark the row) and else (do nothing). Click Create agent, choose the Gmail account it should send from, and Zapier expands the prompt into numbered instructions.

12. The spreadsheet

The sheet has one row per invoice: customer name, customer email, invoice number, product, amount, due date, status, payment link and an empty Reminder Sent column. In the demo, invoices INV-1001 to INV-1014 are paid; INV-1015, $37.15, due 2026-07-31, is unpaid.

The invoice sheet: fourteen paid invoices and one unpaid, with an empty Reminder Sent column
The invoice sheet: fourteen paid invoices and one unpaid, with an empty Reminder Sent column • 00:21:30

13. Schedule and tools

The trigger. Open the trigger settings (“Schedule by Zapier: Every Day”) and set:

Setting Value
Time of day 2:00 PM
Trigger on weekends No
Timezone override Asia/Kolkata
The schedule trigger: every day at 2:00 PM, not on weekends, in the Asia/Kolkata time zone
The schedule trigger: every day at 2:00 PM, not on weekends, in the Asia/Kolkata time zone • 00:23:05

The tools. The agent needs three, added with Add tool or by typing a slash in the instructions:

Tool Used for
Google Sheets: Lookup Spreadsheet Rows (Advanced) Reading the invoice sheet
Gmail: Send Email Sending the reminder; the agent writes the body
Google Sheets: Update Spreadsheet Row(s) Writing the date into Reminder Sent

Then comes the step that makes the agent reliable: drag each tool into the sentence of the instructions where it is used. The lookup goes next to “open the spreadsheet”, Gmail next to “send the reminder”, the update next to “update the Reminder Sent column”. The order of the work is now written into the instructions themselves.

Tools placed inside the numbered instructions, right where each step uses them
Tools placed inside the numbered instructions, right where each step uses them • 00:25:40

14. Test with two approval stops

Open Agent preview and click Test agent. The agent reads the sheet and finds exactly one overdue invoice. It writes the email itself — subject “Payment Reminder: Invoice INV-1015 is Overdue”, a polite note with the amount, the due date and the payment link — and then stops and asks for approval.

After you approve, the email is sent and arrives in the customer’s inbox. The agent then asks a second time before it changes the sheet. Approve again, refresh, and the Reminder Sent cell for INV-1015 now reads 2026-08-02. Publish version 1 and the agent runs every weekday at 2 PM on its own.

Agent preview: the test run reads the sheet and prepares the reminder before asking for approval
Agent preview: the test run reads the sheet and prepares the reminder before asking for approval • 00:27:40
After the second approval the Reminder Sent column has a date
After the second approval the Reminder Sent column has a date • 00:31:02

Project 3 — An Inbox Manager in n8n

15. The job: know what matters, write replies, never send alone

Students, freelancers, employees and business owners all lose time sorting email. The goal of the third project is an agent that tells you what matters and drafts replies — while you keep the send button.

16. The agent builder and the model

This time the course uses n8n’s agent builder (“What should your agent do?”), with Build, Knowledge, Sessions and Settings tabs. The agent is named “n8n Agent for mails” and later renamed Gmail Email Manager. The model list includes OpenAI, Anthropic and Gemini models; the recording uses Claude Sonnet 5.

n8n's agent builder: describe the agent on the left, its model and instructions appear on the right
n8n’s agent builder: describe the agent on the left, its model and instructions appear on the right • 00:36:20

17. The prompt

In plain words, the prompt asks the agent to:

  • connect to my Gmail;
  • read and summarize my unread mail;
  • sort it into categories such as personal, spam and promotions;
  • point out the emails that need an urgent reply;
  • suggest replies, but never send anything — save each reply as a draft in Gmail so I can check it and send it myself.

18. Credentials, tools and safety rules

n8n asks for Gmail credentials: click set up and sign in with Google. The agent’s capabilities then list four Gmail tools — search emails, read email, read thread and create draft. There is no send tool at all, so the approval rule is built into the agent, not merely written into the prompt.

The generated instructions add more safety rules: ask before any action that changes the mailbox (including creating a draft), and never repeat confidential information such as passwords, one-time codes, bank or ID numbers — mask them instead. Skills, session memory and web search can be added later; web search stays off.

The agent's Gmail tools: search, read, read thread and create draft — no send
The agent’s Gmail tools: search, read, read thread and create draft — no send • 00:40:40

19. Test: search, summarize, flag, draft

“How many marketing emails came in over the last 120 days?” The agent searches and reports 25 promotional emails — mostly Skyscanner travel deals (19 of them), plus a few from Hostinger and Google Gemini.

The agent's answer: 25 promotional emails in 120 days, grouped by sender
The agent’s answer: 25 promotional emails in 120 days, grouped by sender • 00:42:32

“What are my last five unread emails?” A short overview of each. “Which unread emails need a quick reply?” The agent sorts them by urgency and explains why: two security alerts and a data-sharing notice are flagged because unrecognized sign-ins could mean unauthorized access.

Why emails were flagged urgent: security alerts first
Why emails were flagged urgent: security alerts first • 00:43:30

A real task. “Write to a client and ask whether we can meet on Google Meet on November 30.” The agent drafts a polite email — subject “Meeting Request – November 30 via Google Meet” — shows it, and asks before saving it. After a yes, the draft appears in Gmail. Asked to send it, the agent explains that its job was the draft, not the send. In one reported run, the draft was then sent by hand from Gmail and the agent was asked to check; it confirmed the email went out, and it arrived.

The draft task: the agent writes, asks, and saves — sending stays with you
The draft task: the agent writes, asks, and saves — sending stays with you

Publish the agent with a version name and it is ready for daily use.

The Three Projects Side by Side

Ingredient Support bot (n8n) Invoice agent (Zapier) Inbox agent (n8n)
Trigger A chat message A daily schedule (2 PM, weekdays) Your own question
Model Google Gemini Zapier’s agent Claude Sonnet 5
Tools Website page reader Sheets lookup, Gmail send, Sheets update Gmail search, read, read thread, draft
Memory The conversation The Reminder Sent column The session
Human check Answers only from the official site Approval before email and before sheet update No send tool; you send
Output A public chat URL Reminder emails + updated sheet Summaries and Gmail drafts
Three agents, one recipe
Three agents, one recipe

Final Perspective

The interesting part of these projects is not that the builders write workflows for you — it is where the course puts the limits. The support bot is useful because it is restricted to one trusted source, and because the Assistant is honest about what it cannot read. The invoice agent is safe because the order of its work is pinned to its instructions and it stops twice for approval. The inbox agent is trustworthy because it physically cannot send.

That is the habit to copy. Start with one question your customers ask every day, or one reminder you send every week. Write the job down like a brief for a new employee, including what it must never do. Let n8n or Zapier build version one, read its limits, test it with real questions, check the logs for cost, and only then publish.

Quick Reference

Task Where
Build a workflow from a prompt n8n Assistant: “What do you want to automate?”
Test a chat bot Open chat under the canvas
See why an answer happened Logs panel: each memory, model and tool call
Publish a workflow Publish → version name + description → URL
Create a Zapier agent Agents → New agent → custom or template
Run on a schedule Trigger: Schedule by Zapier → time, weekends, time zone
Add a tool Add tool, or type / in the instructions; drag it into the step that uses it
Test a Zapier agent Agent preview → Test agent; approve each action
Build an n8n agent Agent builder: name, model, instructions, tools
Connect Gmail Set up credentials → sign in with Google

FAQ

Do I need to know how to code to build these automations?

No. All three agents in this guide are built from plain-English prompts. n8n’s Assistant and agent builder and Zapier Agents generate the workflow, the instructions and the tool connections; you only test, adjust and publish.

Is n8n free?

n8n Cloud starts with a free trial; the recording shows 14 days and 1,000 executions. n8n can also be self-hosted. Zapier’s free plan in the recording includes 400 activities a month. Limits change, so check the current plans.

How do I stop a support bot from making things up?

Restrict it in the prompt to one trusted source, such as the company’s official website, and give it a tool that reads only that source. Then read the builder’s own list of limits — in the demo, pages behind a login and anything past the first 30,000 characters of a page were out of reach.

Can an AI agent send emails on its own?

Only if you let it. The Zapier agent asks for approval before every email and every sheet update; the n8n inbox agent has no send tool at all and saves replies as Gmail drafts.

Why did one answer use so many tokens?

The agent loops: it reads its memory, asks the model, fetches a page, and repeats until it has an answer. One offers question used close to 100,000 tokens. Check the logs before you connect a paid model to a busy bot.

Further Reading

  • On AIBotRadar: guides to AI agents, n8n and other workflow automation tools.
  • n8n and Zapier documentation for chat triggers, agents, schedules and Gmail credentials.

The Swiggy bot is a demo, not an official Swiggy product. Plans, limits and menus change often. Give agents access to email, customers or money only with approval steps you are comfortable with.

n8n GUIDES

More n8n guides

Continue with practical guides about n8n.

View all AI Agents guides