SlideShare a Scribd company logo
@bretmcg
Building apps for Google Home
and the Google Assistant
And other chatbots too!
Bret McGowen
Developer Advocate, Google
@bretmcg
Workshop: bit.ly/home-workshop
@bretmcg
The Google Assistant
A conversation between you and Google
that helps you get things done in your world
@bretmcg
100 million devices
@bretmcg
Google Home and Google Assistant Workshop: Build your own serverless Action on Google app
@bretmcg
Connect with new users wherever the
Google Assistant is available
Actions on Google
How you can extend
the Google Assistant
Help users get things done
with your service
Innovate with
Conversational Interface
Google Home and Google Assistant Workshop: Build your own serverless Action on Google app
@bretmcg
The next session about Kubernetes is “CI/CD for Node.js
and Kubernetes in room Fisher West on Thursday at
3:20. Is there another topic you’re interested in?
Sure! Here’s Node Summit
Ok Google, let’s talk to Node Summit
Enter Earcon
Exit Earcon
Hi, I’ll be your guide to Node Summit. I can help you
explore topics or pick a session to attend. What would
you like to know?
When is the next Kubernetes talk?
@bretmcg
Flow of an Action
@bretmcg
Architecture
...
@bretmcg
Create a project on the Actions Console
https://console.actions.google.com/
- Configuration and Assistant Directory setup
- Testing & Deployment
- Analytics
@bretmcg
Architecture
Your app
@bretmcg
Architecture
@bretmcg
- Define Intents and Entities
- Writing responses
- Use Training to improve
Actions Use API.AI (or other tools) to handle natural language
ListSessions (session_tags.KUBERNETES);
“What Kubernetes sessions are there?”
@bretmcg
API.AI demo
@bretmcg
Architecture
Google Cloud
@bretmcg
Cloud Functions
A serverless environment to build and
connect cloud services with code
● No managing servers
● Auto-scaling
● Pay only when invoked
● Node 6.11.1
● Local ephemeral disk at /tmp
● Auto-authed to other Google Cloud services
● Auto-compilation of native addon modules
@bretmcg
Architecture
Google Cloud Functions
const App =
require('actions-on-google').ApiAiApp;
function listTopicsIntent(app) {
ConferenceAPI.getCategories().then(
categories =>
app.ask("The topics covered are: ${topics}." +
"What do you want to learn?")
)
}
exports.myApp = function(request, response) {
var app = new App({ request, response });
app.handleRequest(listTopicsIntent);
};
Node.js app connected to API.AI
npm install actions-on-google
@bretmcg
Google Home app architecture
Google Cloud Functions
Your app's logicExtract entities and
intents from text
phrases
Assistant answers
user or routes to a
custom Action
{ JSON }
require('actions-on-google');
@bretmcg
Cloud Functions demo
Google Home and Google Assistant Workshop: Build your own serverless Action on Google app
@bretmcg
Response types
@bretmcg
Simple response
Supported surfaces:
● AUDIO_OUTPUT
● SCREEN_OUTPUT
640 character limit (300 recommended)
Speech Synthesis Markup Language (SSML)
@bretmcg
Card response
Supported surface: SCREEN_OUTPUT
Title and body
Header image
Link button
@bretmcg
Supported surface: SCREEN_OUTPUT
Used to pivot conversation
Maximum 8
Narrow many choices to most popular
Suggestion chips
@bretmcg
Selector responses
List selector
SCREEN_OUTPUT
Pagination
Carousel selector
SCREEN_OUTPUT
Rich cards
@bretmcg
Transactions
@bretmcg
Seamless signup
Top cause of abandoned carts:
● Forgotten Password
● Account Creation Pain
Assistant enables seamless sign-in
and account creation.
@bretmcg
Link to account
Link FoodBot to your
Google Account
Jane Doe
jane.doe@gmail.com
Use another account
Proposed order
1
1
Classic burger
Add cheese
Large fries
$8.00
$0.50
$1.50
Pay with Google
Visa ••••1234
Subtotal
Tax
Total
$10.00
$0.75
$10.75
Confirmed
2 items • $10.75
Delivery
123 Castro St, Mountain View
Confirm orderBuild basket Ask for address
Jane Smith
1600 Amphitheater Rd
Mountain View, CA 94043
Delivery address
Jane Smith
12345 Castro St
Mountain View, CA 94043
1 2 3
Payments Identity Receipts
@bretmcg
Development workflow
@bretmcg
Create a project on the
Actions Console
2
Test In our web simulator
or on device
Enhance your app for
mobile phones
Integrate your app with
our Transactions API
Use API.AI (or other tools) to
handle natural language
Connect a webhook
(we like Node.js)
1
3
4
5
6
Building our app
Google Home and Google Assistant Workshop: Build your own serverless Action on Google app
@bretmcg
Fast feedback loop: Ngrok + Functions emulator
Google Cloud Functions emulator Ngrok secure internet tunnels to localhost
LIVE
RELOADING
DEBUG IN
CHROME
@bretmcg
Architecture in development
ngrok
@bretmcg
Discovering your app
@bretmcg
How Users Discover your App
In Dialogue
2 Assistant Directory
Links that you share
1
3
In Dialogue Discovery:
Explicit Triggering
Ok Google, ask YodaBot to translate I'm from Texas
Trigger Phrase App Name
Developer Specified
Action
Preposition
Action Phrase
Developer Specified
Partner Examples: Let’s speak to Domino’s
At Akinator
Ask Dr. Doggy if dogs can eat chocolate
Ok Google, let’s talk to YodaBot
Trigger Phrase App Name
Developer Specified
@bretmcg
Hey Google, I want to play a game.Hey Google, tell me a joke.
In Dialogue Discovery:
Implicit Triggering
Hey Google, I want to work out. Hey Google, what’s the surf report
@bretmcg
Discovery in the
Google Assistant
Directory
@bretmcg
Link to your
Assistant App
From anywhere
Share through social media.
Promote through your own site or apps.
Encourage press to drive traffic
to your Assistant app.
@bretmcg
Thank you! Resources
Actions on Google
● developers.google.com/actions
Designing your Actions
● g.co/dev/ActionsDesign
Google Cloud Functions
● cloud.google.com/functions
Bret McGowen
Developer Advocate, Google
@bretmcg
Workshop: bit.ly/home-workshop

More Related Content

What's hot (20)

PDF
IThome DevOps Summit - IoT、docker與DevOps
Simon Su
 
PDF
Fluent 2018: Measuring What Matters
Akamai Developers & Admins
 
PDF
DevOpsDays Cape Town 2018 - Serverless with Google App Engine
Günter Grodotzki
 
PDF
Serverless Computing with Google Cloud
wesley chun
 
PDF
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
e-Legion
 
PDF
Powerful Google Cloud tools for your hack
wesley chun
 
PDF
Fluent 2018: When third parties stop being polite... and start getting real
Akamai Developers & Admins
 
PDF
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
wesley chun
 
PDF
Building Kick Ass Video Games for the Cloud
Chris Schalk
 
PPTX
MongoDB World 2018: Building Serverless Apps with MongoDB Atlas on Google Clo...
MongoDB
 
PDF
Importance of GCP: 30 Days of GCP
AnshTyagi27
 
PDF
Serverless Computing with Python
wesley chun
 
PPTX
Iot with google actions (optimised)
Shang Yi Lim
 
PPTX
IoT Google Cloud Functions with Firebase
Shang Yi Lim
 
PDF
Firebase - realtime backend for mobile app and IoT
Andri Yadi
 
PPTX
Blazor and Azure Functions - a serverless approach
Alex Pshul
 
PDF
Image archive, analysis & report generation with Google Cloud
wesley chun
 
PDF
Creating a DDP API with Meteor
Lukas van Driel
 
PDF
When to use Serverless? When to use Kubernetes?
Niklas Heidloff
 
PDF
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
ITCamp
 
IThome DevOps Summit - IoT、docker與DevOps
Simon Su
 
Fluent 2018: Measuring What Matters
Akamai Developers & Admins
 
DevOpsDays Cape Town 2018 - Serverless with Google App Engine
Günter Grodotzki
 
Serverless Computing with Google Cloud
wesley chun
 
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
e-Legion
 
Powerful Google Cloud tools for your hack
wesley chun
 
Fluent 2018: When third parties stop being polite... and start getting real
Akamai Developers & Admins
 
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
wesley chun
 
