Chatbot script templates for an AI agent, step by step

Chatbot script templates for an AI website chatbot: the words for each of 7 steps, from a greeting with an AI disclosure to a handoff summary and a closing with a rating. Plus the flow block for the agent's instructions, 12 tests, a filled example, Word and Excel.

1. Greeting: AI disclosure, scope and suggested replies

Disclose first

This chatbot script template starts with the one message you write word for word: the greeting. It holds an AI disclosure in the first sentence, what the agent can do, who takes over, and one open question with 3 or 4 suggested replies. Who the agent is belongs in the AI agent persona guide.

First message (fill in)Hi, I'm bot name, the AI assistant for business. I can help with task 1, task 2 and task 3, and name from our team takes anything I can't. What can I help with?

Suggested replies (3 or 4 buttons)Most asked question, 2 or 3 words
Book or get a quote
Second most asked question
Talk to a person

Variant: most chats arrive after hoursHi, I'm bot name, the AI assistant for business. I answer questions about tasks at any time. Our team is in days and hours and replies to anything I can't answer. What can I help with?

The visitor's first message

If the visitorThe agent
Asks a full questionAnswers it at once. No second greeting.
Only says "hi""Hi! What can I help with? For example option 1, option 2 or something else."
Asks "Are you a real person?""No, I'm an AI assistant. Name from our team can take over. Shall I pass you to them?"

Why the disclosure goes firstIn the EU, from 2 August 2026, people must be told they are dealing with an AI system at the latest at the first interaction, unless it is obvious1. In California, a bot must not mislead people about its artificial identity to make a sale2.

Never

  • Never give the bot a human name or photo without "AI assistant" in the same sentence.
  • Never open with a menu only: a visitor with a real question must be able to type it.
  • Never show more than 4 suggested replies.

For small sales and support teams

Your script goes into the bot editor. Try Bot tests it.

In CRMsoftware.pro, the greeting goes into First Message, the buttons into Suggested Replies, the flow into Instructions and your prices into the Knowledge Base. Collect User Data, Require privacy acknowledgment and Satisfaction Ratings sit in the same editor.

  • First Message, Suggested Replies and Instructions
  • Every step tested in Try Bot before it goes live
  • Handover to Live Support from Launch, $19 a month billed yearly

Free plan: 3 users, AI chat, no credit card.

Filled example

A cleaning company's chatbot script, from greeting to rating

How this chatbot script template runs in a real chat. Fairmoor Home Cleaning, a fictional company in San Jose, California, passed all 12 tests on 1 October 2026 and went live the next day. On Tuesday 6 October, Dana asked about a deep clean, booked one through the link and got a move-out quote from Rosa.

Fairmoor Home Cleaning, website chatFictional company and customer
AI agentHi, I'm Fern, the AI assistant for Fairmoor Home Cleaning. I can help with prices, our service area and booking, and Rosa from our office takes anything I can't. What can I help with?
VisitorHow much is a deep clean for a 3 bedroom, 2 bath house in 95126?
AI agentA deep clean for 3 bedrooms and 2 bathrooms is $330, from our price list: fairmoor.example/prices. 95126 is in our area. Is this for the home you live in, or a move-out clean?
VisitorBoth! A deep clean at my new place, and a move-out clean at my old apartment.
AI agentYou can book the deep clean yourself: fairmoor.example/book. It's booked when the booking page confirms it by email. For the move-out, Rosa sends a quote. How many bedrooms and bathrooms does the old apartment have?
VisitorBooked Saturday 10 October at 9:00, got the email. The old place is 1 bed, 1 bath in Santa Clara. Keys go back on Friday 16 October.
AI agentGreat, Saturday 10 October at 9:00 it is. For the move-out quote, Rosa needs your name and an email or phone number. We use them only to reply about this request. Privacy policy: fairmoor.example/privacy. Is that OK?
VisitorSure. Dana Whitfield, dana.w@example.com
AI agentThanks, Dana. Here's what I'm passing to Rosa: move-out clean, 1 bed, 1 bath, Santa Clara, keys back Friday 16 October, quote by email to dana.w@example.com. Is that right?
VisitorYes, that's right.
AI agentThanks. Rosa replies here within 15 minutes during office hours. If you leave, she answers by email. Nothing is booked for the move-out yet.
Awaiting agent at 10:11, claimed by Rosa at 10:15
Rosa (office)Hi Dana, Rosa here. A move-out clean for an empty 1 bed, 1 bath apartment is $210, oven and fridge included. We can do Thursday 15 October from 13:00. I've emailed you the quote and a link to book it.
VisitorPerfect, thank you!
Rosa (office)You're welcome! To recap: deep clean on Saturday 10 October at 9:00, and the move-out quote is in your email. Thanks for choosing Fairmoor. You can rate this chat when it ends.

