Created
May 3, 2018 13:25
-
-
Save takatama/186f7e500b4a761ed3fc2978699a3ad9 to your computer and use it in GitHub Desktop.
dialogflow-fulfillment-nodejs v2.0.0 code template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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