filmov
tv
How to Connect ManyChat to Dialogflow in 2022 (No Coding Required)

Показать описание
In this video, I will explain how you can connect ManyChat to DialogFlow so you can use Google AI's in your ManyChat chatbot.
With this integration, you can:
- Understand the intent of the user and reply with a ManyChat Flow
- Handle entities and use the value of entities in your ManyChat flow
- Handle multiple languages inside your ManyChat chatbot by using DialogFlow
-And use Dialogflow on every channel of your ManyChat chatbot
The best part: I provide you with $100 for the first 60 days for Digital Ocean (which means it is free for the first two months)! After that, this will only cost you $5 per month and you have complete control over it.
If you want more videos on how you can use chatbots in your marketing, subscribe to my channel👇
--
First, you need to copy the code from my Github account to your Github account:
1. Log in to Github
2. Go to Repositories → New
3. Fill in the repository name and set it on "Private"
5. And then click on "Begin Import"
--
Put code on Digital Ocean
1. Sign up for Digital Ocean
2. Click on "Create" and then on "Apps"
3. Link your Github account to Digital Ocean
4. Choose the right repository and click on "Next" (2 times)
5. Select the Basic plan
6. Set the Basic size to $5/mo and click on "Launch"
---
Create your own ManyChat application
After we've copied the code from Github, we need to create our own ManyChat application:
Go to "My Profile" in ManyChat
Select "Applications"
Click on "Create new application"
Give the app a name and description
Go to the "API Access" tab and give access for 3 permissions: View Contact Data, Manage Contact Data & Send Messages
Click on Create application
---
Install application
Under your applications, you can now click on the right dots and click on "Install"
Select the right ManyChat page you want to install the app on
Fill in the information for the app
--
Set up Default Reply in ManyChat
1. Go to ManyChat, click on "Settings"
2. There, select "Messenger" and click on "Edit" (next to the Default Reply)
3. Add the "Dialogflow Connector" action to your flow
Select the right language in the popup box
Create Response Flow in ManyChat
In ManyChat you can just create a random flow and you need to copy "content_12345678" to your clipboard.
---
Create Intent in DF with response in ManyChat
Then in DialogFlow, you can just add an intent to your agent, for example, "Order pizza"
After that, you need to set the Response to Custom Payload with {"flow":"content_12345678"}
NOTE: Use double parentheses in the custom payload, single parentheses will not work!
---
Handle entities in DF and send to ManyChat
You can just create an entity, such as "topping".
Then in ManyChat, you need to create a custom field with the same name (in this case "topping").
Next, you can create a condition at the beginning of your flow to handle the different entities.
---
Understand multiple languages with DialogFlow and ManyChat
If you want to understand multiple languages with DialogFlow and ManyChat, you first need to go to DialogFlow and add an additional language (under Settings).
Then, in ManyChat, you need to change the Default Reply and set the Language in the Action to a different language (for example: Dutch).
--
Use this integration on more channels
If you want to use this integration on more channels, you need to do two things:
Add the Dialogflow Connector action to the Default Reply of the new channel
Add a condition to your response flow with "Opted-in for Instagram is true" -➝ Send Instagram Message. Otherwise, Send Facebook messages.
This works the same on other channels, such as WhatsApp and Telegram.
Contents:
Intro: (00:00)
Difference with last year: (00:52)
Copy code from Github: (01:53)
Host code on Digital Ocean: (03:45)
Create ManyChat application: (07:15)
Install ManyChat application: (08:32)
Create Default Reply in ManyChat: (10:33)
Create Response Flow in ManyChat: (12:34)
Create Intent in DF with response in ManyChat: (13:25)
Handle entities in DF and send to ManyChat: (14:50)
Understand multiple languages with DialogFlow and ManyChat: (17:24)
Use this integration on all ManyChat channels: (20:38)
With this integration, you can:
- Understand the intent of the user and reply with a ManyChat Flow
- Handle entities and use the value of entities in your ManyChat flow
- Handle multiple languages inside your ManyChat chatbot by using DialogFlow
-And use Dialogflow on every channel of your ManyChat chatbot
The best part: I provide you with $100 for the first 60 days for Digital Ocean (which means it is free for the first two months)! After that, this will only cost you $5 per month and you have complete control over it.
If you want more videos on how you can use chatbots in your marketing, subscribe to my channel👇
--
First, you need to copy the code from my Github account to your Github account:
1. Log in to Github
2. Go to Repositories → New
3. Fill in the repository name and set it on "Private"
5. And then click on "Begin Import"
--
Put code on Digital Ocean
1. Sign up for Digital Ocean
2. Click on "Create" and then on "Apps"
3. Link your Github account to Digital Ocean
4. Choose the right repository and click on "Next" (2 times)
5. Select the Basic plan
6. Set the Basic size to $5/mo and click on "Launch"
---
Create your own ManyChat application
After we've copied the code from Github, we need to create our own ManyChat application:
Go to "My Profile" in ManyChat
Select "Applications"
Click on "Create new application"
Give the app a name and description
Go to the "API Access" tab and give access for 3 permissions: View Contact Data, Manage Contact Data & Send Messages
Click on Create application
---
Install application
Under your applications, you can now click on the right dots and click on "Install"
Select the right ManyChat page you want to install the app on
Fill in the information for the app
--
Set up Default Reply in ManyChat
1. Go to ManyChat, click on "Settings"
2. There, select "Messenger" and click on "Edit" (next to the Default Reply)
3. Add the "Dialogflow Connector" action to your flow
Select the right language in the popup box
Create Response Flow in ManyChat
In ManyChat you can just create a random flow and you need to copy "content_12345678" to your clipboard.
---
Create Intent in DF with response in ManyChat
Then in DialogFlow, you can just add an intent to your agent, for example, "Order pizza"
After that, you need to set the Response to Custom Payload with {"flow":"content_12345678"}
NOTE: Use double parentheses in the custom payload, single parentheses will not work!
---
Handle entities in DF and send to ManyChat
You can just create an entity, such as "topping".
Then in ManyChat, you need to create a custom field with the same name (in this case "topping").
Next, you can create a condition at the beginning of your flow to handle the different entities.
---
Understand multiple languages with DialogFlow and ManyChat
If you want to understand multiple languages with DialogFlow and ManyChat, you first need to go to DialogFlow and add an additional language (under Settings).
Then, in ManyChat, you need to change the Default Reply and set the Language in the Action to a different language (for example: Dutch).
--
Use this integration on more channels
If you want to use this integration on more channels, you need to do two things:
Add the Dialogflow Connector action to the Default Reply of the new channel
Add a condition to your response flow with "Opted-in for Instagram is true" -➝ Send Instagram Message. Otherwise, Send Facebook messages.
This works the same on other channels, such as WhatsApp and Telegram.
Contents:
Intro: (00:00)
Difference with last year: (00:52)
Copy code from Github: (01:53)
Host code on Digital Ocean: (03:45)
Create ManyChat application: (07:15)
Install ManyChat application: (08:32)
Create Default Reply in ManyChat: (10:33)
Create Response Flow in ManyChat: (12:34)
Create Intent in DF with response in ManyChat: (13:25)
Handle entities in DF and send to ManyChat: (14:50)
Understand multiple languages with DialogFlow and ManyChat: (17:24)
Use this integration on all ManyChat channels: (20:38)
Комментарии