Skip to content

Instantly share code, notes, and snippets.

@takatama
Created May 3, 2018
Embed
What would you like to do?
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