unique-blueU
Voiceflow2y ago
2 replies
unique-blue

Can I serve IMAGES or GIFs in proactive.push messages?

Hey all, just trying to understand if I can serve images from URLs as proactive messages in Voiceflow.

Here's my code snippet:

// Delay the second message to be after the first
setTimeout(() => {
window.voiceflow.chat.proactive.push({
type: 'image', // Assuming 'image' is the type for sending images/GIFs
payload: {
url: 'https://www.reactiongifs.com/wp-content/uploads/2013/07/ralph-wave.gif' // URL of your GIF
}

I couldn't find any docs for this, I've read the one on proactive messages but it only gives 'text' as examples. Let me know!
image.png
image.png
Was this page helpful?