O'Reilly logo
live online training icon Live Online training

Building Chatbots for the Google Assistant using Dialogflow

Romin Irani

Google Assistant is now available on most Android and iOS devices. It is also available on voice-only devices like Google Home. But how do you write your own Agents (your custom functionality) that can respond to both text and voice? The answer is via Actions on Google.

Attend this course to get a hands-on experience on how you can write Actions for Google assistant using Dialogflow. Dialogflow lets you write rich conversational agents in a single environment while generating the integration for more than just Google Assistant. You can even write agents that run on Skype, Slack, Facebook Messenger and more.

What you'll learn-and how you can apply it

  • Understand Actions on Google and how you can write an Action that can be made available on Google Assistant, which is available on millions on devices today.
  • Learn about Dialogflow, a tool that helps you build rich and conversational experiences.
  • Understand real world examples on how Dialogflow can help you can write text-based and voice-based chatbots across a multiple variety of mediums including Google Assistant, Slack and more.

This training course is for you because...

  • You want to understand how you can add your own Action that can be available on Google Assistant
  • You want to learn how to write chatbots using a leading tool like Dialogflow
  • You want to apply your current knowledge of Javascript and Node.js to write chatbots that can run on newer platforms like Google Assistant, Slack, Facebook Messenger and more.

Prerequisites

  • Ability to program in any one of the server-side programming languages like JavaScript (Node), Java, Python or Go. This is not mandatory and as long as ou can understand code, you should be fine.
  • Google Cloud Platform Account (A free account is available here: https://cloud.google.com/free/. The free tier is free forever).

Recommended Preparation:

Course Set-up:

  • A Google Cloud Platform Account.
  • A Google Cloud Platform Project with Billing Enabled.

Slides and Github code:

About your instructor

  • 20+ years of experience as a software developer with experience of desktop, server-side and mobile applications. Google Developer Expert for Google Cloud Platform for last 4 years, with a focus on learning and training developers across multiple Google Cloud Platform services. Blogs extensively with developer tutorials on https://www.rominirani.com

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Session 1 : Introduction to Conversational Experiences (15 minutes)

  • What is a Conversational Experience?
  • The Chatbot Development Landscape
  • Overview of Google Assistant and Actions on Google
  • Q & A : 10 minutes

Session 2 : Introduction to Dialogflow (30 minutes)

  • What is Dialogflow?
  • Dialogflow Features
  • Writing your first action using Dialogflow
  • Q & A : 10 minutes

Break : 5 minutes

Session 3 : More on Dialogflow (45 minutes)

  • Overview of Building Blocks
  • Understanding Linear and Non-Linear Conversations
  • Understand a couple of Conversational Experiences
  • Q & A: 10 minutes

Break : 5 minutes

Session 4 : Writing Fulfillment Actions using Dialogflow (30 minutes)

  • What are fulfillment actions
  • Writing a fulfillment action
  • Q & A : 10 minutes

Break : 5 minutes

Session 5 : Conversation Design (20 minutes)

  • Overview on Conversational Design
  • Best Practices and Do’s and Don’ts
  • Q & A : 10 minutes

Break : 5 minutes

Session 6 : Publishing Your Actions (20 minutes)

  • Overview of publishing your Actions to the world
  • Tips on approval process
  • Actions on Google Directory
  • Understanding metrics for your Actions on Google
  • Q&A : 10 minutes