Skip to content

Instantly share code, notes, and snippets.

@takatama
Created May 3, 2018 13:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takatama/186f7e500b4a761ed3fc2978699a3ad9 to your computer and use it in GitHub Desktop.
Save takatama/186f7e500b4a761ed3fc2978699a3ad9 to your computer and use it in GitHub Desktop.
dialogflow-fulfillment-nodejs v2.0.0 code template
'use strict';
const functions = require('firebase-functions');
const { dialogflow } = require('actions-on-google');
const app = dialogflow();
app.intent('Default Welcome Intent', conv => {
conv.close('hello');
});
exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment