Voiceflow PartnersVPVoiceflow Partners
Powered by
hurt-tomatoH
Voiceflow Partners•2y ago
hurt-tomato

Proactive Message and Opening it automatically after one second is not working.

I tried creating the chatbot and have integrated it with my website as well. But now when I am trying to add proactive messages alongside the one where the widget opens automatically after a few seconds (1 in my case) it isn't working. I tried copying the code from the Voiceflow documentation but it isn't working. Can someone help me with it? The code I am using currently is:

<script type="text/javascript">
(function(d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function() {
window.voiceflow.chat.load({
verify: { projectID: '65ec0609175bb21b06b57c9a' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production'
}); window.voiceflow.chat.proactive
.push({ type: 'text', payload: { message: "Hello, Chat with me to avail a guaranteed discount" } })
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
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

Proactive message not hiding / closing automatically
Pavel Čermák 🦾PPavel Čermák 🦾 / ❓┃ask-a-question
2mo ago
Message Delay not Working
AanchalAAanchal / ❓┃ask-a-question
7mo ago
iframe is not working
specific-silverSspecific-silver / ❓┃ask-a-question
2y ago
Interact text request, is it working?
JulienJJulien / ❓┃ask-a-question
2y ago