I want to pop up the voiceflow chatbot
When customer visits the website. I want the chatbot to be pop up automatically.
PLease provide me code for it.
This is my code which I am using right now :
<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: '687aad3e0dde4cc3e9cb1195' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production',
voice: {
url: "https://runtime-api.voiceflow.com"
}
});
}
v.src = "https://cdn.voiceflow.com/widget-next/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
6 Replies
This will cause you to use a message on every page load. @Steve B. | IntelleSync.ai have they fixed this?
@Braden did they remove the first message credit usage yet?
@UmairPerwaiz Check out this thread: https://discord.com/channels/1079548823610871889/1174398109300830268
Yeah, but won't it cause the assistant to churn through credits?
@W. Williams (SFT) so I believe credits are only used in response to a user query so proactives are OK now, @Braden can you confirm please?
yeah - this is fixed @Steve B. | IntelleSync.ai @W. Williams (SFT)