Related to How to verify if the user is authentication in a digital bot flow? - #4 by Angelo_Cicchitto
Hello @Angelo_Cicchitto / Team - I have two almost similar requirements, as discussed:-
- The messaging for authenticated vs un-authenticated user differs slightly. for ex, if user is authenticated, We will display:-
This link will take you to our Programs & Billing Options Page, where you can sign up for our large font bill summary. Just scroll down and click the "Enable" button next to that service.
Buttons -
Large Font Bill Summary,
Do Something Else
followed by another message bubble of
Here, under the Programs and Billing Options, scroll down and click the "Enable" button next to Large Font Bill Summary to sign up for the service. If you are unable to view the full screen, minimize the chat window.
and then a yes or no question
Anything else I can do for you?
Yes -> This goes to the beginning of the flow
No -> This exits the chatbot.
For unauthenticated user:-
This link will take you to our Programs & Billing Options Page, where you can sign up for our large font bill summary. Just scroll down and click the "Enable" button next to that service.
Buttons -
Large Font Bill Summary,
Do Something Else
If the user clicks on "Large Font Bill Summary", the user is redirected to the page, but the user needs to sign-in. Once the user is signed-in, the chat resets.
How can we achieve this? Do I need to create two separate bots , one for authenticated user and another for un-authenticated, or there is a way to do a check if the "Message.IsAuthenticated" is set to true display one set of message versus when the user is not logged in ?
- If the user is not logged in, and after getting re-directed to the new page , the user is logged in. We want to preserve the previous chat bot conversation. How could this be achieved.
Thanks for your help!!