Images
Overview
Your AI Agent can read images that end users send and use them to resolve inquiries. A vision model produces a text description of each image, and the Agent reasons over that description. The Agent never receives the image itself.
Supported formats and channels
The AI Agent reads images on these channels:
- Messaging
- SMS and MMS, through Twilio
- WhatsApp, through Twilio or through Sunshine Conversations
- Instagram, connected directly to Ada or through Sunshine Conversations
- Facebook Messenger and Twitter DM, through Sunshine Conversations
The Agent also reads images on the Sunshine Conversations Web Messenger. This is available on request. Contact your Ada team to enable it.
The Agent also reads images on a custom channel with the email modality, built with the Conversations API. This is available on request. Contact your Ada team to enable it.
See Messaging conversation guidance for image and handoff-upload behavior.
-
Formats on the Messaging SDK, Email, and the Conversations API: PNG, JPEG, GIF, HEIC, and HEIF. WebP is read on the Messaging SDK only. AVIF, SVG, and video are not read. Format support on other channels differs. This page does not list it.
-
HEIC and HEIF: on the Messaging SDK and Email, the Agent converts each HEIC or HEIF image it reads to JPEG. An image the Agent does not read keeps its original format, for example the fourth image in an email. When your integration uploads a HEIC or HEIF image outside a handoff on the Conversations API, Ada converts it to JPEG. In both cases, Ada stores the JPEG, scaled down to at most 4096 pixels wide and tall, and passes it to human agents on handoff. The Agent does not read an image over 50,331,648 pixels. On the Conversations API, Ada keeps such an image in its original format.
-
Size: on the Messaging SDK, each image can be up to 50 MB. On the Conversations API, each request to the Upload an attachment endpoint can be up to 50 MB. On Email, the whole message, including every attachment, can be up to 30 MB. On SMS and MMS and on WhatsApp through Twilio, each image can be up to 10 MB. On Instagram connected directly to Ada, each image can be up to 25 MB. Channels through Sunshine Conversations have no Ada-side size cap.
-
Messaging SDK: the AI Agent reads each image an end user uploads. In the hosted chat window, an end user can attach up to 3 images to one message. The Agent replies once for each image. Image uploads are off by default. The Enable image uploads to your AI Agent toggle controls them. The Agent does not read images from legacy Chat. To let end users upload images:
- Go to Config > CHANNELS > Messaging.
- On the Appearance tab, open the General drawer.
- Enable Enable image uploads to your AI Agent.
- Click Save changes.
On the legacy Ada Web Chat, the toggle is locked because image uploads are not available there. Contact your Ada team to move your AI Agent to the Messaging SDK. This toggle does not change file uploads to human agents.
-
Email: the Agent reads up to 3 images per email. The inbox’s attachment handling setting decides whether it reads them:
- Hand off to a human (default): every email with an attachment is handed off. No image is read.
- AI Agent replies without the attachment: attachments are discarded. No image is read.
- AI Agent replies using the attachment: images are read, and every accepted attachment is kept for a later handoff.
AVIF and SVG attachments are never read. They count as non-image attachments.
-
Conversations API: on a custom channel with the
emailmodality, an end user text message can carry up to 10 files, like the attachments of an email. If a block such as a Capture block takes the message as its answer, the Agent does not read the images. Otherwise, it tries to read the first 3 PNG, JPEG, GIF, HEIC, or HEIF images and answers the text and the images in one turn. Ada keeps every file for a later handoff, as on Email with the AI Agent replies using the attachment setting.Sensitive images, image moderation, and redactions work as on Email. Each image that the Agent tries to read appears as its own end user message in the dashboard and the API. To send files, see Send files with a message.
What the Agent reads
The AI Agent receives a description of each image. It includes all visible text: order numbers, error messages, codes, dates, and amounts. It also includes the visible content: products, damage, packaging, and the screen shown in a screenshot. Text inside an image is treated as end-user input, never as instructions.
Sensitive images
An image is withheld when the AI Agent detects any of the following anywhere in it. The Agent learns only the document type, not its contents, and the filename is dropped.
- A payment card with any part of the card number visible
- A government ID document: passport, driver’s license, national or state ID card, or residence permit
- A credential document that is not a government ID, such as a social security card or a bank statement that shows full account numbers
A receipt or order confirmation that shows only the last 4 digits of a card is read normally. A full card number anywhere in an image is withheld.
Detection is automatic and best-effort. A card number that detection misses is still masked by the built-in payment card redaction before the Agent sees the description. Any other text that gets through is handled like typed text, including your Redaction settings.
Payment cards are always withheld. You choose whether the Agent withholds the other two types under Image redactions. Both are enabled by default.
By default, the Agent tells the end user that it did not read the image, and names the document type, for example “your passport or ID”. It does not ask them to resend the image. The Agent then gives one next step. For a payment card, the Agent may ask for the last 4 digits as text. For an identity document or other credential, the Agent does not ask for the number. It offers a human agent when a handoff is available. When no handoff is available, it says that human support is not available and keeps helping without the number. While a Playbook defers handoffs, or after the Agent has handed off the same issue, it does not offer a human agent and keeps helping without the number.
In the dashboard, a withheld image appears as [Image withheld: sensitive content]. The Agent does not read a withheld image. On Email and the Conversations API, the withheld image still goes to the human agent on handoff, like any other accepted attachment.
Image moderation
Image moderation keeps the AI Agent from reading an image with harmful content, the same way content moderation applies to typed messages. The Agent checks each image that an end user sends against its existing content moderation categories. Your Ada team can disable image moderation for an AI Agent on request.
Categories
Images use the same moderation categories as typed messages. You cannot set a category for images only, and the check has no threshold that you can change. The check covers these categories for images:
- Sexual content
- Violence, including graphic violence
- Self-harm, including self-harm intent and self-harm instructions
The moderation categories for hate, harassment, and sexual content that involves minors apply to typed text only. Images are still checked against known child sexual abuse material hash lists. See Child sexual abuse material. An image that shows partial nudity, for example a fit photo for swimwear or underwear, can be flagged as sexual content.
When an image is moderated
A flagged image is withheld from the AI Agent and from the dashboard. An image is moderated when the check flags it in one of your moderation categories. Then:
- The Agent does not read the image.
- In the dashboard, the image appears as
[Image withheld: sensitive content]. - The conversation appears under the Moderation filter in Conversations, with the flagged categories. The filter does not show whether the hit came from an image or from typed text.
The next steps depend on the channel:
- Every channel except Email and the Conversations API: the Agent replies with the same safety message that it sends for a flagged typed message. The stored image is deleted at once and does not go to a human agent on handoff.
- Email and the Conversations API: the Agent answers the rest of the email or message without the image. It does not send the safety message. The image does not go to a human agent on handoff, and Ada deletes it.
- During a live handoff: if an end user sends the image while a human agent has the conversation, the image is withheld in the dashboard but is not deleted. The conversation does not appear under the Moderation filter.
On Email and the Conversations API, the Agent checks only the images it tries to read, within a time limit. These are the first 3 images in a format that the Agent reads, in each email or message. An image in another format, such as SVG, does not count toward the 3. On an email to an inbox, an image that Ada detects as a signature does not count either. On Email, the inbox must use the AI Agent replies using the attachment setting. The Agent does not check an image that it does not try to read, such as a fourth PNG. It goes to the human agent on handoff, like any other accepted attachment.
Check errors and delays
A failed or slow check follows fixed rules, so that a moderation problem does not stop the conversation. The check runs at the same time as the image description, so a clean image usually adds no delay.
- If the check returns an error, the Agent reads the image normally, the same as a typed message when moderation fails.
- If the check does not finish in time, the Agent does not read the image. On every channel except Email and the Conversations API, it replies with the safety message. The image stays visible in the dashboard and can go to a human agent, because the check did not flag it. The conversation does not appear under the Moderation filter.
Child sexual abuse material
Before the AI Agent reads an image, Ada checks it against known child sexual abuse material hash lists and reports matches as the law requires. The Agent does not read an image that matches. This check runs whether or not image moderation is enabled, and it has no setting.
Images at handoff
When a conversation goes to a human agent, the images that the end user sent can go with it. The steps depend on the handoff platform.
Zendesk Ticketing
The Create Ticket action of the Zendesk Ticketing app can attach the images an end user sent to your AI Agent in a chat conversation. The images become files on the ticket.
To attach the images:
- In the Zendesk Ticketing Create Ticket action, add the File Data Token input.
- Map the conversation variable
chat_attachmentsinto the File Data Token input.
Ada builds the token each time the action runs. It includes each image that the AI Agent has read and that is not sensitive. It leaves out:
- Images that the AI Agent withheld as sensitive
- Images that Ada is still checking when the action runs
- Images that Ada flags as malware
- Images that Ada cannot read
The token has a size limit. It holds about 20 images. If the conversation has more, Ada keeps the most recent images. Ada also leaves out images that it cannot check in time.
To skip the File Upload block when the end user already sent an image, test the chat_has_attachments variable with is true in a Rule or a Playbook condition. See Using variables.
This option works for Zendesk Ticketing only.
Redactions
Redaction settings apply to image descriptions the same way they apply to typed messages.
Retention
The period that Ada keeps a stored image depends on the region where your AI Agent is hosted. Email attachments use the same periods.
Ada does not store an image that the AI Agent reads on a channel connected through Sunshine Conversations. The text description remains part of the conversation transcript.
Unreadable images
If an image cannot be read, the AI Agent tells the end user and asks them to describe it or send it again.
Related features
- Redaction settings: Control which information the AI Agent keeps private.
- Attachment handling: Choose how each email inbox handles attachments.