Slide 1

Slide 1 text

     Updates 2022 #voicelunchjp #vfjug #voiceflow

Slide 2

Slide 2 text

About me @VoiceflowHQ | #VFJUG

Slide 3

Slide 3 text

About me @VoiceflowHQ | #VFJUG Kuniaki Shimizu (@kun432) ● Freelance Infrastructure engineer ● Kobe, Japan ● Kubernetes/AWS/Terraform, etc. ● 4 years experience of Voiceflow ● attend/organize communities ○ #VoiceLunchJP ○ #AAJUG (Amazon Alexa Japan User Group) ○ #VFJUG (Voiceflow Japan User Group)

Slide 4

Slide 4 text

https://www.facebook.com/groups/vfjug/ Voiceflow Japan User Group @VoiceflowHQ | #VFJUG

Slide 5

Slide 5 text

『Voiceflow & VUI』 ● first Voiceflow fan book in Japan ● A wide range of topics covered: Introductory/intermediate/advanced, prototyping, VUI design, IoT/cloud integration, and more! ● Authored by Top VUI professionals in Japan ● Including preface by Voiceflow officially! Price: 1500JPY @VoiceflowHQ | #VFJUG *End of sales, sorry.

Slide 6

Slide 6 text

Today’s topic @VoiceflowHQ | #VFJUG

Slide 7

Slide 7 text

Updates 2022 @VoiceflowHQ | #VFJUG ● Voiceflow is evolving soooo fast! ● Wil introduce some of the major new features/changes released in 2022 (as an User)

Slide 8

Slide 8 text

@VoiceflowHQ | #VFJUG Disclaimer ● Information in this document is as of the beginning of December 2022. It may be subject to change in the future. ● The information is based on my personal research. Please note that the contents may be incomplete or wrong.

Slide 9

Slide 9 text

New Features/Changes in 2022 @VoiceflowHQ | #VFJUG

Slide 10

Slide 10 text

@VoiceflowHQ | #VFJUG New Features/Changes in 2022 1. New User Interface 2. User Persona 3. Web Chat Project 4. Custom NLU for custom assitant *Based on https://www.voiceflow.com/category/product-release *There are more!

Slide 11

Slide 11 text

@VoiceflowHQ | #VFJUG 1. New User Interface

Slide 12

Slide 12 text

@VoiceflowHQ | #VFJUG 2019

Slide 13

Slide 13 text

@VoiceflowHQ | #VFJUG 2020〜2021

Slide 14

Slide 14 text

@VoiceflowHQ | #VFJUG and 2022!

Slide 15

Slide 15 text

@VoiceflowHQ | #VFJUG 1. New User Interface Challenge of GUI: ● Lots of blocks, lots of lines... ● Unmanageable when project is large/complex ● Similar/same blocks in multiple places

Slide 16

Slide 16 text

@VoiceflowHQ | #VFJUG 1. New User Interface

Slide 17

Slide 17 text

@VoiceflowHQ | #VFJUG want to manage this efficiently!

Slide 18

Slide 18 text

@VoiceflowHQ | #VFJUG 1. New User Interface ● make it even easier for designers to design. ● My favorites ○ Actions ○ Topics / Components / Libraries ● Important changes for Alexa

Slide 19

Slide 19 text

@VoiceflowHQ | #VFJUG Actions ● What we often do at a branch: ○ Change contexts for each branch ○ Set variables for each branch ● More branches, more lines and blocks. Repeat the same things for each branch. ● Using Actions, we can make these simple in 1 block!

Slide 20

Slide 20 text

@VoiceflowHQ | #VFJUG Actions

Slide 21

Slide 21 text

@VoiceflowHQ | #VFJUG Topics/Components/Libraries feature meaning Use case: ex: banking app Topics Separate flows for each intent Keep each small and manageable. ● from the Main flow to… ・balance inquiry flow ・transfer flow Components Make typical/frequent processes into a re-usable component. *can call it anytime. ● Initializing for API ● API requests ● result dialog Libraries Make typical/frequent processes into a re-usable component. *can copy it anytime. ● make basic API request process into a template. ● copy from its template and fix for each processes such as balance inquiry or transfer.

Slide 22

Slide 22 text

