How to verify if the user is authentication in a digital bot flow?

Hi ,

I’m working within a digital bot flow in Genesys, and I need to verify if the user is authenticated. In the inbound message flow, I see that we can access the message.isAuthenticated value, but this doesn't seem to be available directly in the digital bot flow.

I've tried passing the isAuthenticated value from the inbound message flow to the digital bot flow, but noticed that if the user authenticates during the interaction with the bot, the isAuthenticated value doesn't reflect the updated status.

Has anyone faced this issue or found a workaround to dynamically check the user’s authentication status within the digital bot flow?

Thanks,
Karthik

Hi @Karthik_Ageer - indeed for the Message.isAuthenticated built-in variable is not exposed to Bot Flows, we'll re-assess on roadmap. The closest you can get now to the desired behavior is to use a combination of Bot Flow + Message Flow to detect whether End-User has signed-in. For instance, you could create a Loop in the initial Inbound Message Flow: inside the Loop you can check the value of Message.IsAuthenticated, and while this is False, just keep prompting using to Sign-In with a Digital Bot flow. The Digital Bot Flow in this case is very simple, just asking user to sign-in and acknowledge, no extra logic.