Attachment handling
Overview
By default, your AI Agent hands off all emails that have attachments to human agents.
Limitations
AI Agents can send up to 30 MB in files with a Handoff. Different email clients and receiving agent platforms have their own limitations on file sizes (e.g., Gmail has a limit of 25 MB), so if a customer tries to send a large attachment, it might not get delivered to your AI Agent or passed on to your agent platform.
Use cases
Attachment handling is useful in the following scenarios:
- Escalating emails with attachments: When end users send emails with attachments, your Email AI Agent can hand off these conversations to human agents, ensuring attachments are available for review.
- Passing files to support platforms: When handing off conversations to your agent platform, attachments are passed through so human agents can access the files end users sent.
- Reviewing customer-submitted documents: Human agents can access documents, images, spreadsheets, and other files that end users attach to their email inquiries.
Capabilities & configuration
Your AI Agent can pass email attachments to human agents through supported Handoff blocks. Attachments are securely saved upon receipt and automatically deleted after 7 days.
Supported Handoff blocks
Email attachments can be passed on the following Handoff blocks:
- Zendesk Ticketing block
- Salesforce block
- Email block
Accepted file types
Your AI Agent can pass along files with the following extensions to agents:
Restricted file handling
If your AI Agent restricts a file from being passed through to your agent platform, either due to its size or an unsupported file extension, it adds a comment to the ticket explaining which file(s) it restricted, and why.
Quick start
Enable attachment handling in your Handoff block. For detailed instructions, see Implementation & usage.
Configure your Handoff block to pass email attachments to your agent platform.
Implementation & usage
Configure your Handoff block to pass attachments to your agent platform.
To set up attachment handling:
-
Add the File Data Token field from the Optional Inputs dropdown in your Handoff block.
-
In the File Data Token field, add the email_attachments variable to ensure that your AI Agent can pass any attachments to your agent platform.
Viewing attachments in Convos
In the Convos view, you can see if customers sent attachments by looking in the conversation metadata. If the email_has_attachments metavariable appears in the list, the customer’s email inquiry contained attachments. If the variable doesn’t appear, there weren’t any attachments.
Related features
Explore additional Email Handoff and configuration options.
- Email handoffs: Configure Handoff blocks for your Email channel.
- Handoffs: Learn about Handoff capabilities across all channels.
- Conversations: View attachment metadata in conversation details.