I just published a new video on connecting ManyChat to Dialogflow! Now, you don't have to change code anymore and it is much easier to create the integration. Also: You can use it on all channels of ManyChat (not only Facebook Messenger). You can find it here: ruclips.net/video/7HSfIxgcii8/видео.html
Hey Andriy! In the Default Reply of Instagram you can create an External Request with the same content as the Dynamic Request message. Then, in your Dialogflow intent, refer to an Instagram flow in the Custom Payload. Do you understand this?
@@chatimize yes, I tried to do this according to your example and on Instagram, unfortunately, for some reason it does not work the messenger works in fb, but not in intagram streams
Hey Thom! Yes, I know. In ManyChat, you can create a condition on the language. So just create a condition and select the variable "Language". Then you can make the condition that if the language is English, you set the language_code to 'en', if the language is Dutch, you set the language_code to 'nl' etc.
I am not super familiar with Janis, so I cannot elaborate on much of the functionalities of it. But one of the benefits is that hosting it yourself is a lot cheaper and is not dependent on the number of messages you sent (with this integration, you can have 4,000,000 requests per month to Dialogflow)
@@janis2221 if someone only wants to connect ManyChat to DialogFlow, my integration is enough (and use the basic features, i.e. understanding intents and using entities), no other tool is required. This also includes Janis.
Yes, the basic plan can handle that. In fact, the basic plan can handle over 4 million requests a month. Also note that it is not about the total conversations you have with your chatbot, but only about the requests you make to DialogFlow.
With the Free version of Dialogflow, you can have 180 requests per minute. If you are going above that, it will cost you $0.002 per request. For more information, you can check cloud.google.com/dialogflow/pricing
The setup in this video is outdated. Here is a video of the new setup that will work for WhatsApp: ruclips.net/video/7HSfIxgcii8/видео.html&lc=UgzbZRkFg6R2dUeaFc54AaABAg
[ Deploy apps failed ] - I found this error while deploy apps on digitalocean => Uploaded the built image to the container registry [df-glass-coating] [2022-03-05 17:49:18] => Build complete [df-glass-coating] [2022-03-05 17:50:10] Traceback (most recent call last): [df-glass-coating] [2022-03-05 17:50:10] File "manychat-dialogflow.py", line 19, in [df-glass-coating] [2022-03-05 17:50:10] from flask import Flask, request [df-glass-coating] [2022-03-05 17:50:10] File "/usr/local/lib/python3.8/dist-packages/flask/__init__.py", line 19, in [df-glass-coating] [2022-03-05 17:50:10] from . import json [df-glass-coating] [2022-03-05 17:50:10] File "/usr/local/lib/python3.8/dist-packages/flask/json/__init__.py", line 15, in [df-glass-coating] [2022-03-05 17:50:10] from itsdangerous import json as _json [df-glass-coating] [2022-03-05 17:50:10] ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.8/dist-packages/itsdangerous/__init__.py)
I just published a new video on connecting ManyChat to Dialogflow! Now, you don't have to change code anymore and it is much easier to create the integration. Also: You can use it on all channels of ManyChat (not only Facebook Messenger).
You can find it here: ruclips.net/video/7HSfIxgcii8/видео.html
Really helpful! Great implementation :)
Thank you again!
Bravo Jorn
Thank you Mary!
Thank you for the video.
Very helpful!
The question is - how to make such integration with Instagram?
Hey Andriy! In the Default Reply of Instagram you can create an External Request with the same content as the Dynamic Request message. Then, in your Dialogflow intent, refer to an Instagram flow in the Custom Payload. Do you understand this?
@@chatimize yes, I tried to do this according to your example and on Instagram, unfortunately, for some reason it does not work
the messenger works in fb, but not in intagram streams
@@andrypro Could you send a video of your setup to info@chatimize.com? Then, I can have a look at it!
@@chatimize I will be grateful for any help
sent you an email from me
Hey, that was nice. Do you know how to automatically detect someone's language and make the bot reply in the same language?
Hey Thom! Yes, I know. In ManyChat, you can create a condition on the language. So just create a condition and select the variable "Language". Then you can make the condition that if the language is English, you set the language_code to 'en', if the language is Dutch, you set the language_code to 'nl' etc.
hey Chatmize, can we use dialogflow agent directly in ManyChat without adding any Bot Flow ? or we have to add all that things in ManyChat as well?
Hey Arjun! You can set up a text response in Dialogflow, but that will only work on Facebook Messenger with Dialogflow
@@chatimize so is there any way where I can use my Dialogflow agent for Instagram and WP?
valuable. Janis is gone?
No, Janis still exists. But with this integration, Janis is not always necessary.
today I tried with AWS and failed sadly because I haven't have enough knowledge
Sadly, I also don't have any experience with AWS. But with Digital Ocean, it was pretty simple to set up :)
Also what is the benefit of using Janis instead of hosting it yourself?
I am not super familiar with Janis, so I cannot elaborate on much of the functionalities of it. But one of the benefits is that hosting it yourself is a lot cheaper and is not dependent on the number of messages you sent (with this integration, you can have 4,000,000 requests per month to Dialogflow)
@@chatimize Thanks for the response :) ill probably switch to hosting it myself :). Do i have to maintain this code?
No, you don't have to maintain this code. Only have a look around when Dialogflow gets a new version 👀
this is nice..No more Janis?
No, Janis is not needed anymore with this integration if you just want to simply connect ManyChat with DialogFlow.
@@chatimize we still got cost on DigitalOCean
@@wmafendi Yes, Digital Ocean costs $5 per month.
@@chatimize How would you know if Janis is not needed if you've never used Janis?
@@janis2221 if someone only wants to connect ManyChat to DialogFlow, my integration is enough (and use the basic features, i.e. understanding intents and using entities), no other tool is required. This also includes Janis.
Is the basic plan enough to handle +1000 conversations per day
Yes, the basic plan can handle that. In fact, the basic plan can handle over 4 million requests a month. Also note that it is not about the total conversations you have with your chatbot, but only about the requests you make to DialogFlow.
@@chatimize what about dialogflow how much it will be costing me for like 2000 conv/day
With the Free version of Dialogflow, you can have 180 requests per minute. If you are going above that, it will cost you $0.002 per request. For more information, you can check cloud.google.com/dialogflow/pricing
@@chatimize thank you
Can this work for Whatsapp?
The setup in this video is outdated. Here is a video of the new setup that will work for WhatsApp: ruclips.net/video/7HSfIxgcii8/видео.html&lc=UgzbZRkFg6R2dUeaFc54AaABAg
Sir how to store that chats in database
Hey Nagendra! What database are you referring to?
@@chatimize sir I am using MySQL database
@@nagendrachauhan2511 Then you probably need to create an API that you can use to send data to that MySQL Database.
@@chatimize OK sir i try
[ Deploy apps failed ] - I found this error while deploy apps on digitalocean
=> Uploaded the built image to the container registry
[df-glass-coating] [2022-03-05 17:49:18] => Build complete
[df-glass-coating] [2022-03-05 17:50:10] Traceback (most recent call last):
[df-glass-coating] [2022-03-05 17:50:10] File "manychat-dialogflow.py", line 19, in
[df-glass-coating] [2022-03-05 17:50:10] from flask import Flask, request
[df-glass-coating] [2022-03-05 17:50:10] File "/usr/local/lib/python3.8/dist-packages/flask/__init__.py", line 19, in
[df-glass-coating] [2022-03-05 17:50:10] from . import json
[df-glass-coating] [2022-03-05 17:50:10] File "/usr/local/lib/python3.8/dist-packages/flask/json/__init__.py", line 15, in
[df-glass-coating] [2022-03-05 17:50:10] from itsdangerous import json as _json
[df-glass-coating] [2022-03-05 17:50:10] ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.8/dist-packages/itsdangerous/__init__.py)
Hey! Next Friday I will update a new video with a new strategy how you can do this. Stay tuned!
Here is the new video: ruclips.net/video/7HSfIxgcii8/видео.html
Can’t Deploy on Digitalocean 🥲
[2022-05-04 20:30:41] Traceback (most recent call last):
[2022-05-04 20:30:41] File "manychat-dialogflow.py", line 19, in
[2022-05-04 20:30:41] from flask import Flask, request
[2022-05-04 20:30:41] File "/usr/local/lib/python3.8/dist-packages/flask/__init__.py", line 14, in
[2022-05-04 20:30:41] from jinja2 import escape
[2022-05-04 20:30:41] ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.8/dist-packages/jinja2/__init__.py)
[]
Hey Chamerlak! Currently, the code is outdated and I will update a new video next Friday. Stay tuned!
@@chatimize Thank you :)
Here is the new video: ruclips.net/video/7HSfIxgcii8/видео.html