@VoiceflowHQ | #VFJUG Ex: Topics Home Ordering Asking open hours Each context (intent) can be managed as a separate flow.

Slide 23

Slide 23 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa ● Alexa-specific blocks and settings are sunsetting: ○ Purchase/Cancel(ISP) ○ Reminder ○ UserInfo ○ Permissions ○ Account Linking ○ Skill events… For these features, how can we implment?

Slide 24

Slide 24 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa We can still implement these using Directive/Event Steps!

Slide 25

Slide 25 text

@VoiceflowHQ | #VFJUG Alexa APIs by Amazon, IMO ● Before ○ each API for each feature. ○ the more features, the more “various” APIs. ○ need to implement differently for each block ● Now ○ seems to commonalize those into “Skill Connections” ○ A single endpoint, different JSON object for each feature. ○ Required user interactions and necessary processing outside of skills. ○ Skills just receive its response.

Slide 26

Slide 26 text

@VoiceflowHQ | #VFJUG Alexa APIs by Amazon, IMO ● Before ○ each API for each feature. ○ the more features, the more “various” APIs. ○ need to implement differently for each block ● Now ○ seems to commonalize those into “Skill Connections” ○ A single endpoint, different JSON object for each feature. ○ Required user interactions and necessary processing outside of skills. ○ Skills just receive its response. Directive Event

Slide 27

Slide 27 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa ● Directive

Slide 28

Slide 28 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa ● Event

Slide 29

Slide 29 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa looks difficult and complex…?

Slide 30

Slide 30 text

@VoiceflowHQ | #VFJUG Important Changes for Alexa ● Documents are now ready!!! https://developer.voiceflow.com/docs

Slide 31

Slide 31 text

@VoiceflowHQ | #VFJUG 2. User Persona

Slide 32

Slide 32 text

@VoiceflowHQ | #VFJUG ● Personalized conversation flow ○ I am using it for the first time / I have used it many times ○ I live in Tokyo / I live in Osaka ○ Today is my birthday/other than that ● need to test for each different condition set up user personas, then we can test specific conditions! 2. User Persona

Slide 33

Slide 33 text

@VoiceflowHQ | #VFJUG 1st time after 2nd time 2. User Persona

Slide 34

Slide 34 text

@VoiceflowHQ | #VFJUG 2. User Persona

Slide 35

Slide 35 text

@VoiceflowHQ | #VFJUG 2. User Persona

Slide 36

Slide 36 text

@VoiceflowHQ | #VFJUG 2. User Persona

Slide 37

Slide 37 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project

Slide 38

Slide 38 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project ● Quickly create a website-embedded chatbot using only Voiceflow! ○ Create a "Web Chat" type project ○ Create a conversation flow ○ HTML/JavaScript will be output ○ Just paste it into your website! Sooooo easy!!!

Slide 39

Slide 39 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project

Slide 40

Slide 40 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project

Slide 41

Slide 41 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project

Slide 42

Slide 42 text

@VoiceflowHQ | #VFJUG 3. Web Chat Project

Slide 43

Slide 43 text

@VoiceflowHQ | #VFJUG Chat histories in Transcripts

Slide 44

Slide 44 text

@VoiceflowHQ | #VFJUG More in future!

Slide 45

Slide 45 text

@VoiceflowHQ | #VFJUG 4. Custom NLU for custom assitants

Slide 46

Slide 46 text

@VoiceflowHQ | #VFJUG 4. Custom NLU for custom assitants Enterprise plan only🙇

Slide 47

Slide 47 text

@VoiceflowHQ | #VFJUG 4. Custom NLU for custom assitants ● Can choose NLU for custom assitant ● Import/Export models and deploy for Dialogflow ES/CX. Import/Export models for others. ○ Voiceflow (default) ○ Dialogflow ES/CX ○ IBM Watson ○ Microsoft LUIS ○ Rasa ○ Salesforce Einstein ○ Amazon Lex ○ Nuance Mix

Slide 48

Slide 48 text

@VoiceflowHQ | #VFJUG 4. Custom NLU for custom assitants ● My favorite is Dialogflow ES/CX! ○ 1-click deploy ○ More Japanese-language support such as various and rich built-in entities. ○ Easy integrations with SNS, phone, web chat, etc using Dialogflow Integrations. ○ need GCP account and GCP usage fees.

