Code Monkey home page Code Monkey logo

dialogflow's Introduction

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

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

Setup Instructions

Select only one of the options below.

Option 1: Dialogflow Inline Editor (Recommended)

  1. Create Dialogflow Agent
  2. Fulfillment > Enable the Inline EditorA.
  3. Select Deploy

Option 2: Firebase CLI

  1. Create Dialogflow Agent
  2. git clone https://github.com/dialogflow/fulfillment-webhook-nodejs.git
  3. cd to the functions directory
  4. npm install
  5. Install the Firebase CLI by running npm install -g firebase-tools
  6. Login with your Google account, firebase login
  7. Add your project to the sample with $ firebase use <project ID>
  • In Dialogflow console under Settings ⚙ > General tab > copy Project ID.
  1. Run firebase deploy --only functions:dialogflowFirebaseFulfillment
  2. 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>
  1. Back in Dialogflow Console > Fulfullment > Enable Webhook.
  2. Paste the URL from the Firebase Console’s events column into the URL field > Save.

A. Powered by Cloud Functions for Firebase

Samples

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

References & Issues

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.

dialogflow's People

Contributors

xvir avatar joshuadavidson avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.