Open the conversation
- A visitor opens the support chatBot
For whoever writes a support chatbot's script. Each step is what the bot says or does, and each question is where it routes the visitor on their answer. The example is an online store, so swap in your own order, account and policy branches.
Keep each bot message to one question. A visitor who gets three questions at once answers one of them.
- Greet the visitor and ask what they need help withBot
"Hi, I'm the Acme assistant. What can I help you with?" Let the visitor type in their own words, then route on what they meant.
- Is the visitor asking about an order they already placed?Bot
- Ask for the order number or the email address on the orderBot
- Does the order come up?Bot
- Ask once more for the order number, then offer a personBot
Then go to step 33, Hand the conversation to a person with the transcript
- What does the visitor want to know about the order?Bot
- Where it is: go to step 8, Show the tracking status and the expected delivery date
- To return or exchange it: go to step 11, Is the order inside the return window?
- To change or cancel it: go to step 14, Has the order shipped?
- Show the tracking status and the expected delivery dateBot
- Has the expected delivery date passed?Bot
- Open a lost-parcel case and tell the visitor what happens next and whenBot
- Is the order inside the return window?Bot
- Send the return label and the steps to pack itBot
- Explain the return window and offer a person for exceptionsBot
Then go to step 33, Hand the conversation to a person with the transcript
- Has the order shipped?Bot
- Explain that it can't be changed in transit and offer a return once it arrivesBot
- Cancel or change the order and confirm the change by emailBot
- Is the visitor asking about their account or a payment?Bot
- Ask what happened, in one sentenceBot
- Is it a sign-in problem?Bot
- Send the password reset link and wait for the visitor to try itBot
- Did the reset let them sign in?Bot
- Is it a charge the visitor doesn't recognise?Bot
- Ask for the amount and the date, then look up the chargeBot
- Does the charge match an order on the account?Bot
- Show the order and ask whether that explains the chargeBot
Then go to step 30, Did that answer the question?
- Is it a question about a product or a policy?Bot
- Search the help centre for the visitor's own wordsBot
- Did an article match the question?Bot
- Show the article's answer in the chat with a link to the articleBot
Close or hand off
- Did that answer the question?Bot
Ask it plainly. "Did that sort it out?" A yes closes the chat, and a no is the bot's last chance before a person takes over.
- Yes: go to step 31, Thank the visitor and close the chat
- No: go to step 32, Ask what's still missing, once
- Thank the visitor and close the chatBot
- Ask what's still missing, onceBot
One more free-text answer. If the visitor's reply fits a branch above, the bot can take it. If not, stop guessing.
- Hand the conversation to a person with the transcriptBot
Pass the order number, the branch the bot took and the visitor's own words to the person, so the visitor never repeats themselves.
- Is a person available right now?Bot
- A person continues the chat from where the script left offBot
- Take the visitor's email address and promise a reply time you can keepBot