Slide 49

Slide 49 text

@VoiceflowHQ | #VFJUG 4. Custom NLU for custom assitants

Slide 50

Slide 50 text

@VoiceflowHQ | #VFJUG many more features!

Slide 51

Slide 51 text

@VoiceflowHQ | #VFJUG Try it out!!

Slide 52

Slide 52 text

@VoiceflowHQ | #VFJUG Can’t wait new features in 2023!!!

Slide 53

Slide 53 text

Thanks! #voicedg #voiceflow #vfjug

Slide 54

Slide 54 text

@VoiceflowHQ | #VFJUG Appendix1: About Web Chat Project and Dialog Management API

Slide 55

Slide 55 text

@VoiceflowHQ | #VFJUG ● Actually, using Dialog Management API, we have been able to create Web chatbots ever. ● Dialog Management API ○ For custom assistant. ○ enable to access your conversational flow in Voiceflow via API. ● However… ○ need to code for frontend UI(JavaScript/CSS, etc) ○ need to code for backend app ○ CORS, Same-site Cookies, etc… Web Chat Project is easier than ever! About Web Chat Project and Dialog Management API

Slide 56

Slide 56 text

@VoiceflowHQ | #VFJUG ● OTOH, Dialog Management API expands the possibilities! ○ SNS bot (Slack/FB Messagener/MS Teams,etc) ○ Phone/IVR (Twilio) ○ Smartphone Apps, Web Apps, etc. ○ Enable to connect every interfaces to Voiceflow! ● 2 APIs for each use-cases ○ State API - simple and easy ○ Stateless API - enable to manage sensitive data on your own. About Dialog Management API, See Apendix. About Web Chat project and Dialog Management API

Slide 57

Slide 57 text

@VoiceflowHQ | #VFJUG Appendix2: Dialog Management API(2021)

Slide 58

Slide 58 text

@VoiceflowHQ | #VFJUG Dialog Management API ● For custom assitants ● enable to access to your conversational flow in Voiceflow via API.

Slide 59

Slide 59 text

@VoiceflowHQ | #VFJUG Dialog Management API customers develop Apps Web Chat bot Frontend Voiceflow Conversational Model Backend processes Custom Assistants Projects A P I Developers Designers design publish INPUT/ ASR/STT NLU/NLP, Backend processes RESPONSE /TTS Custom Assistant

Slide 60

Slide 60 text

@VoiceflowHQ | #VFJUG Dialog Management API ● Any frontends ○ SNS: LINE, Slack, Messenger, etc ○ Phones/IVR: Twilio ○ Smartphone Apps/Web Apps ○ Own Custom Smartspeakers ● Developers and designers can share the workload. ● One conversational flow, multiple frontends. ○ Fix conversational flow once, change everything. ○ Frontend/Backend are simply connects to Dialog Management API and customize requests/responses for each.

Slide 61

Slide 61 text

@VoiceflowHQ | #VFJUG ● State API ○ Request with User ID only. ○ Voiceflow manages conversational “State”. ○ Response varies everytime. ○ Simple and Easy. ● Stateless API ○ Request with whole “State” object. ○ manage conversational “State” on your own. ○ With same “State” object, always same response. ○ Enable to manage sensitive data on your own. Important for business use-cases. 2 APIs for Dialog Management API

Slide 62

Slide 62 text

@VoiceflowHQ | #VFJUG ex1: SNS Integrations (Slack,etc) ユーザー SNS apps SNS Platform Voiceflow Conversational Model Backend processes A P I Input API Access PaaS Response 状態 データ NLU/NLP, Backend processes

Slide 63

Slide 63 text

Phone+ Voice/Text converts @VoiceflowHQ | #VFJUG ex2: Phone/IVR Integrations (Twilio,etc) Customers IVR Platform/Phone Gateway Voiceflow Conversational Model Backend processes A P I API Access PaaS ASR+STT TTS State Data NLU/NLP, Backend processes

Slide 64

Slide 64 text

@VoiceflowHQ | #VFJUG ex3: Web Chatbot Integrations Customers Web site Voiceflow Conversational Model Backend processes A P I API Access PaaS INPUT RESPONSE Web Chatbot Ajax Client State Data NLU/NLP/ Backend Processses