The script, step by step

GreetingAI disclosure first; buttons: Prices, Book a clean, Move-out cleaning, Talk to a person
Answer$330, the price list link, one question
Qualifying2 questions; Dana gave the date herself
BookingLink sent; Saturday 10 October, 9:00, confirmed by email
Lead capturePurpose and privacy link, then name and email
HandoffSummary checked by Dana; Rosa in 4 minutes
ClosingRecap by Rosa; rated 5 stars

What lands in the app and the CRM

BookingsDeep clean, Saturday 10 October, 9:00, Confirmed
Live SupportAwaiting agent 10:11, claimed 10:15, resolved 10:24
LeadsAdded by Rosa: Move-out clean, Santa Clara, $210; Source: Live Chat; Status: In Progress; Assigned To: Rosa
TasksFollow up on the move-out quote; Assignee: Rosa; Deadline: Friday 9 October
Analytics5 stars under Satisfaction

Why it matters

Why an AI chatbot script needs a disclosure, consent and tests

Most chatbot script examples online were written for button bots: a menu, one fixed answer per button and "Sorry, I didn't understand" for anything else. An AI agent writes its own replies, so its script has two parts: the few messages you fix word for word, such as the greeting, and an instruction block with the order of the steps and the rule for each. The 12 tests check both.

The greeting is where the AI disclosure belongs. Under the EU AI Act, from 2 August 2026, AI systems that talk directly with people must be designed so that people are told they are dealing with an AI system, unless that is obvious. The information must be clear and given at the latest at the first interaction1. In California, it is unlawful to use a bot online with the intent to mislead people about its artificial identity in order to deceive them into a purchase or sale; a clear and conspicuous disclosure that it is a bot removes liability under that section2. One sentence in the first message covers both.

Lead capture has rules too. In the EU, the GDPR requires a business that collects personal data from a person to tell them, at that moment, who it is, how to contact it, and why and on what legal basis it uses the data3. So the script names the purpose and links the privacy policy before it asks for a name and an email. This is not legal advice: check the rules where your customers live.

2 Aug 2026

EU AI Act transparency duties for AI that talks with people apply (Article 50)

1 Jul 2019

California's bot disclosure law (BPC 17941, from SB 1001) became operative

12 of 12

