{"id":20337978,"url":"https://github.com/apibrasil/dialogflow-myzap","last_synced_at":"2026-01-04T06:34:38.840Z","repository":{"id":37628452,"uuid":"506052498","full_name":"APIBrasil/dialogflow-myzap","owner":"APIBrasil","description":"This is a small demonstration of how to create a bot with DialogFlow using APIGratis or MyZap Free or Premium","archived":false,"fork":false,"pushed_at":"2022-06-23T05:25:26.000Z","size":7099,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-25T07:11:23.538Z","etag":null,"topics":["apigratis","dialogflow","google","guzzle","myzap","php"],"latest_commit_sha":null,"homepage":"https://apigratis.com.br","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/APIBrasil.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":"jhowbhz","otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-06-22T01:04:12.000Z","updated_at":"2024-08-05T04:49:37.000Z","dependencies_parsed_at":"2022-09-15T08:20:50.044Z","dependency_job_id":null,"html_url":"https://github.com/APIBrasil/dialogflow-myzap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIBrasil%2Fdialogflow-myzap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIBrasil%2Fdialogflow-myzap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIBrasil%2Fdialogflow-myzap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIBrasil%2Fdialogflow-myzap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APIBrasil","download_url":"https://codeload.github.com/APIBrasil/dialogflow-myzap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244557505,"owners_count":20471839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apigratis","dialogflow","google","guzzle","myzap","php"],"created_at":"2024-11-14T21:11:06.830Z","updated_at":"2026-01-04T06:34:38.808Z","avatar_url":"https://github.com/APIBrasil.png","language":"PHP","funding_links":["https://issuehunt.io/r/jhowbhz"],"categories":[],"sub_categories":[],"readme":"# 🤖Simple Bot Google DialogFlow and APIGratis\n_This is a small demonstration of how to create a bot with DialogFlow using APIGratis or MyZap Free or Premium_\n\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://github.com/jhowbhz/followers\"\u003e\u003cimg title=\"Seguidores\" src=\"https://img.shields.io/github/followers/jhowbhz?color=green\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/APIBrasil/dialogflow-myzap/stargazers/\"\u003e\u003cimg title=\"Estrelas\" src=\"https://img.shields.io/github/stars/APIBrasil/dialogflow-myzap?color=green\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/APIBrasil/dialogflow-myzap/network/members\"\u003e\u003cimg title=\"Forks\" src=\"https://img.shields.io/github/forks/APIBrasil/dialogflow-myzap?color=green\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/APIBrasil/dialogflow-myzap/watchers\"\u003e\u003cimg title=\"Watching\" src=\"https://img.shields.io/github/watchers/APIBrasil/dialogflow-myzap?label=Watchers\u0026color=green\u0026style=flat-square\"\u003e\u003c/a\u003e\n\n[\u003cimg src=\"https://img.shields.io/badge/Postman-FF6C37?style=for-the-badge\u0026logo=postman\u0026logoColor=white\"\u003e](https://documenter.getpostman.com/view/11074732/UzBpJkM9/)\n[\u003cimg src=\"https://img.shields.io/badge/WhatsApp-25D366?style=for-the-badge\u0026logo=whatsapp\u0026logoColor=white\"\u003e](https://chat.whatsapp.com/EkbDMTX9Y1Y30NZlYGZBar)\n \n\u003chr /\u003e\n\n### 💸 Get informations and servers\n_Get your token with connect in server Whatsapp API and DialogFlow_\n\n[APIGratis](https://apigratis.com.br) | [DialogFlow](https://dialogflow.cloud.google.com) | [💬 Group WhatsApp](https://chat.whatsapp.com/EkbDMTX9Y1Y30NZlYGZBar)\n\n### 💉 Install dependencies\n_Up container Docker to run WebHook_\n\n```bash\napt update \u0026\u0026 apt install docker-compose \u0026\u0026 cd /opt/\n```\n\n```bash\ngit clone https://github.com/APIBrasil/dialogflow-myzap.git dialogflow-myzap\n```\n\n```bash\ncd /opt/dialogflow-myzap\n```\n\n```bash\ndocker-compose build --no-cache\ndocker-compose up -d\n```\n\n### 🔌 Using ngrok for Linux (optional) \n_If you want to run the webhook with ssl or on an external network_\n\n```sh\n curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc \u003e/dev/null \u0026\u0026 echo \"deb https://ngrok-agent.s3.amazonaws.com buster main\" | sudo tee /etc/apt/sources.list.d/ngrok.list \u0026\u0026 sudo apt update \u0026\u0026 sudo apt install ngrok\n```\n\nTo Run\n```sh\ncd /opt/dialogflow-myzap\nngrok http 80\n```\n\n![imagem](https://i.imgur.com/0Mwl1tv.png)\n\n### 🔌 Using ngrok for Windows (optional) \n\n```sh\ncd c:\\www\\dialogflow-myzap\n.\\ngrok.exe http 80\n```\n\n### 🎉 Default address webhook \n_Your default user address webhook_\n\n```sh\nhttps://YOUR_HOST_VPN.ngrok.io/webhook\n```\n\u003chr /\u003e\n\n### 💻 Start new session WhatsApp (QRCode Reader)\n_The session name and session key must be the same, and the api token must be obtained from the website_\n\nhttps://homologacao.wppserver.com/start\n\n| Input | Value |\n| ------ | ------ |\n| Session name | session_demo |\n| Session key | session_demo |\n| Webhook Messages | https://YOUR_HOST_VPN.ngrok.io/webhook |\n\n### 🔑 Download credentials.json\n_To downloading your file credentials.json, generate Key in Google Console crendentials_\n\nhttps://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts?supportedpurview=project\n\n\u003cdiv\u003e\n\u003cimg src=\"https://i.imgur.com/lOJOsam.png\" width=\"50%\" /\u003e \u003cimg src=\"https://i.imgur.com/6Pp8dTh.png\" width=\"50%\" /\u003e\n\u003c/div\u003e\n\n### ✨ Contributors: \n_Thanks to these wonderful people_\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jhowbhz\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/31408451?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJonathan Henrique\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/bruno-hashimoto\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15908424?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBruno Hashimoto\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapibrasil%2Fdialogflow-myzap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapibrasil%2Fdialogflow-myzap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapibrasil%2Fdialogflow-myzap/lists"}