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
You can get Result ID from the set variable block
https://docs.typebot.io/editor/blocks/logic/set-variable#result-id
Typebot Docs
Set variable - Typebot Docs
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?