Sample showing complex agent and fulfillment design
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 13 commits ahead, 26 commits behind xVir:master.
Latest commit 47b245c Oct 31, 2018

Dialogflow Fulfillment Weather Sample Python (Flask)

Setup Instructions

WWO Weather API Setup

  1. Get a WWO API key, by going to and following the instructions to get an API key that includes forecasts 14 days into the future
  2. Paste your API key for the value of the WWO_API_KEY varible on line 28 of

Dialogflow Setup

  1. Create an account on Dialogflow
  2. Create a new Dialogflow agent
  3. Restore the ZIP file in the root of this repo
  4. Go to your agent's settings and then the Export and Import tab
  5. Click the Restore from ZIP button
  6. Select the ZIP file in the root of this repo
  7. Type RESTORE and and click the Restore button

Fulfillment Setup

  1. Deploy fulfillment to App Engine
  2. Download and authenticate the Google Cloud SDK
  3. Run gcloud app deploy, make a note of the service URL, which will be used in the next step
  4. Set the fulfillment URL in Dialogflow to your App Engine service URL
  5. Go to your agent's fulfillment page
  6. Click the switch to enable webhook for your agent
  7. Enter you App Engine service URL (e.g. to the URL field
  8. Click Save at the bottom of the page

How to report bugs

  • If you find any issues, please open a bug here on GitHub

How to make contributions?

Please read and follow the steps in the




Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Dialogflow's Terms of Use and Privacy Policy.