Building Kick Ass Video Games for the Cloud
Chris Schalk
 
MongoDB World 2018: Building Serverless Apps with MongoDB Atlas on Google Clo...
MongoDB
 
Importance of GCP: 30 Days of GCP
AnshTyagi27
 
Serverless Computing with Python
wesley chun
 
Iot with google actions (optimised)
Shang Yi Lim
 
IoT Google Cloud Functions with Firebase
Shang Yi Lim
 
Firebase - realtime backend for mobile app and IoT
Andri Yadi
 
Blazor and Azure Functions - a serverless approach
Alex Pshul
 
Image archive, analysis & report generation with Google Cloud
wesley chun
 
Creating a DDP API with Meteor
Lukas van Driel
 
When to use Serverless? When to use Kubernetes?
Niklas Heidloff
 
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
ITCamp
 

Viewers also liked (20)

PPTX
Google home
Iqbal Shaikh
 
PDF
Google Home
Malhar Pandhare
 
PPTX
Google home - Social media campaign - Pierre-clement Lihou
Pierre-Clement Lihou
 
ODP
Home assistant
Marian Marinov
 
PDF
Amazon Echo vs Google Home: The Smart Home Begins
Blue Dress® Internet Marketing
 
PPTX
Présentation Hardis groupe
Hardis
 
PDF
Actions On Google - How? Why?
Ido Green
 
PPTX
Google home and actions
Rafael Pacheco
 
PPTX
Google Home Voice App
Yoshima Fukuda
 
PDF
Blockchain on Go
Seiji Takahashi
 
PDF
Spiderストレージエンジンの使い方と利用事例 他ストレージエンジンの紹介
Kentoku
 
PDF
An introduction and future of Ruby coverage library
mametter
 
PPTX
ScalaからGoへ
James Neve
 
PDF
golang.tokyo #6 (in Japanese)
Yuichi Murata
 
PPTX
MongoDBの可能性の話
Akihiro Kuwano
 
PDF
神に近づくx/net/context (Finding God with x/net/context)
guregu
 
PDF
SLOのすすめ
Takeo Sawada
 
PDF
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Spark Summit
 
PPTX
AndApp開発における全て #denatechcon
DeNA
 
PDF
AWS X-Rayによるアプリケーションの分析とデバッグ
Amazon Web Services Japan
 
Google home
Iqbal Shaikh
 
Google Home
Malhar Pandhare
 
Google home - Social media campaign - Pierre-clement Lihou
Pierre-Clement Lihou
 
Home assistant
Marian Marinov
 
Amazon Echo vs Google Home: The Smart Home Begins
Blue Dress® Internet Marketing
 
Présentation Hardis groupe
Hardis
 
Actions On Google - How? Why?
Ido Green
 
Google home and actions
Rafael Pacheco
 
Google Home Voice App
Yoshima Fukuda
 
Blockchain on Go
Seiji Takahashi
 
Spiderストレージエンジンの使い方と利用事例 他ストレージエンジンの紹介
Kentoku
 
An introduction and future of Ruby coverage library
mametter
 
ScalaからGoへ
James Neve
 
golang.tokyo #6 (in Japanese)
Yuichi Murata
 
MongoDBの可能性の話
Akihiro Kuwano
 
神に近づくx/net/context (Finding God with x/net/context)
guregu
 
SLOのすすめ
Takeo Sawada
 
Apache Spark Streaming + Kafka 0.10 with Joan Viladrosariera
Spark Summit
 
AndApp開発における全て #denatechcon
DeNA
 
AWS X-Rayによるアプリケーションの分析とデバッグ
Amazon Web Services Japan
 
Ad

Similar to Google Home and Google Assistant Workshop: Build your own serverless Action on Google app (20)

PDF
Building conversational experiences with Actions on Google
Ido Green
 
PDF
Building Conversational Experiences with Actions on Google
Peter Friese
 
PDF
Your First Assistant App with DialogFlow + Firebase
Carlos Azaustre
 
PDF
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Marius Florian Mailat
 
PDF
How to build and publish a google home app with dialogflow
Moses Sam Paul Johnraj
 
PDF
Building Conversational Experiences for Google Assistant
Nader Khaled
 
PDF
Extending the google_assistant
Ndjido Ardo BAR
 
PDF
Google Assistant - Why? How?
Ido Green
 
PDF
Construindo projetos para o Google Assistant - I/O 2019 Recap São Paulo
Alvaro Viebrantz
 
PDF
Building High-Quality Apps for Google Assistant
Peter Friese
 
PDF
Google Assistant Revolution
Rafael Casuso Romate
 
PDF
Actions On Google - GDD Europe 2017
Ido Green
 
PDF
Google assistant basics
bhatnagar.gaurav83
 
PPTX
Google cloud functions
Péter Nagy
 
PDF
Aiy project, el día que le hablé a una caja
David Sánchez Jiménez
 
PDF
Engage user with actions
Matteo Bonifazi
 
PDF
EIA2017Portugal - Martin Omander - Build your own app for Google Home
European Innovation Academy
 
PDF
EIA2017Italy - Martin Omander - Build Your Own App for Google Home
European Innovation Academy
 
PPTX
How to Build a Dialogflow App by using Actions on Google.
Yuting Liu
 
PPTX
Hey hubballi! - Talk on "Actions on Google" #DevFestHubali
Smit Jethwa
 
Building conversational experiences with Actions on Google
Ido Green
 
Building Conversational Experiences with Actions on Google
Peter Friese
 
Your First Assistant App with DialogFlow + Firebase
Carlos Azaustre
 
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Marius Florian Mailat
 
How to build and publish a google home app with dialogflow
Moses Sam Paul Johnraj
 
Building Conversational Experiences for Google Assistant
Nader Khaled
 
Extending the google_assistant
Ndjido Ardo BAR
 
Google Assistant - Why? How?
Ido Green
 
Construindo projetos para o Google Assistant - I/O 2019 Recap São Paulo
Alvaro Viebrantz
 
Building High-Quality Apps for Google Assistant
Peter Friese
 
Google Assistant Revolution
Rafael Casuso Romate
 
Actions On Google - GDD Europe 2017
Ido Green
 
Google assistant basics
bhatnagar.gaurav83
 
Google cloud functions
Péter Nagy
 
Aiy project, el día que le hablé a una caja
David Sánchez Jiménez
 
Engage user with actions
Matteo Bonifazi
 
EIA2017Portugal - Martin Omander - Build your own app for Google Home
European Innovation Academy
 
EIA2017Italy - Martin Omander - Build Your Own App for Google Home
European Innovation Academy
 
How to Build a Dialogflow App by using Actions on Google.
Yuting Liu
 
Hey hubballi! - Talk on "Actions on Google" #DevFestHubali
Smit Jethwa
 
Ad

More from Bret McGowen - NYC Google Developer Advocate (7)

PDF
Knative and Kubernetes - bringing serverless to more developers
Bret McGowen - NYC Google Developer Advocate
 
PDF
Firebase Codelab - 2018 Milano
Bret McGowen - NYC Google Developer Advocate
 
PDF
Serverless with Google Cloud
Bret McGowen - NYC Google Developer Advocate
 
PDF
Machine learning with Google machine learning APIs - Puppy or Muffin?
Bret McGowen - NYC Google Developer Advocate
 
PDF
Google Machine Learning APIs - puppies or muffins?
Bret McGowen - NYC Google Developer Advocate
 
PDF
Firebase Code Lab - 2015 GDG Buffalo DevFest
Bret McGowen - NYC Google Developer Advocate
 
Knative and Kubernetes - bringing serverless to more developers
Bret McGowen - NYC Google Developer Advocate
 
Firebase Codelab - 2018 Milano
Bret McGowen - NYC Google Developer Advocate
 
Serverless with Google Cloud
Bret McGowen - NYC Google Developer Advocate
 
Machine learning with Google machine learning APIs - Puppy or Muffin?
Bret McGowen - NYC Google Developer Advocate
 
Google Machine Learning APIs - puppies or muffins?
Bret McGowen - NYC Google Developer Advocate
 
Firebase Code Lab - 2015 GDG Buffalo DevFest
Bret McGowen - NYC Google Developer Advocate
 

Recently uploaded (20)

PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Tally software_Introduction_Presentation
AditiBansal54083
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 

Google Home and Google Assistant Workshop: Build your own serverless Action on Google app