Giter Club home page Giter Club logo

manychat-dialogflow-connector's Introduction

ManyChat - DialogFlow Connector

Python-Flask project to connect ManyChat with Dialogflow. This project uses Dialogflow Web Demo integration to handle a simple authentication and avoid complicated setup with Google Cloud credentials.

If you will not handle too much traffic, you can host this project for free in https://repl.it/
Just fork the project inside Repl.it, hit RUN and copy your server URL.

Run on Repl.it

Installation steps

  1. In your ManyChat account, go to My Profile - Applications and Create New Application.
  2. Enter the Name and Description of your App.
  3. Copy the content from manychat_json_app.json and paste it in the JSON field.
  4. Go to the API Access tab and select the following permissions:
    • View contact data
    • Manage contact data
    • Send messages
  5. Save your App and go back to Applications list.
  6. Click in the right menu of your App and hit Install.
  7. Select the page you want to install your App and install it.
  8. Go to App Settings after successfully install your App.
  9. Enter the server URL of where you have this Python project deployed.
  10. Find the text right before the SAVE button and click in "Copy my app key".
  11. Paste your ManyChat API Key in the corresponding field.
  12. Go to your Dialogflow Agent - Settings and copy the Project ID, then paste it in your ManyChat App Settings.
  13. Go back to Dialogflow - Integrations and enable the Web Demo integration.
  14. Click in the pencil icon and copy the Agent ID, it should be something like this: 35g03j8r-cb33-21fa-89yh-90705s43f581
  15. Go to ManyChat App settings and paste the Dialogflow Agent ID.
  16. Save your App settings.

Now all you need to do is add your Dialogflow Connector App to your Default Reply or any other flow inside ManyChat.

Thanks to Joren Wouters now we have a video explaining how to deploy and use this repo:
https://www.youtube.com/watch?v=7HSfIxgcii8

Dialogflow system entities

If you use sys.date-period you can add startDate and endDate to your ManyChat user fields.

About this project

This project is created and maintained by:
Daian Gan
Github: daiangan
E-mail: [email protected]
Website: https://daiangan.com

flask run --reload --cert=adhoc

openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365 flask run --reload --cert=cert.pem --key=key.pem

gunicorn --certfile cert.pem --keyfile key.pem -b 0.0.0.0:8000 hello:app

manychat-dialogflow-connector's People

Contributors

daiangan avatar autonomations avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.