Skip to content
No description or website provided.
Branch: master
Clone or download
matthewayne Update to use Python 3, App Egine Flex and Dialogflow API V2
Change-Id: Ide235fb43c14f66257fa8d6c0b852347a155ef4f
Latest commit 9a79fc7 Apr 16, 2018

Dialogflow Fulfillment Translation Sample for Python (Flask)


Setup Instructions

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. Click on the Google Cloud project ID in your agent's setting to open the Google Cloud console
  2. Enable the Google Cloud Translation API
  3. Create an API key and copy the value into the API_KEY varible in and save the file
  4. Run pip install -r requirements.txt
  5. Deploy fulfillment to App Engine
  6. Download and authenticate the Google Cloud SDK
  7. Run gcloud app deploy, make a note of the service URL, which will be used in the next step
  8. Set the fulfillment URL in Dialogflow to your App Engine service URL
  9. Go to your agent's fulfillment page
  10. Click the switch to enable webhook for your agent
  11. Enter you App Engine service URL and append /webhook (e.g. to the URL field
  12. 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.

You can’t perform that action at this time.