Select only one of the options below.
To create this agent from our template:
- Create a Dialogflow Agent.
git clone https://github.com/dialogflow/fulfillment-temperature-converter-nodejs.git
- Go to Settings ⚙ > Export and Import > Restore from zip using the
dialogflow-agent.zip
in this directory. cd
to thefunctions
directory- Run
npm install
. - Install the Firebase CLI by running
npm install -g firebase-tools
- Login with your Google account,
firebase login
- Add your project to the sample with
firebase use <project ID>
- In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
- Run
firebase deploy --only functions:dialogflowFulfillment
- 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.
Name | Language |
---|---|
Fulfillment & Regex Validation | Node.js |
Weather: Fulfillment & WWO API | Node.js |
Bike Shop: Fulfillment & Google Calendar API | Node.js |
Temperature Trivia: Fulfillment & Actions on Google | Node.js |
Fulfillment & Actions on Google | Node.js |
Fulfillment & Firestore Database | Node.js |
Multi-language/locale | Node.js |
Basic Slot Filling | Node.js |
Alexa Importer | Node.js |
For Fulfillment Webhook JSON Requests & Responses.
- Questions? Try StackOverflow or Dialogflow Developer Community.
- Find a bug? Report it on GitHub.
- Dialogflow Documentation.
- For more information on Initializing Firebase SDK for Cloud Functions.
- For more information on Restore from Zip.
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.md.
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.