Skip to content

iamfinky/tipadvisor-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialogflow Fulfillment Webhook Template for Node.js and Cloud Functions for Firebase

This webhook template sets up everything you need to build your fulfillment for your Dialogflow agent.

Setup Instructions

Option #1: Dialogflow Inline Editor (recommended)

  1. Enable the Cloud Function for Firebase inline editor
  2. Copy this code in functions/index.js the index.js file in the Dialogflow Cloud Function for Firebase inline editor.
  3. Copy this code in functions/package.json the package.json file in the Dialogflow Cloud Function for Firebase inline editor.
  4. Click Deploy

Option #2: Firebase CLI

  1. Run git clone https://github.com/dialogflow/fulfillment-webhook-nodejs.git and cd to the functions directory
  2. Run npm install
  3. Install the Firebase CLI by running npm install -g firebase-tools
  4. Login to your Google account with firebase login
  5. Add your project to the sample with firebase use [project ID] find your project ID here
  6. Run firebase deploy --only functions:dialogflowFirebaseFulfillment
  7. Paste the URL into your Dialogflow agent's fulfillment and click Save

License

See LICENSE.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published