Is it possible to build this with Vapi?
# support
k
I'm working on a flow where I need to guide users through a multi-step process: 1. Collect the user's name 2. Obtain their unique ID 3. Ask for a 3-digit number Depending on the 3-digit number provided, I need to take different actions: 1. If an incorrect number is given, transfer the call to a live agent 2. If the correct number is provided, share non-sensitive account information with the user. 3. Can I play predefined messages? Is it possible to build this type of conditional, step-by-step flow within the Vapi.ai platform? Thank you!
s
Yes, this workflow can be achieved. Follow these steps: First, use prompts to carry out the initial tasks. Next, create a function to validate the three-digit code. Depending on the validation result, utilize the call forwarding option provided by Vapi. If the information is accurate, return the corresponding value using a function call. This returned value can be used to disseminate information. The predefined messages can be played at the start and conclusion of the call.
k
Thank you @Sahil! What do you mean with 'disseminate information'? Does this mean that I can give it as context to the bot so it shares this info to the user?
s
Yeah.