Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Build your first chat bot with WhatsApp, Twilio and Dialogflow Dale Humby CTO, Nomanini Google Cloud Platform Developer Expert

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

90’s

Slide 5

Slide 5 text

90’s 00’s

Slide 6

Slide 6 text

90’s 00’s 10’s

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Average user spends 2 hours 22 min per day on their phone

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Meet your customers where they already are

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

90’s 00’s 10’s Next

Slide 14

Slide 14 text

Don’t have to learn a new UI

Slide 15

Slide 15 text

Departures Fast answers to simple questions

Slide 16

Slide 16 text

Opportunity for a personal connection

Slide 17

Slide 17 text

WhatsApp

Slide 18

Slide 18 text

Dialogflow WhatsApp

Slide 19

Slide 19 text

Dialogflow WhatsApp

Slide 20

Slide 20 text

API Backend services 0xc0ffee lab

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

API Backend services 0xc0ffee lab

Slide 23

Slide 23 text

Dialogflow API Backend services 0xc0ffee lab

Slide 24

Slide 24 text

Dialogflow Agent

Slide 25

Slide 25 text

Dialogflow Agent Unstructured language “Please can I have a coffee?” “Deliver a flat white to 3 Main Rd at 10am” “Espresso. Black, please.”

Slide 26

Slide 26 text

Dialogflow Agent Unstructured language Structured data “Please can I have a coffee?” “Deliver a flat white to 3 Main Rd at 10am” “Espresso. Black, please.” $time $location $coffeeType

Slide 27

Slide 27 text

Dialogflow Agent Unstructured language Structured data “Please can I have a coffee?” “Deliver a flat white to 3 Main Rd at 10am” “Espresso. Black, please.” $time $location Expression $coffeeType

Slide 28

Slide 28 text

Dialogflow Agent Unstructured language Structured data “Please can I have a coffee?” “Deliver a flat white to 3 Main Rd at 10am” “Espresso. Black, please.” $time $location Expression Intent $coffeeType

Slide 29

Slide 29 text

Dialogflow Agent Unstructured language Structured data “Please can I have a coffee?” “Deliver a flat white to 3 Main Rd at 10am” “Espresso. Black, please.” $time $location Expression Intent Parameters $coffeeType

Slide 30

Slide 30 text

Dialogflow Agent Let’s build

Slide 31

Slide 31 text

Dialogflow API Backend services 0xc0ffee lab

Slide 32

Slide 32 text

API Backend services 0xc0ffee lab Dialogflow

Slide 33

Slide 33 text

Dialogflow API Backend services 0xc0ffee lab

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Dialogflow API Backend services 0xc0ffee lab Firebase Functions

Slide 36

Slide 36 text

Dialogflow API Backend services 0xc0ffee lab Firebase Functions Google Assistant

Slide 37

Slide 37 text

Top tips for building a good conversational UI “AI” “Can I teach this to a high school student in 1 hour and expect them to do it well?”

Slide 38

Slide 38 text

Top tips for building a good conversational UI “AI” “Can I teach this to a high school student in 1 hour and expect them to do it well?” Find all the cat photos Spam / not? Answer simple questions Order and deliver coffee

Slide 39

Slide 39 text

Top tips for building a good conversational UI “AI” “Can I teach this to a high school student in 1 hour and expect them to do it well?” Summarise current world affairs Give me a legal opinion on ... Predict the stock market Find all the cat photos Spam / not? Answer simple questions Order and deliver coffee

Slide 40

Slide 40 text

Top tips for building good conversational UI’s ● Simple, structured requests – fast, accurate answers ● Give it a personality ● Check logs ○ Analytics ○ Unmatched intents ○ Improve training data

Slide 41

Slide 41 text

So you want WhatsApp for business… our story

Slide 42

Slide 42 text

So you want WhatsApp for business… our story ● Brace yourself… took me 6 months ● Need to use an aggregator (e.g. Twilio) ● Need Facebook for Business ● Twilio WhatsApp is very beta. I probably sent 8 support tickets. Dashboard broke after each stage ● SA telephone number (+27) did not work. US number did ● WhatsApp profile pic 640x640 jpg (no transparent background) ● WhatsApp has to approve your push messages ● Unlikely to get the green tick (unless you’re a global brand)

Slide 43

Slide 43 text

Send a WhatsApp message to +1 415 523 8886 with code join eventually-seems

Slide 44

Slide 44 text

Resources Dialogflow dialogflow.cloud.google.com (free) Twilio twilio.com/try-twilio ($15 credit at signup) Codelabs Build your first chatbot with Dialogflow codelabs.developers.google.com/codelabs/chatbots-dialogflow-appointment-scheduler/ Build Actions on Google Assistant codelabs.developers.google.com/codelabs/actions-1 Dale Humby [email protected] dalehumby.com We’re hiring nomanini.com/careers

Slide 45

Slide 45 text

Slide 46

Slide 46 text

OMG the demo failed

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

Send a WhatsApp message to +1 415 523 8886 with code join eventually-seems.

Slide 69

Slide 69 text

Backup slides

Slide 70

Slide 70 text

Final tip: Use Chatbots as another tool in your toolbox Chatbot KB Suggest answers Sentiment analysis Speech ⟷ text Transcripts Customer satisfaction Handoff to human operator