Voiceflow PartnersVPVoiceflow Partners
Powered by
dangerous-fuchsiaD
Voiceflow Partners•2y ago•
1 reply
dangerous-fuchsia

Ultimple vars pass to voiceflow from web

based on this:
To pass the userID from your website to your Voiceflow application, you can follow these steps:

Set up the userID in your web page:
<script>
let userID = 'user-1234';
</script>

Modify the Voiceflow chat load script to include the userID:
<script>
(function (d, t) {
var v = d.createElement(t),
s = d.getElementsByTagName(t)[0];
v.onload = function () {
window.voiceflow.chat.load({
verify: {
projectID: 'XXXXXXXXXXXXXXXXXX',
},
url: 'https://general-runtime.voiceflow.com/',
versionID: 'production',
userID: userID
});
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs";
v.type = "text/javascript";
s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>

This setup will pass the userID from your website to the Voiceflow chat. The userID value will be set as the built-in userid variable in your Voiceflow agent. However, it's important to note that you should avoid using identifying information like real names, emails, telephone numbers, or other identifying information in the userID due to potential security hazards.

For more details, you can refer to the Voiceflow Customization & Configuration documentation.

How to pass multiple i variables to voiceflow?
like userID,
testID and etc
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Pass data from web page to voiceflow assistant custom variables
brilliant-limeBbrilliant-lime / ❓┃ask-a-question
2y ago
Take userId from web to voiceflow
Tico | Voiceflow AssistantTTico | Voiceflow Assistant / ❓┃ask-a-question
2y ago
How to pass client name from Zapier to use in Voiceflow call?
TomasTTomas / ❓┃ask-a-question
6mo ago
Full Screen Voiceflow Web-Chat integration
colourful-plumCcolourful-plum / ❓┃ask-a-question
2y ago