After you’ve created a bot, you can begin adding answers to define its behavior.
Answers tell a messaging 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 bot
Answers are added to your 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.
To create an answer for your bot
- On the Answers tab of the bot’s edit page, click Create answer.
- Enter the answer’s Intent. 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”.
- Enter Other ways to ask. These questions 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.
- Click Next. The answer opens in Flow 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.
Configuring the greeting behavior
When your customers first open a messaging conversation in 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 dropdown to select up to six 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.
Training your 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 Flow Builder, you'll see the Configuration panel as usual, but now it will contain two sections:
- Intent, a short description of the answer.
- Other ways to ask, different ways the customer may phrase the question.
In the Other ways to ask 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 intent or question variations
You can edit an answer’s intent, or add, remove, or edit question variations.
To update an answer’s intent or question variations
- On the Answers tab of the bot’s edit page, hover over the answer you want to change and select Edit.
- In Flow Builder’s configuration panel, update the answer’s Intent.
- Click Done.
To update an answer’s question variations
- On the Answers tab of the bot’s edit page, hover over the answer you want to update and select Edit.
- In Flow Builder’s configuration panel, update the question variations as needed.
- To add a variation, click Add question at the bottom of the list and enter the new question.
- To remove a variation, click the trash can icon next to the question.
- To edit a variation, update the text in the question’s text entry box.
- Click Done.
Editing a step in an answer
You can change an answer flow 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 flow step types.
To edit 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.
- Click the step you want to edit. Its details appear in the Configuration panel.
- Edit the elements you want to change:
- Displayed message (all step types): Update the text in the Bot message box.
- Options (Present options step): Update the options in the text box. To delete an option, click the trash can icon. To add an option, click Add an option. To reorder options, click the grip icon to drag-and-drop them into position.
- Suggested articles (Show help center articles step): To delete a suggested article, click … and select Delete. Use the Select article search box to add additional articles.
- Information collecting fields (Handoff steps): To delete a field, click … and select Delete. Use the Fields drop-down to add additional custom fields (text or drop-down field types only).
- External link (API call): See Using the Make an API call step.
- Business hours schedule: Click the flow branching icon (
) to select a new business hours schedule, if available.
- 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 bot flow.
- Continue editing the flow as needed and click Publish when your edits are complete.
Inserting new steps to an answer
In addition to copying and pasting steps into a bot flow, you can also insert the following step types between two existing steps in a flow:
- Send message
- Present options
- Show Help Center articles
- Add business hours condition
It's important to note that 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 a flow before another step. It can only be included as the final step in a flow.
To add a step into a bot flow
- 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 flow, and configure the step as needed.
- Repeat as needed, then Publish your updated flow.
Removing steps from an answer
Deleting a step removes all subsequent steps from the flow. If you want to delete a step but retain the subsequent steps, you can copy and paste the subsequent steps later in the flow.
To delete a step in a flow
- 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.
To delete the entire answer flow, delete the initial flow step, and click Delete steps in the warning box.
Deleting and deactivating answers
If an answer is no longer relevant or necessary, you have two options for removing it from your bot’s flow:
-
Deleting, which permanently removes the answer from the Answers list.
-
Deactivating, which removes the answer from the bot flow, 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 answer flows 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 de-activating an answer is immediate. You do not need to republish the bot.
12 Comments
Hello!
I want to ask about the feedback flow question : "Was this helpful?" which previously available in the flow builder is now missing.
How can I enable the feedback flow again in the flow builder?
Thanks!
Hey Jonathan. We are making changes to the feedback step, making it configurable. This will be implemented in 2 phases:
You can find more information on what's changed in this Help Centre article
I don't see the option to configure intents anywhere on my existing bot/ flow or if I create a new one. I see the note that it is not available for previous bots but I also don't see the option if I create a new bot.
As discussed on your submitted ticket, and based on the launch date and duration on this article, please wait for two weeks if it's still not available on your account. Don't hesitate to contact us directly if the same issue persisted after two weeks.
Hello, I would like to know how to end a flow, before I had at the end of each branch a "Was this helpful?" but now it doesn't show up and I can't publish my bot. thanks
It seems that every blank step now will automatically have that option.
Can you try it on your end, if in case you are still not able to save it, feel free to contact our support directly.
Hi Luiz,
The feedback flow has been removed as we will be replacing this with a configurable feedback step in the near future. If you wish to replicate this step, you can manually add a Present options step type and configure which options are available to them depending on their feedback.
You can find more information on this and what else has changed in this Help Centre article
Unfortunately the new bot building experience is lacking substantial functionality to work with multiple languages.
Even when automatic translations are enabled, Greeting messages are not translated, intent options are not translated either.
This causes a really inconsistent experience for multi-lingual customers.
Hi Shayan Moussawi
Greetings messages should be translated if you have auto-translation enabled. What you're describing there sounds like there could be a bug. Please raise a ticket with our Advocate team so we can investigate and get that resolved.
Thanks
Hello Team Zendesk.
It would be very, very good if you consider allowing rich text in the Message step, as requested by a colleague in the community (https://support.zendesk.com/hc/en-us/community/posts/4672750330778-Request-for -Enrich-text-on-chat-bot-messages-like-bold-underline-highlight-or-the-possibility-of-including-images-hyperlinks-videos-etc-for-all-suites?page=1#community_comment_4685841766810 )
Today it is not possible to bold or underline words, or put a hyperlink instead of a literal link.
It would be a great improvement that today the competition has it, but Zendezk does not.
Cheers!
Daniel.
One thing that's a little unclear is if the phrase used for intent is purely used for classification only or if it's also recognised by the bot when an end-user searches.
e.g. In the example you give where you'd use "Request a refund" as the intent, would you also need the same phrase to be included in the "Other ways to ask" list?
Deseo cambiar el orden de la respuesta. No hay manera hay un criterio que desconozco. Quisiéramos este orden:
No hay manera de colocar el orden de aparición que uno desea. Cual es el criterio? Puedes agregar la funcionalidad para poder ordenar las respuestas.
Please sign in to leave a comment.