Your AI Connector Docs

Media Library

The Media Library lets your AI bot send images, videos, GIFs, voice notes, and PDF documents to a contact during a conversation. You upload the files once, tell the bot when each one should be sent, and the bot picks the right one at the right moment - for example, sending a product photo when someone asks “can I see it?”, a PDF brochure when someone asks for the full price list, or a quick voice note that walks a customer through your menu.

Think of it as a shelf of ready-to-send files for your bot. You decide what’s on the shelf and when each item gets used.

The Media Library is available on every account by default.


Why Use a Media Library

Text-only answers can only go so far. A photo, short video, or voice note often answers a question faster and more convincingly than a paragraph of text.

What a media library lets your bot do:

  • Send a product photo when a contact asks to see something
  • Share a menu, price list, or product shot as an image
  • Send a short demo or how-to video
  • Reply with a GIF when it fits the tone of the conversation
  • Send a voice note or audio clip for a personal, human touch
  • Send a PDF document - a brochure, price list, catalog, or terms document

Voice notes are always recordings you added to the library. The agent does not turn its typed replies into voice notes. To have the agent talk with a contact, use AI Voice Calls.

From the library, the bot only sends files you uploaded and approved. It never makes up a file and never sends a file from a link a contact pastes. Keeping a large catalogue in your own system instead? See Files from your own tools.


Where to Find It

In the main sidebar, under AI Studio, click Media Library. This page shows every file the bot can send in one account-wide view, grouped so a file used in several places appears as a single card. Each item belongs to one or more of your AI Agents — the card lists which. Use the Show filter at the top to view everything or just one agent’s media.


How the Bot Decides What to Send

This is the most important part to get right. For each item you upload, you write a short instruction describing when the bot should send it. The bot reads these instructions and only sends an item when the situation you described actually comes up.

For example:

Item “When should the bot send this?”
Photo of the blue dress When a customer asks to see the blue version or what it looks like
Dinner menu (image) When someone asks what food you serve or asks to see the menu
Setup walkthrough (video) When a customer asks how to install or get started

The clearer your instruction, the better the bot’s timing. Vague instructions like “send when relevant” give the bot less to work with than “send when a customer asks about pricing for the premium plan.”

Sending several items together

Sometimes one file is not enough: someone asks for your results and you want them to see all your before and after photos, not just one. Put those items in a group:

  1. Open each item (or add it) and type the same name in Group, for example Results. Names you already used show up as suggestions.
  2. Write a “when to send” instruction on the items that fits the whole set, like “when someone asks for results or proof”.

When the conversation calls for that set, the bot sends every item in the group one after another, with one message on the first item. When someone asks for just one example, the bot can still pick a single item. Items without a group work exactly as before.


How the Bot Knows What’s in Each File

When you upload a file, the platform automatically analyses it and writes a short description of what it contains - it “looks at” your image or video, or transcribes your audio. The bot uses this together with your “when to send” instruction, so it understands both what the file is and when to use it - even if your own description is brief. You’ll see this AI summary on each item in the list (shown as “AI sees: …”).

You don’t have to do anything for this - it happens on upload. It just means a clear title and instruction, plus the AI’s own read of the file, give the bot the best chance of sending the right thing at the right moment.

Correcting a transcript

For a voice note or audio file, that description is the transcript: the words spoken in the recording. It is also the text shown under the voice note in your chats after the bot sends it. Automatic transcription sometimes mishears a name, a brand or an unusual word, and you can fix that yourself.

  1. In your Media Library, or in the agent’s Media tab, click the item to open its editor.
  2. Find the Transcript field. It shows the text that was written when you uploaded the file.
  3. Correct the words that were misheard, then click Save.

From then on the bot reads the corrected text, and every voice note it sends shows the corrected text under it. Messages that were already sent keep the text they were sent with.

Good to know:

  • The transcript is kept as one short paragraph of up to 300 characters. A longer recording is cut off at that length, so keep the part that tells the bot what the recording is about.
  • Images, videos and documents have the same field, called What the bot sees in this file. Edit it when the automatic description is wrong or misses something important.
  • You can empty the field. The bot then relies on your title and “when to send” instruction alone.
  • The field appears when you edit an existing item. A new upload always starts with the automatic text.

Media in Follow-Ups

One of the most useful places for media is a follow-up - the automatic nudge the bot sends when a contact who replied earlier goes quiet for a while. A short voice note, a quick video, or a “still there?” clip often re-engages someone far better than another line of text.

To use it, write a “when to send” instruction that describes a follow-up situation, for example:

Item “When should the bot send this?”
Re-engagement voice note When following up with someone who has gone quiet for a while
“Still there?” GIF If a contact stops replying mid-conversation

When that moment arrives, the bot decides whether one of your media items fits the follow-up and, if so, sends it.

Want a specific file on a specific follow-up? A “when to send” note describes a situation, so the bot decides when it fits; it does not know which follow-up number is firing. To send the voice note on exactly the second nudge and the pricing image on the third, pin the items to those steps on the agent’s Follow-ups step instead: see Attach a media item to a specific follow-up.

