Creating a chatbot

A chatbot can help to automate some messaging processes and replace some manual effort.

We recommend creating a chatbot with Dialogflow integration as respond.io has extensive integration with Dialogflow that caters to various use cases.

The following image shows an example of how Dialogflow can be used to automate specific responses.

To help you better understand the integration between DialogFlow and respond.io, you may read the following blog post: - How To Build a Chatbot with Dialogflow - How To Use respond.io As a Dialogflow CRM

Connecting to Dialogflow

Follow the guide below to connect to Dialogflow

Creating a basic intent

For this guide, we will create a basic intent that enables chatbot to answer enquiries regarding operating hours.

Step 1: Create Intent Navigate to the Dialogflow console and press Intents from the side navigation menu. Press the or CREATE INTENT from the top of the module.

Step 2: Name your Intent Enter a name for your intent. Your intent name should represent the end-user expressions it recognizes. For example, operating_hours_enquiry

Step 3: Include Training Phrases Training phrases are the phrases that will trigger the specific intent and the expected behaviour.

You can compile the most commonly asked questions in regards to operating hours and include the list as training phrases.

For example,

what are your operating hours what time do you close are you open on sundays which day do you close are you open on the weekends what time do you open what time do you close

Step 4: Build Intent Response Scroll down to the Responses section and type in the response. Add a Text Response

Tips:

  • You can send multiple responses at one time for better readability.

  • You may add a few variants of response and it will be randomised when sending it to a contact.

The response we will build for this intent is :

Our operating hours are Monday to Saturday, 10am to 10pm. We are closed on Sundays and Public Holidays. Let us know if you require further assistance.

Step 5: Test it out You can test it with the testing panel located at the right side of Dialogflow or test it with the connected channels.

What's Next?

Now that you know how to create an intent. Enhance it with more use cases specific to your company.