With the bot builder, you can build a bot without requiring custom development. It is as easy as connecting a few dots with numbers. We’ll walk you through the process of configuring your first bot in the following steps:
TABLE OF CONTENTS
- Creating a new bot
- Creating new flows
- Setting up conditions
- Previewing the bot
- Quick actions
- Deploying the bot
- Analyzing the bot behavior
Creating a new bot
- When you log in to your Freshchat account and click on the Chatbots icon in the menu, you’ll see a list of all your bots configured in your account. If this is the first time you're creating a bot, click New Bot > Give your bot a name > Choose between using answers or creating flows for your bot.
- You can also create a new bot by cloning an existing, published bot by clicking on the clone option that appears when you click on the three dots of any published bot.
- The bot gets created, and you will be redirected to the Answers module (if you picked Answers) or the default Hello flow (if you selected Flows). Let’s look at setting up your first bot with Flows in this article. Learn more about setting up Answers.
Creating new flows
- You can create new flows by clicking on the New flow button from the menu. You can also create a new flow from an existing flow using the insert icon > Dialogs > New flow. You can also create a new flow by cloning a flow using the clone button that appears when you hover over an exiting flow. Learn more about setting up dialogs here.
Setting up conditions
- All the dialogs created are executed subsequently unless a condition in one dialog redirects the customer to a different dialog or if there is a break in the flow. If you’re using the button input type or the carousel input type, you can even trigger actions corresponding to responses received.
- Likewise, you can redirect the customer to a particular dialog in a different flow based on their choices. You can also make use of the nested AND/OR operators for these evaluations. Click here to learn more about configuring conditional flows in the bot builder.
For example, a travel agency can choose to display destinations to plan trips for their customers. In another example, a bank evaluates the customer’s age and then shows the interest rates accordingly.
- You can also execute actions with the bot. The Actions feature in the flow will allow you to execute some events based on your requirements. We have divided them into groups based on their behavior:
- Dynamic actions: Trigger API, Trigger JS function, Set property, Transfer to Answers
- Agent handover: Transfer to Agent
- Conversation actions: Start new conversation, Stop conversation, Resolve conversation
- Widget actions: Open URL, Auto-open chat widget, Show proactive message, Event on widget open, Add a delay in response, Hide widget, Minimize widget, Send private customer message
Learn more about the Actions here.
Previewing the bot
- Upon completing your bot’s configuration, you can click on the Preview button on the top right to preview the bot you’ve built. You can also visualize the connections between the different flows with the Holistic view button on the bottom left.
- Under Flows > Configure > Quick actions, you can provide an option to redirect customers to any dialog (previous or next), bypassing the intermediary dialogs. Learn more about quick actions here.
This can be
- A button: which you can enable in individual dialogs, or
- A widget menu: available anywhere in a flow, and
- Slash commands: only with text fields
Deploying the bot
- Once you've finished setting up the bot, you can start deploying it on all your support channels to help your customers wherever they are. Learn more about deploying your bot on your support channels here.
Analyzing the bot behavior
- Creating your bot doesn't stop with getting your bot out to meet your customers. It also means you should be able to get feedback on your bot's performance and tweak it to achieve optimal customer service. You can make use of a variety of reports that we offer out of the box, or you can create your own reports as well. Learn more about bot analytics here.