Using website payload as conditional logic in flows

Hi Team,

We wanna know whether user is logged in or not on client’s website.

So currently they have a login button in bot which redirects user to the login page for the website and once login process is completed the bot reloads and in the websites payload they are passing a key ‘loggedin’ (bool)
Can we use this payload data in bot as conditional logic?.

cc: @akshay_bhat

Yes you can. Check payload in bot for the key you are passing.
Check this Chat widget payload |

Thank you @Sukrit_Gupta