conscious-sapphire•15mo ago
Understanding and Evaluating Responds
Hey, this might be a bit tricky I need some expert help if anyone can lend a hand.
I'll have different companies and people trying to access the same type of information but for different companies. I've managed successfully to create a workflow for 1 but now I need to create the welcome home to be able to evaluate and understand for which company the user needs info on. And also make sure that or the follow up questions are for that company unless asked for a different one.
Should I just make an intent to ask for the company, and then just take it to the company flow individually? But then how do I make sure that it will stay on that feedback loop, or correctly jump to another if asked?
1 Reply
In order to handle multiple users and ensure the conversation stays relevant to the specific user, you can follow these steps:
1. Create Separate Interactions for Each User
- Interaction Creation: Create separate interactions for each user. For example, customer A should communicate with /state/user/customerA/interact whereas customer B should communicate with /state/user/customerB/interact.
- Session Management: Each user's session remains unchanged until they give their order. For instance, it might be waiting for customer B to give their order.
2. Advance the Conversation Based on User Response
- User Response: When a user gives a response, such as "I would like a large pizza", it will advance their specific conversation session. For example, the app might then ask what toppings customer A wants.
By following these steps, you can ensure that your assistant correctly identifies the user and maintains context throughout the conversation, providing a seamless and relevant user experience.
For more detailed guidance, you can refer to the following resources:
- Voiceflow Developer Overview