When building a bot, you want to give users the most enriching experience possible. We understand that often text alone does not suffice in providing this. As such we allow bot makers like you to input videos and sound clips into the chat flow. 

Here is how you can do this:

To insert a video or a sound clip into your flow, you will first have to find or upload the content to Youtube(for videos) or SoundCloud(for audio clips).

Then you will need to find the embed code for the content. If you do not what embed code is check out our instructions for this below.

You can then paste this code into a message bubble wherever it is needed in your messaging flow, press the "Add Message Bubble" button and you are all set. The content will appear.

How to find embed code for Videos and Sound Clips?

To do this, you will need to first upload or find the content you wish to use to a hosting site. The best options are Youtube for videos and SoundCloud for sound clips.

Youtube

Once you have found the video you want to embed on Youtube, press the share button under the video and then click embed. Some html code should appear that looks like this “<iframe…”. This is the embed code that you can put into your messaging flow. You can then adjust the width and height in this iframe code depending on what works best for you.

See the gif below for a visualisation.

SoundCloud

Once you have found the video you want to embed on SoundCloud, press the share button and then click embed. Some html code should appear. This is the embed code that you can put into your messaging flow. You can then adjust the width and height in this iframe code depending on what works best for you.

See the gif below for a visualisation.

Did this answer your question?