script tests must pass before the chatbot goes live (this template's rule)

Examples that fail

Chatbot script examples that fail with an AI agent

Four lines from older chatbot scripts, why they fail, and what to write instead.

"Choose an option: 1 Sales, 2 Support, 3 Billing"

A menu-only greeting makes visitors fit your menu. An AI agent can read any question, so let them type it.

Write insteadHi, I'm bot name, the AI assistant for business. Ask me anything about topics, or tap a button.

"Hi, I'm Jessica! How can I help?"

A human name with no disclosure reads like a person. That is exactly what the EU1 and California2 disclosure rules are about.

Write insteadHi, I'm Jessica, the AI assistant for business. Name from our team takes anything I can't.

"Before we start, what's your email?"

Asking for details before any answer puts a cost on a simple question. Answer first; ask when a quote or a callback needs it.

Write insteadAsk me anything and I'll answer right away. If you need a quote, I'll ask for your contact details then.

"Transferring you to an agent..."

A cold transfer with no name, no reply time and no summary. The visitor repeats everything, or leaves.

Write insteadHere's what I'm passing to name: summary. Is that right? Name replies here within reply time.

"Sorry, I didn't understand" belongs in your fallback scripts: one clarifying question, then a person.

Excel sheets

The chatbot conversation flow map and test log in Excel

Three sheets: Flow map, Test log and Summary. Auto columns fill in by themselves. Opens in Excel, LibreOffice and Google Sheets.

ColumnWhat it holds
Flow map: #, Step, Bot messageOne row per message in your script, from greeting to closing.
Suggested replies, Data collected, Next step, OwnerButtons or options, what the step collects, where the chat goes next, who keeps it up to date.
Status (flow map) AutoReady when the step, next step and owner are filled in; otherwise Incomplete.
Test log: Step, Type this, Pass ifThe 12 tests from tab 8.
Result, Date, Tester, NotesPass or Fail for each run, with what the agent said.
Status (test log) AutoNot run, Passed or Fix and retest.
Summary AutoMessages ready, tests passed per step, and the go-live check: Ready or Not ready.

The sample is Fairmoor Home Cleaning's script: 9 messages in 7 steps, all Ready. Two tests failed on 30 September (an email asked for before the price, and "you're booked" before the confirmation). After two fixes, all 12 passed on 1 October, so the go-live check shows Ready.

How to use

How to use this chatbot script template

  1. 1

    Fill in the brackets

    Names, tasks, sources, 3 questions, links, handoff topics, reply time, office hours.

  2. 2

    Fix the visible text

    Write the greeting and 3 or 4 suggested replies. Read them on a phone.

  3. 3

    Paste the flow

    Tab 8 goes into the agent's instructions, after the persona brief and fallback rules.

  4. 4

    Run the 12 tests

    Log Pass or Fail in Excel. Go live at 12 of 12.

  5. 5

    Read chats every week

    Where visitors stop or repeat themselves, fix that step and retest.

Set it up in CRMsoftware.pro

  1. In My Bots, choose the bot. On the Basics tab, write the greeting in First Message, paste the flow into Instructions (Shared tab) and add your price list and policies to the Knowledge Base.
  2. On the Behavior tab, turn on Quick Replies and add your Suggested Replies. Turn on Satisfaction Ratings for a star rating prompt when the conversation ends.
  3. Optional: Collect User Data (Behavior tab) shows a form before the chat; Name and Email are always collected. Require privacy acknowledgment (Advanced tab) shows your Privacy notice first.
  4. For bookings, open Scheduling > Event Types, click Copy Link and paste the link into the flow block.
  5. Click Save Bot, then Try Bot, and type the 12 tests.
  6. On the Connect tab, turn on Send email notifications. Handed-over chats wait in Live Support as Awaiting agent: Claim, reply, then Resolve.

AI chat, First Message, Suggested Replies, Instructions and Try Bot are on the Free plan: 3 users, no credit card. Human handover in Live Support and bookings with calendar sync come with Launch, $19 a month billed yearly for 8 users.

Completion check: the script is ready when

  • The first sentence of the greeting says AI assistant, and the buttons fit on a phone screen.
  • Every bracket is filled in, and the privacy and booking links open.
  • All 12 tests pass, with the date in the test log.
  • Someone gets the handoff email and knows the reply time.

FAQ

Chatbot script templates: common questions

What is a chatbot script template?

A ready-made set of the messages a chatbot sends at each step of a chat, with placeholders for your business. For an AI agent it has two parts: fixed messages such as the greeting and suggested replies, and an instruction block that tells the agent the flow. This page has 7 steps, the block and 12 tests.

How do I write a chatbot script for an AI agent?

Write word for word only what must never change: the greeting with the AI disclosure and the suggested replies. For the rest, write one rule per step, as in tab 8, then test it with real visitor messages.

What should a chatbot say first?

Who it is, what it can do and who takes over, then one open question. For example: "Hi, I'm [bot name], the AI assistant for [business]. I can help with [tasks], and [name] from our team takes anything I can't. What can I help with?" Add 3 or 4 suggested replies.

Does a chatbot have to say it is a bot?

Often, yes. Under the EU AI Act, from 2 August 2026, AI systems that talk with people must be designed so people are told they are dealing with an AI, unless it is obvious1. In California, a bot must not mislead people about its artificial identity to make a sale, and a clear disclosure removes liability under that law2. One sentence in the greeting covers both; this is not legal advice.

How many questions should a chatbot ask before asking for contact details?

This template's rule: answer first, then at most 3 qualifying questions, one per message. Ask for contact details only when the next step needs them, such as a quote or a callback.

What is a good customer service chatbot script?

One where every answer gives the answer first, the source and one next step, and every handoff comes with a summary the visitor checks and a named person with a reply time. Tabs 2 and 6 have both.

How do you map a chatbot conversation flow?

One row per message: the step, the bot's message, the suggested replies, the data collected, the next step and the owner. The Excel flow map has these columns, a filled example and a Status column.

How do I test a chatbot script before going live?

Type the 12 test messages from tab 8 into the bot and log Pass or Fail with the date. Fix what fails, retest, and go live only at 12 of 12. For the full launch test, use the AI agent go-live checklist.

Where does each part of the script go in CRMsoftware.pro?

In My Bots: the greeting in First Message and the flow in Instructions on the Basics tab, the buttons in Suggested Replies on the Behavior tab, and your prices and policies in the Knowledge Base. Test it in Try Bot. Handover to Live Support comes with Launch, $19 a month billed yearly.

Write the script once, test it, then let your agent run it.

Start free with 3 users and AI chat: put the greeting in First Message, paste the flow into Instructions and run the 12 tests in Try Bot. Human handover in Live Support comes with Launch, $19 a month billed yearly for 8 users.