Skip to content

tiagoyukio12/webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhook

Flask webhook for DialogFlow

Requirements

Setup

  1. Install Flask, ngrok and Anaconda
  2. Create an Anaconda environment
    conda create --name web
  3. Activate Anaconda environment
    conda activate web
  4. Install project dependencies
    yes y | (conda install matplotlib && conda install numpy && conda install pandas && conda install statsmodels && pip install pmdarima && pip install cloudinary && pip install blynklib)
  5. Setup Flask project
    export FLASK_APP=webhook.py
  6. flask run
  7. Run ngrok server
    ./ngrok http 5000
  8. Copy the forwarding https address from ngrok to DialogFlow's Fulfillment Webhook url

About

Flask webhook for DialogFlow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published