Send media
  • 23 Jun 2021
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Send media

  • Dark
    Light
  • PDF

Article summary

Send rich media such as images, audio or video to your users from your bot. Keep it simple by just adding the media, or include captions and use some of the editor tools we talked about earlier when using the block “Send a text message” to add bold, italics, emoticons or variables.

TYPICAL USES FOR THIS:

Use to send rich media such as:

  1. Images (JPG, PNG or GIF)
  2. Audio (MP3)
  3. Video (MP4)
  4. Documents (PDF)
  • Use as a reply to a user question/interaction by being able to send them an audio file, image, video clip or document.
  • Use as a way to convey an idea/message to your user to create a more visual/auditory experience.

Lets unpack the available features within this block and what you can do with it.


Select the type of media you’d like your bot to send. You can select from the following:

  • Upload File.
  • From URL
  • From YouTube

Each option will present you with an element you will need to interact with in order to proceed. Let’s see what each one does:

Upload File

This will require you to “Select Files To Upload”. Click on the button and use your file explorer application to browse to the file you’d like to upload.


Once successfully uploaded, the window will update like the example shown below.


Once you click on “Save” you will see the new block appear in the block editor. See below:




From URL (Coming Soon)
This will require you to paste in a URL. Simply copy and paste the URL into the provided box. Be sure to keep the http or https formatting included for the URL to work correctly when the bot sends the link.


From YouTube (Coming Soon)
This will require you to paste in a URL for your YouTube video. Simply copy and paste the URL into the provided box. Be sure to keep the http or https formatting included for the YouTube video to work correctly when the bot sends it to the user.

And from start to finish, it would look like this:

Do this by:

  1. Adding a new block.
  2. Selecting “Send a Message” as the category (It is usually selected by default).
  3. Select the “Send media” block.
  4. Select from the available options along the top of the block for the type of media you’d like to send. Available options are:
    1. Upload File (Such as a JPG, PNG, GIF, MP3, MP4 etc.)
    2. From URL
    3. From YouTube
  5. Then:
    1. If Uploading a File – Browse to the file you’d like to upload.
    2. If using From URL – Insert the URL link you’d like to send.
    3. If using From YouTube – Insert the URL for the YouTube video link you’d like to send.
TIP!
Add a caption to give context to your file attachment, URL or YouTube video. You can also format your caption with bold, italics or emoticons if you like just as you can with “Send a text message”.
Recommended next article...
Basic Blocks | Send a Message | Delay reply message

What's Next