Giter VIP home page Giter VIP logo

dialogflow-myzap's Introduction

πŸ€–Simple Bot Google DialogFlow and APIGratis

This is a small demonstration of how to create a bot with DialogFlow using APIGratis or MyZap Free or Premium


πŸ’Έ Get informations and servers

Get your token with connect in server Whatsapp API and DialogFlow

APIGratis | DialogFlow | πŸ’¬ Group WhatsApp

πŸ’‰ Install dependencies

Up container Docker to run WebHook

apt update && apt install docker-compose && cd /opt/
git clone https://github.com/APIBrasil/dialogflow-myzap.git dialogflow-myzap
cd /opt/dialogflow-myzap
docker-compose build --no-cache
docker-compose up -d

πŸ”Œ Using ngrok for Linux (optional)

If you want to run the webhook with ssl or on an external network

 curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok

To Run

cd /opt/dialogflow-myzap
ngrok http 80

imagem

πŸ”Œ Using ngrok for Windows (optional)

cd c:\www\dialogflow-myzap
.\ngrok.exe http 80

πŸŽ‰ Default address webhook

Your default user address webhook

https://YOUR_HOST_VPN.ngrok.io/webhook

πŸ’» Start new session WhatsApp (QRCode Reader)

The session name and session key must be the same, and the api token must be obtained from the website

https://homologacao.wppserver.com/start

Input Value
Session name session_demo
Session key session_demo
Webhook Messages https://YOUR_HOST_VPN.ngrok.io/webhook

πŸ”‘ Download credentials.json

To downloading your file credentials.json, generate Key in Google Console crendentials

https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts?supportedpurview=project

✨ Contributors:

Thanks to these wonderful people


Jonathan Henrique


Bruno Hashimoto

License

MIT

dialogflow-myzap's People

Contributors

brunohash avatar jhowbhz avatar

Stargazers

 avatar  avatar  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.