The Options Panel of the Confirm block has many options to fill in. For example, we can choose whether we expect the client only to answer “Yes” & “No”, or whether there is an option to answer, “I do not know”.
We can also provide alternatives for mentioned answers. Obviously in real life, the confirmation may be expressed in many ways: “Yes”, “Sure”, “Of course.” For humans, it will mean the same, but for a voicebot, they are 3 different responses.
CONFIRMING THE IDENTITY – BRANCHING THE CONVERSATION
Let us assume in our case, that the answer will be only “Yes” or “No”.
So be nice, and when testing the behavior of your voicebot in this part of the conversation, answer only “Yes” or “No”.
So, with the above assumptions, it looks like we need to configure only one option: Speech Synthesizer.
As you see in the image above, I wrote: “Am I talking to${globals.first_name}?”This means I want the voicebot to say the name that is stored in a global variable – globals.first_name
I expect to hear: “Am I talking to Anna Gregorczyk?”
You should expect that you will hear the name you set in the previous Custom JS block.