After you’ve created a conversation bot, you can begin adding answers to define its behavior.
Answers tell a conversation bot how to best respond to customer questions through the Web Widget or mobile SDK. Each answer addresses a single issue, or “intent,” and your bot can be trained to understand customer intent when phrased in different ways.
This article shows you how to create an answer, configure your bot’s initial greeting, and edit existing answers when your communication needs to change.
This article includes the following topics:
Creating an answer for a conversation bot
Answers are added to your conversation bot from the Answers tab on the bot’s edit page. The order answers are listed does not impact how they are received by your customers.
A conversation bot can include up to 2,000 steps. These steps can be distributed among multiple answers, or included in a single answer.
To create an answer for your conversation bot
- On the Answers tab of the bot’s edit page, click Create answer.
- Enter the Answer name. This should be a brief, clear description of the issue addressed by the answer, such as “Password reset”, “Request a refund”, or “Talk to a human”. Then click Next.
- Enter Training phrases. These phrases train your bot to
evaluate and understand what information customers are looking for. See Training your bot below.
You can add up to 100 additional questions by clicking Add question at the bottom of the list.
If you have the Advanced AI add-on, you can use pre-trained intents instead. See Working with pre-trained intents for more information.
- Click Next. The answer opens in the bot builder where you can build out the bot’s response.
- Add additional steps to the answer as needed. You need to add at least one step to the answer.
- Click Preview to see how the answer will appear to your end users.
- Click Done when you’re satisfied with the answer.
At this point, you’re taken back to the bot’s edit page, where you can add another answer, edit an existing one, configure the standard response, or publish the bot.
Updating the standard responses
The Standard responses tab is where you define the following bot responses:
Greeting response
When your customers first open a messaging conversation in the Web Widget or your mobile app, they’re met with a greeting response. You have two ways to initiate a conversation:
- A custom greeting message followed by one or more of your previously created answers presented to your customers as options.
- A single existing answer with no custom greeting. This option can be used to immeditately transfer your customer to an agent, for example.
This is configured in the Standard responses tab of the bot’s edit page.
To configure a custom greeting message
- On the bot’s edit page, click to open the Standard responses tab.
- Make sure Greeting message is enabled.
- Enter your initial greeting or leave the default message.
- Use the Starting answers drop-down to select up to 10 of
your answers to present to customers as preconfigured options.
These settings are automatically saved, but will not be presented to customers until you publish, or re-publish, the bot.
To use an existing answer as your starting answer
- On the bot’s edit page, click to open the Standard responses tab.
- Disable the Greeting message option.
- Use the Starting answer dropdown to select the answer that will greet your customers when they initiate a conversation.
Fallback response
The fallback response is triggered when the bot can’t find a suitable answer to the customer’s question or comment. The bot can suggest relevant help center articles, give them the option to rephrase their question or offer another answer.
To configure the fallback response
- On the bot’s edit page, click to open the Standard responses tab.
- Choose whether you want to Recommend help center articles before
the fallback message.Note: This option only appears if you have an active, publicly available help center.
- Enter an initial message, the information offered by the bot if no help center articles are found, or if you do not have an active help center. By default, the bot is configured to say I didn't get that. Try rephrasing your question.
- Use the Answers drop-down to select up to 10 of your already-created answers to present to the customer. This step is optional.
Training your conversation bot
You can teach the bot how to interpret questions asked by the customer during the messaging conversation so they can match and deliver the most relevant answer for a particular question.
When you create or open an answer in the bot builder, you'll see the Configuration panel as usual, but now it will contain two sections:
- Name, a short description of the answer.
- Training phrases, different ways the customer may phrase the question.
In the Training phrases section, you can add up to 100 variations of the question a customer might ask that should result in that answer being offered by the bot.
To create good training questions, keep the following points in mind:
- Questions don’t need to exactly match what the customer types. For example, a customer could spell something wrong, or phrase it a little differently and still get a match.
- Avoid the use of generic phrases like “I want to” or "How do I", which can dilute the question's core meaning. For example, instead of using "I want to get a refund", use “Get a refund."
- Do make sure you use necessary basic details. For instance, instead of "Renew", say "Renew membership."
- Do not use unnecessary words, such as "Hi", in a question.
You do not need to add training phrases in multiple languages.
Updating an existing answer
You may find you need to edit an existing answer in the following ways:
Updating the name or training phrases
You can edit an answer’s name, or add, remove, or edit training phrases.
To update an answer’s name
- On the Answers tab of the bot’s edit page, hover over the answer you want to change and select Edit.
- In the bot builder’s configuration panel, update the answer’s Name.
- Click Done.
To update an answer’s training phrases
- On the Answers tab of the bot’s edit page, hover over the answer you want to update and select Edit.
- In the bot builder’s configuration panel, update the training
phrases as needed.
- To add a phrase, click Add phrase at the bottom of the list and enter the new one.
- To remove a phrase, click the trash can icon next to it.
- To edit a phrase, update the text in the question’s text entry box.
- Click Done.
Editing a step in an answer
You can change an answer by editing the configuration details of an existing step. You cannot edit a step's type. For more information on the steps below, see Understanding bot step types.
To edit a step in an answer
- On the Answers tab of the bot’s edit page, click the answer you want to edit.
- Click the step you want to edit. Its details appear in the Configuration panel.
- Edit the elements you want to change.
- Click Done when you've finished making your changes.
Copying and pasting steps in an answer
You can copy a step, or a step and its subsequent steps, and use it elsewhere within the same answer. Steps cannot be copied from one answer and added to another.
Copied steps can only be pasted at the end of a branch in the answer, and that branch cannot currently end with a Transfer to agent step.
To copy a step (or multiple steps) and paste it elsewhere in an answer
- Click the step you want to copy.
- At the top of the step details in the Configuration panel, click the
Options icon (
) to open the Options menu:
- Select your option:
- Select Copy this step to copy only the selected step
- Select Copy this and following steps to copy the selected step and all subsequent steps
- Click the Add new icon (
) at the end of the branch, or the Add a step icon (
) after an options step.
- Click the Options icon (
) again, and select Paste step:
The step is added to the answer's flow.
- Continue editing the answer as needed and click Publish when your edits are complete.
Inserting new steps to an answer
In addition to copying and pasting steps into an answer, you can also insert a step between two existing steps in an answer.
When you add a branching step, such as a Present options or Add business hours conditions step, the subsequent, pre-existing steps will be included under the new step's initial branch.
- Present options: Existing steps are included under Option 1.
- Add business hours conditions: Existing steps are included under the When open branch.
The Transfer to agent step type cannot be added to an answer before another step. It can only be included as the final step in an answer.
To add a step into an answer
- Hover over the line between two steps and click the Add new
icon (
) .
- In the Configuration panel, select the message type you want to insert into the answer, and configure the step as needed.
- Repeat as needed, then Publish your updated answer.
Removing steps from an answer
Deleting a step removes all subsequent steps from the answer. If you want to delete a step but retain the subsequent steps, you can copy and paste the subsequent steps later in the answer.
To delete a step in an answer
- On the Answers tab of the bot’s edit page, hover over the answer you want to update and select Edit.
- At the top of the Configuration panel, click the Options icon
(
).
- Select Delete this step. If there are subsequent steps, click Delete steps in the warning box.
- Click Done when you've finished making your changes.
Deleting and deactivating answers
If an answer is no longer relevant or necessary, you have two options for removing it from your bot:
-
Deleting, which permanently removes the answer from the Answers list.
-
Deactivating, which removes the answer from the bot, but retains it for future use.
To delete or deactivate an answer
- On the bot’s Answers tab, hover your cursor over the answer you want to remove.
- Click the Row actions icon (
) and select your action: Delete or Make inactive.
- Confirm your selection.
- The answer is updated according to the selected action:
- Delete removes the answer from the answer list.
- Make inactive changes the answer’s status to Inactive. You can reactivate the answer from the Row actions icon by selecting Make active.
Publishing answers
Before your new or edited answers are available to your customers, you must publish the bot they’re attached to. See Publishing a bot for information and instructions.
Answers are not published individually. When you publish the bot, all answers in the Ready to publish state are published as well.Deleting or deactivating an answer is immediate. You do not need to republish the bot.
43 Comments
Hello.
We have noticed that the flow does not start if you receive an image or a voice message as the first message from the client.
Many people do not start a conversation flow by writing a text that says "hello" or another text, they directly send an audio or an image. It would be great if the flow would start automatically when faced with these non-text events. Is it possible to have that improvement?
Agurated your comments to know what to respond to my clients.
Regards!
Daniel.
thank you very much for your suggestion. I assure you, your feedback is heard, and our team will have a look at it.
Best,
Hello Team, we do have different kind of customers (based on class eg., a,b, & c). Is there a way or chance that this Zendesk native bot can identify that?
First thing is the Intent but can't see anywhere if there's like a condition where to set if the customer is for example a VIP.
The bot does not have the capability to determine any form of customer type or tags. You can utilize tags in Flow Builder so that once the ticket has been created on the Transfer to Agent steps, you can use the appropriate triggers that can help with your use case. But if your main goal is to sort customers on the actual Flow Builder, it's not possible.
We just setup a bot. And this enabled messaging for our site. Though previously we were using Chat and Support. So if we were online, customers had the Chat option and we could converse. Though after hours or if not online, they were presented with help and created a ticket for an email. We could then respond in the ticket system or through emails once available.
Now with Answer Bot, I don't see a workflow to allow the customer to be transferred to email support. It just hangs on transferring you to an agent. And they wait indefinitely. How do we creat the flow to let the bot chat us if available or tell them we'll get back to them?
I see your Z Bot does this. Tells us it take 1 to 2 day to respond. I don't know if this is also dynamic so if we're online.
We did already check and made sure our agents were offline in our support.
Thanks,
Martin
Is there a way to have an answer recommend other answers similar to how the fallback standard response works? I don't want to have to build entire flows when an answer is already created for that particular flow, I just want to push users towards self-serving instead of using generic responses to be pushed to our messaging.
Hi, we have a private knowledge base, only accessible by our customers.
Why can't I use knowledge articles within the bot? As we don't want to have our knowledge base worldwide available.
Hi,
Could I set up working hours for chat bot?
Lets say every day 00-08 hours when there is no agent online.
Hey there, so I have 2 questions :
1. Information collecting fields : it would be nice to be able to make them mandatory o no. As in I give the customer the option to give more details, but he can just fill the mandatory ones if he wants (basically same behaviour as in the web form)
2. I would love to activate the option where the "assistant/bot" recommends articles from the helpcenter based on what a customer is typing, however, it doesn't send a "Were these articles helpful? YES/NO" message, so after offering some articles, it's like the conversation ended if the customer doesn't risk himself typing something.. how to avoid that ?
Thanks a lot
In the Agent Workspace, the tickets created via Messaging are multi-channel, this means that you can change the channel of the Messaging ticket to reach out the customer.
To achieve this, you need to ask the name and email when transferring the end user to an agent, using the Ask for details step.
You can do this even if the customer is requesting to be transferred to an agent outside business hours.
For example, you can create a step with the Business hours step, this will allow you to transfer the customer when open and when closed, so when you have agents online (open), the bot will transfer the customer to an online agent, if you do not have agents online (closed) you can show a custom message to the customer and indicate that you are not available at the moment and we will contact you via email as soon as possible.
For more information, please review: Understanding answer flow step types
Greetings!
Hello,
When conversation ends with transferto agent , after that bot doesnt response anything. How i can fix this ?
Hello!
I have 100 answers. And I want to add the same scenario (begins with "Was this helpful" block) in each of 100 answers. What is the best way to do it if I can't copying and pasting steps between answers?
At this moment we can only suggest using Copy this and following steps option to simplify your Flow Builder workaround.
Thanks
Please sign in to leave a comment.