Flow Builder allows you to create custom conversation bots for your messaging channels, giving your customers the opportunity to self-serve their support issues before connecting with agents.
In this article, we’ll introduce you to Flow Builder and how it’s used. For information about getting started with bots, see Enhancing messaging with a bot.
This article includes the following topics:
- About Flow Builder
- Creating a new flow for a bot
- Editing an existing bot
- Inserting steps into a bot flow
- Deleting steps and flows
- Publishing bot updates
The following video provides an overview of conversation flows and how they work:
How conversation flows work (1:43)
About Flow Builder
Flow Builder is the tool you use to create each bot’s flow, which controls how it behaves in response to customer input.
There are four components on the Flow Builder page. Each plays an important role in building your bot's conversation flow:
- Flow, your conversation represented in a decision tree format, as a series of connected steps representing the interaction the bot can have with a customer. You can select a step to configure the bot's responses, and add steps to the conversation. The navigation controls at the bottom of the flow allow you to zoom in and out of the flow, or pan to areas in the flow, and you can pinch to zoom using a touchpad or touch screen.
- Configuration panel, where you customize each step in your flow. This panel appears on the side of the screen when you select a step in the flow, or add a new step to a flow. You can select the type of step you want to add to your flow, add and edit automated messages, and build lists of options for your customers to choose from. If you do not see the Configuration panel, click the Preview button in the footer.
- Previewer, for previewing the customer experience created by your flow, before releasing it to your customers. Click the Preview tab in the Configuration panel to view.
- Footer, which appears at the bottom of the screen, under the Flow. On the footer, you'll find a link to bot settings, the Preview and Publish buttons, and the publishing location (Web Widget or mobile SDK) and status (draft or live) of the current flow.
There are five types of steps you can add to your bot in Flow Builder:
- Send message, which displays a piece of text to the customer during a conversation.
- Present options, where the Answer Bot displays up to six preconfigured quick replies that the customer can interact with during a conversation.
- Show help center articles, where Answer Bot presents up to six help center articles to the customer during a conversation.
- Transfer to agent, which escalates the conversation to an agent. Implemented in a Web Widget, Answer Bot can also capture information from the customer through ticket fields.
- Add a business hours condition, which allows you to use your schedule to branch the conversation and respond differently based on whether you are open or closed.
For detailed information on these step types, including its usage and configuration rules, visual examples of the steps in Flow Builder, and how each appears to your customers in a Web Widget, see Understanding flow step types.
Creating a new flow for a bot
Every bot comes with a simple, out-of-the-box bot that includes a customer greeting and transfers them to an agent. While this bot is fully-functional, you may want to delete it and create a new one from the ground up. You can also edit some steps or insert new message steps into the existing bot flow to better meet your needs.
The following video shows the steps involved in building a conversation flow:
To create a new flow for a bot
- In Admin Center, click the Channels icon (
) in the sidebar, then select Bots and automations > Bots.
- Open the bot you want to update in Flow Builder
- For accounts started after November 2, 2021, click the bot you want to open.
- For older accounts, click Edit flow.
- Delete the current flow.
- In the Flow, click Add the first step.
- In the Configuration panel, use the Select action drop-down to choose the type of step you want to begin the flow and configure the step as needed
- Add the next step by clicking the Add a step icon (
), then follow the instructions in step 5, above.
- Repeat until you've added all of the required steps, then click Publish in the footer.
As you are building your flow, don't forget to use the Previewer to test how the conversation will be seen by your end users.
Editing an existing bot
You can edit an existing bot in the following ways:
You can also insert a step between two existing steps, and delete steps in a flow.
Editing a flow step in the bot
You can change your flow by editing the configuration details of an existing step. You cannot edit a step's type.
To edit a step in a flow
- Open the bot in Flow Builder.
- 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).
- Business hours schedule: Click the flow branching icon (
) to select a new business hours schedule, if available.
- Click Publish when you've finished making your changes.
Copying and pasting steps into the bot flow
You can copy a step, or a step and its subsequent steps, and use it elsewhere in the same bot flow.
To copy a step (or multiple steps) and paste it elsewhere in a bot flow
- 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 steps into a bot flow
In addition to copying and pasting steps into a bot flow, you can also insert the following step types into a flow, between two existing steps:
- 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.
Deleting steps and flows
To delete a step in a flow
- Click the step you want to delete. It opens in the Configuration panel.
- 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 Publish when you've finished making your changes.
To delete the entire bot flow, delete the initial flow step, and click Delete steps in the warning box.
Publishing bot updates
Any of the bot changes must be published before they appear in your messaging channel.
To publish a bot update
- Create or update your bot flow in Flow Builder.
- In the Flow Builder footer, click Publish. This makes the changes live in your messaging channels, and updates the publishing information in the footer.
For more information about publishing and how it impacts existing bots, see Publishing a bot to a channel.
83 Comments
Upon checking, a colleague is already working with you about this concern. Please reply to the ticket to further investigate the issue.
Thank you.
Hello!
Can you explain please, how far is updating counter of Resolution articles? For test I clicked to the article yesterday and choose option "it was helpful", but in Zendesk Explore today I have 0 value in report of this article for metrics "clicked article" and "resolution article".
Hi!,
Does flow builder works for social messaging?
Best,
Yes, flow builder is specifically designed for Messaging.
Cheers,
Dane
In the bot flow, is it also possible to set tags for the different automated replies? And if not, would it be possible to add tags to these conversations after they are ended? Based on this article it looks possible but I wanted to make sure whether it's also valid for conversations held with the bot, not with an Agent.
The article you have provided is for our Chat channel and not Messaging. It will work only if you are using the normal chat triggers for the automated replies. However, such function is not yet supported in the Flow Builder.
Hope this helps.
Cheers,
Dane
Hi Dane Adriano, thank you. So the conversations that happened through the Flow Builder cannot be tagged later after they are ended, is it correct?
Yes, you are correct. As of the moment, Messaging triggers does not have this capability.
Cheers,
Dane
Hi, is there a way to add a "Multi-line" Field to the Fields in The "Transfer to agent" step in the Flow Builder? Or at least be able to send more than 128 characters in the "Text" Field?
We would like for the customer to send us a comment abount their problem or doubt before the ticket is transfered to the agent, so that in one hand, we don't have agents waiting for a customer to send that information after the ticket was created, and also to be able to use that information in a webhook trigger to improve the routing of the tickets.
Do you suggest any alternative?
You can use any available ticket fields on the transfer to agent option. You just have to add the corresponding ticket field to it by selecting configure. Please refer to the screenshot below.
In my case, I prefer to add a text field that the customer will have to explain their actual concern. However, you can also use a dropdown for them to select a pre-defined value.
Hope this helps.
Cheers,
Dane
Hi Dane Adriano, I've tried to do what you mention, and multi-line fields don't show up on the Fields in the Configure section, only Text and Drop-down. And if we want our clients to describe give us a full description of their problem before the ticket is created, then an input that is limited to one line isn't a good UX, and less so because there is an arbitrary 128 character limit:



Hi, I remember before I was able to connect the workflow to facebook messenger. Now I noticed when the admin center interface was changed I cannot see that option anymore.
Some things that would be beneficial that have greatly hindered our ability to use this feature include:
Hi team,
I noticed that my bot flow works completely differently than when I contact Zendesk live support.
1. Zendesk allows for multiple conversations.



2. If the Z bot doesn't know the answer, it allows contacting the agent. But my bot in this case asks to rephrase the question and offers to 'Start over'.
3. When the Z bot suggests an article and I click 'No, I still need help', the Z bot also allows me to contact your team, rather than offering to rephrase the question or 'Start over'.
Please tell me how can I do the same with my bot flow?
Such features are very important for my product.
Thank you!
-Artem
Flow builder does not support Messenger. However, you can add a Facebook Messenger channel in Admin Center > Channels > Messaging.
@Morgan
That's definitely a good feature to have. I'll mark it as a product feedback and this will be brought up to the attention of our Product Managers. As Flow builder is fairly new, we appreciate this kind of feedback to continuously improve our product.
@Artem
Our Messaging widget has been developed to cater our customers and make sure that they will be routed to the correct department more efficiently. This was done through rigorous and heavy customization. Hence, this functionality is not yet available for our client facing flow builder. More improvements with flow builder are currently being worked on. This kind of feedback will definitely help our Product Managers on the continuous improvement of our Flow Builder.
We really need to be able to copy Bot and all its steps in a flow for backup and testing purpose.
Thanks for the feedback! The best place for this is our Feedback - Chat and Messaging (Chat) topic since our product team monitors that topic, and using this template will be ensure they get the information they need. Thanks!
Dave Dyson Moved.... https://support.zendesk.com/hc/en-us/community/posts/4505043303450-Ability-to-copy-and-backup-bot-flows-and-steps-
Thanks Jason Walker!
Hey, hoping someone might be able to help.
I have successfully built a flow and we have this working in app, however once the user has opted to speak to a human, I would like to offer them the option to ask another question/ start at the beginning of the flow, as currently it seems this user is locked into the conversation with no option to find the answer to other questions.
Would love any insight on this!
Hey Katie,
We have some updates coming in June where you can build separate flows to address individual customer questions. You can then train the bot to recognise the types of questions to respond with the specific answer flow. You can find more details of this upcoming bot building update here.
Hope this helps.
Is it not possible for users to enter free text in order to search for Help Center articles (instead of us having to configure the specific articles that we want to show)? Thanks!
This is great, I am having difficulty however with the Conversations. Currently, they are flowing through to the Open ticket trays, and can not be replied to in there, I have admin access and we do not use the conversations like a Live Chat, we want it to come through as a ticket to answer.
Can Messaging with flow builder web widget only be used if you transfer to a live agent? Not a normal ticket with a High SLA that will be answered in priority if the articles can not be solved?
Please sign in to leave a comment.