This webhook template sets up everything needed to build fulfillment for your Dialogflow agent.
Select only one of the options below.
- Create Dialogflow Agent
- Fulfillment > Enable the Inline EditorA.
- Select Deploy
- Create Dialogflow Agent
git clone https://github.com/dialogflow/fulfillment-webhook-nodejs.git
cd
to thefunctions
directorynpm 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:dialogflowFirebaseFulfillment
- When successfully deployed, visit the Project Console link > Functions > Dashboard
- Copy the link under the events column. For example:
https://us-central1-<PROJECTID>.cloudfunctions.net/<FUNCTIONNAME>
- Back in Dialogflow Console > Fulfillment > Enable Webhook.
- Paste the URL from the Firebase Console’s events column into the URL field > Save.
A. Powered by Cloud Functions for Firebase
Name | Language |
---|---|
Fulfillment Webhook JSON | JSON |
Dialogflow Console Template | Node.js |
Bike Shop-Google Calendar API | Node.js |
WWO Weather API | Node.js |
Alexa Importer | Node.js |
Temperature Trivia | Node.js |
Human-Agent | Node.js |
Google Translation API | Python |
WWO Weather API | Python |
- Questions? Try StackOverflow.
- Find a bug? Report it on GitHub.
- Dialogflow Documentation.
- For more information on Initializing Firebase SDK for Cloud Functions.
See LICENSE.
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.