T
Typebot•2w ago
Nec

Pass auth parameters to Typebot

Hey @Anthony , I'm embedding my typebot inside a webapp that has login access, I'd like the bot to get access to the connected user's info (name,email,etc),do you know if it's possible? When the user logs in, there's an /authenticate endpoint that returns the user's info as well as jwt token, could this be used? I also thought of passing parameters into the Typebot.initBubble() function (or even url) by self hosting, but how would I access it in the viewer? This is a make-or-break requirement for me, and I'd hate to leave such a good platform (Typebot🄰 , Merci) because of it.
3 Replies
Baptiste
Baptiste•2w ago
You could send that info via prefilled variables
Nec
NecOP•18h ago
Great, that was the solution all along, just didn't know how to retrieve the variables in the builder. Thank you!

Did you find this page helpful?