foreign-sapphire
foreign-sapphire15mo ago

thread id?

where can i find the thread id , I'm using a function that says it needs it
No description
No description
2 Replies
Tico | Voiceflow Assistant
To find the thread ID in Voiceflow, you can follow these steps: 1. Identify the User and Share Info: You can pass a userID to set the built-in userid variable in your Voiceflow agent. This helps in tracking users and continuing sessions. 2. Customization & Configuration: If you are using a custom configuration, ensure you pass the versionID and url for your project. The versionID can be set to 'development' or 'production'. 3. Embedding Webchat: If you are embedding the webchat, make sure to set the render.mode to either overlay or embedded. For embedded mode, specify the HTML element ID where the webchat should attach. 4. Debugging and Best Practices: Use debug traces to provide helpful error messages and avoid embedding secrets into your function code. For more detailed information, you can refer to the following links: - Customization & Configuration - Embed & Customize Styling
W. Williams (SFT)
Just create a var name threadId and then add it there and to the output too. that variable stores the threadId into a var so that function can have memory of the conversation.

Did you find this page helpful?