Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Actions on Google Assistant

Actions on Google Assistant

How to use Google Assistant new features.
Devfest Tbilisi 2018

Merab Tato Kutalia

November 15, 2018
Tweet

More Decks by Merab Tato Kutalia

Other Decks in Programming

Transcript

  1. Actions on Google Actions on Google is a developer platform

    that lets you create software to extend the functionality of the Google Assistant, Google's virtual personal assistant, across more than 500 million devices, including smart speakers, phones, cars, TVs, headphones, and more https://assistant.google.com/explore/
  2. 'use strict'; const {dialogflow} = require('actions-on-google'); const functions = require('firebase-functions');

    const app = dialogflow({debug: true}); app.intent('favorite color', (conv, {color}) => { const luckyNumber = color.length; conv.close('Your lucky number is ' + luckyNumber); }); exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);