T
Typebot3d ago
waqas

How can I get the resultId that belongs to the current user in my website's JavaScript code?

I need to call a webhook from my JavaScript code, and the webhook URL requires resultId in its path. My Typebot chatbot is listening for the webhook request.
2 Replies
Baptiste
Baptiste15h ago
You can get Result ID from the set variable block https://docs.typebot.io/editor/blocks/logic/set-variable#result-id
waqas
waqasOP8h ago
Thanks Baptiste for your reply. I need to access the Result ID in my website's JavaScript code, where my Typebot chatbot is hosted. Is there a method available to pass the Result ID to my website's code?

Did you find this page helpful?