Integrating Actions on Google Client Library with Dialogflow's Fulfillment Library
Switch branches/tags
Nothing to show
Clone or download
sarahdwyer One-click readme updates
Change-Id: I9e89a5ce4c66675de29c83b6991f17638a2995cf
Latest commit 5e92acd Sep 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dialogflow-agent Add comments Jun 29, 2018
functions Add comments Jun 29, 2018
.gitignore Initial commit Jun 15, 2018
CONTRIBUTING.md Initial commit Jun 15, 2018
LICENSE Initial commit Jun 15, 2018
README.md One-click readme updates Oct 2, 2018
dialogflow-agent.zip Add comments Jun 29, 2018
firebase.json Initial commit Jun 15, 2018

README.md

Dialogflow Fulfillment & Actions on Google Sample

Setup

Select only one of the options below.

Option 1: Add to Dialogflow (Recommended)

To create this agent from our template:

Option 2: Firebase CLI

  1. Create a Dialogflow Agent.
  2. git clone https://github.com/dialogflow/fulfillment-slot-filling-nodejs.git
  3. Go to Settings ⚙ > Export and Import > Restore from zip using the dialogflow-agent.zip in this directory.
  4. cd to the functions directory
  5. Run npm install
  6. Install the Firebase CLI by running npm install -g firebase-tools
  7. Login with your Google account, firebase login
  8. Add your project to the sample with firebase use <project ID>
    • In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
  9. Run firebase deploy --only functions:dialogflowFulfillment
  10. Back in Dialogflow Console > Fulfullment > Enable Webhook.
    • Paste the URL from the Firebase Console’s Trigger column under the Functions > Dashboard tab into the URL field > Save.

References & Issues

Make Contributions

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.md.

Terms

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.