Follow-ups can be media-only. If an item is meant to stand on its own - say a voice note that already says everything - the follow-up can be just that media, with no text. Signal this in the “What should the bot say when sending this?” field, e.g. “just send the voice note, no text needed”. Otherwise the bot sends a short text nudge alongside the media.

A few things to know:

  • This works for both the quick follow-ups (the early nudges) and the longer multi-day follow-up cycles - on WhatsApp Web, Instagram, Messenger, Telegram, and iMessage.
  • On the WhatsApp Business API, media follow-ups can only go out while the 24-hour window is still open. After that, WhatsApp allows only pre-approved templates, so later follow-ups there stay text-only.
  • The same per-conversation send cap applies, so the bot won’t repeat the same file across follow-ups unless you raise the limit on that item.

How to Add Media

  1. In the main sidebar, click AI Studio.
  2. Click Media Library.
  3. Click the + Add media button.
  1. Under Add to agents, tick the agent(s) the item should belong to. An item can be attached to more than one, and you can search the list or sort it by Recent, Name or Live first.
  2. Click to pick a file (image, video, GIF, audio, or PDF) from your device. For audio you can also switch to Record voice note and record one right in the app instead of uploading. If you add audio, you can choose whether it’s sent as a voice note (a recorded-voice bubble) or a regular audio file.
  3. Type a short Title so you can recognize the item later (e.g. “Blue dress photo”).
  4. In the When should the bot send this? field, describe the situation in plain language.
  1. Click Add media. The item appears in your media list and is immediately available to the bot on every agent you attached it to.

You can also add media from an Agent’s own Media tab — that opens the same underlying library, just pre-filtered to that agent. The tab works from the moment the agent exists, including one you created a minute ago or duplicated from another, and a file you upload there belongs to that agent straight away:

Already uploaded a file and want to reuse it on another agent? Instead of uploading it again, open the item and click Assign, then pick the additional agent(s). The file itself isn’t duplicated — you’re just adding another agent to the same media item.

What to fill in

Field What to write
File The image, video, GIF, audio/voice note, or PDF you want the bot to be able to send
Title A short label for your own reference (the contact never sees this)
When should the bot send this? A clear description of the situation that should trigger this item
Max times to send per conversation How many times the bot may send this file to the same contact. Defaults to 1, so the bot won’t repeat the same file at people. Increase it if a file should be resendable.
What should the bot say when sending this? Optional. A suggested message for when the bot sends this item. The bot uses it as guidance and phrases it naturally in context (it won’t read it robotically). Leave it blank to let the bot decide. If you want the exact words, write something like “say exactly: Let me send you a quick voice note.” You can write that instruction in French, Spanish, Portuguese, German, Dutch or Italian too, for example “dis exactement : Voici notre liste de prix.”
Group Optional. Give several items the same group name, like “Results”, and the bot can send them together in one go. See Sending several items together.

These fields are notes to the bot, not messages to your contact

The Title, When should the bot send this? and What should the bot say when sending this? fields are yours to write in whatever language you think in. Your contact never sees them.

The bot always writes to each contact in that contact’s language. So if you write your notes in Chinese and an English-speaking contact asks to see the venue, the bot sends the photo with an English caption based on your note. Write your notes in the language that is easiest for you.

Supported files and limits

  • Images: JPG, PNG, GIF, WebP
  • Video: MP4, MOV, WebM
  • Audio: MP3, OGG, WAV, M4A (send as a voice note or a plain audio file)
  • Documents: PDF
  • Maximum size: 10 MB per file. A bigger file is refused as soon as you pick it, with a message saying so. For a large PDF, run it through a free PDF compressor first (most image-heavy PDFs shrink well under 10 MB), or split it into parts.
  • Per agent: up to 50 items

When you upload a PDF, the platform reads its text so the bot knows what’s inside it - same as the automatic analysis for images and audio.


Editing and Removing Media

  • To change an item’s title, its when-to-send instruction or its group, click the item and edit the fields, then save. (Editing the instruction does not require re-uploading the file.)
  • To fix a transcript that misheard a word, or the description of what the bot sees in a file, edit that field in the same editor. See Correcting a transcript.
  • To remove an item, click the delete (trash) icon on it. The file and its instruction are removed and the bot stops sending it.
  • To replace the file itself, delete the item and add a new one.

Which Channels Can Receive Media

Most channels can receive media, but not all:

Channel Media support
WhatsApp (Business & Web) Images, video, GIF, voice notes, audio, PDF documents
Facebook Messenger Images, video, audio (plays in the chat as an audio clip, not a voice note), PDF documents
Instagram Images and video only (no audio, voice notes or documents)
Telegram Images, video, audio (as a file, not a voice note), PDF documents
iMessage Images, video, GIF, audio and voice notes, PDF documents (a voice note arrives as a voice message when the Mac app is set up for it, otherwise as an audio file; see iMessage)
LINE Images only
Viber Images only
Website chat widget Images only
SMS Not supported (text only)

