You can connect Google DialogFlow bots to your inbox to automatically respond to chats. Once integrated, your bot can handle FAQs, take orders, or transfer chats to a human agent when needed.
1 – Create a DialogFlow Agent #
- Go to dialogflow.cloud.google.com and click Create New Agent.
- You can also start from a prebuilt agent.
2 – Create Intents #
- In DialogFlow, create Intents to define what the bot should listen for and how it should respond.
- Create a special intent like “Talk to a human” to trigger a handoff to a live agent.
In this example we just created one “Talk to a human” intent that will pass the conversation to a human. Normally you would add more intents here to create many types of Bots from FAQ bots, order taking bots, and more
3 – Create a Google Service Account #
- Go to Google Cloud Console.
- Click Create Service Account, give it a name, and assign the role DialogFlow API Client.
4 – Generate the JSON Key #
- Open your Service Account and go to the Keys tab.
- Click Create New Key, select JSON, and download the key file.
5 – Connect DialogFlow to the Inbox #
- In your platform, go to Settings > Integrations > AI > DialogFlow.
- Enter:
- Your Google Project ID
- The contents of your JSON key file
- Select the Inbox where the bot should be active
- Your Google Project ID
Congratulations! You have successfully connected your ChatBot!
Make sure the Chat widget is installed on your website and start chatting to test it.
Please note when testing your Chatbots that only NEW conversations will trigger the bot. After a “Handoff” occurs to a human the bot will never be triggered again for that contact and conversation