A couple of things to keep in mind:

  • “Send as voice note” only changes anything on WhatsApp. On WhatsApp Web any common audio file arrives as a voice note (the play bubble). On the WhatsApp Business API it does when the file is OGG/Opus; other formats arrive as an audio file. On Messenger audio always arrives as an audio clip and on Telegram as a file, whatever the setting; the bot does not send audio on Instagram.
  • SMS cannot receive media. In SMS conversations the bot simply won’t offer media items.
  • Instagram gets images and video only. On an Instagram conversation the bot won’t send PDFs, audio or voice notes - it answers in text instead.
  • A GIF you upload to the Media Library is turned into a short video when you upload it, so one upload plays on every channel that takes video, Instagram included; there is no need to upload a separate MP4. On WhatsApp Web the contact sees it loop like a GIF; on the WhatsApp Business API it plays on tap, because the Business API has no GIF format.
  • A GIF sent by link (in an automation’s Send message or Send WhatsApp Web message step, through the API, or attached in the chat composer) is converted on WhatsApp only, the same way: looping on WhatsApp Web, a short video on the Business API, and a GIF with a single frame goes as a normal picture. On other channels (Instagram, Messenger, Telegram, SMS, email) that GIF file is passed on as it is, so whether it moves depends on that app. A WhatsApp template is never converted, so use a JPG or PNG for a template’s image.
  • WhatsApp’s 24-hour window applies to media too. If too much time has passed since the contact last messaged you, WhatsApp may block any message - including media - until they reply again.

Tips for Best Results

  1. Write the “when to send” instruction like you’re briefing a new team member. Describe the exact moment - “when a customer asks to see photos of the apartment” - not just the topic.
  2. One purpose per item. Upload separate items for separate situations rather than one file you hope covers everything.
  3. Keep files small and fast to load. A compressed image or short clip arrives faster and looks better in chat than a huge file.
  4. Use clear, recognizable titles. When your library grows, good titles make it easy to find and update the right item.
  5. Test in Try Out. After adding media, use the Agent’s Try Out tab to check the bot picks the right item at the right time before going live. The image, video, audio, or document shows up right in the test chat, exactly where the contact would receive it.

Older test conversations may show “Media preview expired”. The test chat is a sandbox - no real message leaves your account - and its media previews stay viewable for 7 days. If you come back to an old test conversation later, an expired preview shows a small note instead; just ask the bot again to see it fresh. Real conversations are unaffected: contacts receive the actual file, which doesn’t expire.

Several files for the same thing. The bot normally picks the single best item for the moment, so five photos with the same “When should the bot send this?” note usually means one photo goes out. If a set belongs together (all photos of one product, a full menu), say so in the agent’s instructions, for example “When someone asks about the garden chair, send all garden chair photos”, and give each photo a note that names the product. The bot then sends the whole set in one reply.

The bot won’t spam the same file. Each item is sent at most once per conversation by default. If a customer keeps asking about the same thing, the bot answers in text rather than firing the same image again. Raise the “Max times to send per conversation” value on an item if you genuinely want it resendable.


Files From Your Own Tools

You can also add, update and remove items from your own code at any time, for example when a new brochure is published: see Media library in the Agents API. A file uploaded that way is in the library straight away and the bot can send it from the next message on.

A library holds up to 50 items per agent. If your product photos, menus or spec sheets already live in your own system (a database, a shop, a CRM), you do not have to upload them here. Connect that system to the agent as a Custom Function or an MCP server that returns a direct link to the file, and the bot sends the file itself instead of pasting the link.

How it works:

  1. The contact asks for something, for example “can I see the olive oil?”
  2. The bot calls your tool, and the result contains a file link such as https://yourstore.com/images/olive-oil.jpg
  3. The bot sends that file to the contact as a real image, video, audio file or document, with a short caption in the contact’s language

What the link needs to be:

  • A direct link to the file that starts with https://. A link to a web page (a product page) is not a file; the bot shares that as a normal link instead.
  • Images: JPG, PNG, WebP, GIF. Video: MP4, MOV, WebM, 3GP. Audio: MP3, OGG, M4A, AAC, WAV. Documents: PDF, Word, Excel, PowerPoint, CSV
  • Up to 16 MB per file
  • Reachable without logging in. A link that needs a password or has already expired cannot be sent.

Good to know:

  • The bot only sends links that came back from your own tools in that conversation. A link a contact types, or one the bot would make up, is never sent as a file.
  • The file is copied when it is sent, so the contact keeps it even if your link expires later.
  • Each file link is sent at most once per conversation.
  • The same channel limits apply as for library items, see Which Channels Can Receive Media.
  • In the agent’s Try Out tab the file shows in the test chat, and nothing is sent to anyone.

Sending Media Yourself

The Media Library is for the bot’s automatic sends. You can always send any image, video, or file to a contact manually from the Chat Interface at any time - that doesn’t require setting up a library item.


Next Steps

  • AI Agents — the Media tab inside each Agent’s editor.
  • AI Agents — the main page of the AI Studio group, alongside Knowledge Base and Custom Functions.
  • Automated Follow-Ups — the full guide to the follow-up sequences media can attach to.