On this page: Learn how to attach static or personalized PDF files to emails, including the supported campaign types and applicable count, size, and volume limits.
You can attach a static PDF file to the email messages that you send with Journey Optimizer. If you use API-triggered campaigns, you can also attach a personalized PDF file for each recipient.
Note that personalized PDF attachments require additional file retrieval and processing. Campaigns using them may have higher processing latency and lower throughput than campaigns without attachments, particularly when using multiple or larger PDF files.
-
You can send up to 6 messages with a PDF attachment per profile per year, whether the attachment is static or personalized.
-
The maximum allowed file size for each attachment is 5 MB. For emails with personalized attachments, all static and personalized PDF attachments in the email share a combined 5 MB limit by default.
To attach a PDF file to an email message, follow the steps below.
-
Create an email in a journey or a campaign. Learn more
-
From the journey or campaign Content tab, select Add asset from the Attachment section.
-
The Assets Essentials repository displays.
note NOTE When designing messages, you access the Assets Essentials repository directly from within the Journey Optimizer interface. To learn more about the embedded Assets Essentials user interface, refer to Experience Manager Assets Essentials documentation. -
Use the PDF filter in the MIME Type section to restrict selection to the correct file format.
note NOTE Only the PDF format is allowed for attachments. -
Select the file of your choice.
- You can only select one file at a time.
- The maximum allowed file size for each attachment is 5 MB.
-
Once done, the name and size of the selected file display in the Attachment section.
You can remove the selected file using the More actions icon next to the file name.
Attach personalized PDF files for API-triggered campaigns personalized-attachments
You can also attach recipient-specific PDF files to a single email sent through an API-triggered campaign. Unlike a static attachment, each recipient can receive a different file, such as an invoice, a boarding pass, a contract, or a shipping label.
The combined size of all static and personalized PDF attachments in an email is limited to 5 MB by default. Organizations with the applicable PDF Attachments add-on can use a combined limit of up to 10 MB.
-
Personalized PDF attachments are supported only for transactional API-triggered email campaigns.
-
You can include up to five PDF attachments in an email. This limit includes both static and personalized attachments. For example, an email containing one static PDF can include up to four personalized PDFs. If you need to send more, split them across multiple communications.
-
Personalized and static PDF attachments count toward the same quota. Learn more
Personalized PDF attachments must be uploaded to the attachment-specific Data Landing Zone container, then referenced in the API payload. Data Landing Zone is currently the only supported storage location for personalized PDF attachments.
-
Retrieve the Data Landing Zone credentials for your sandbox using
type=ajoemailattachmentsfor the same IMS organization and sandbox as the execution request, as described in the Adobe Experience Platform documentation. Depending on the cloud provider, use the Azure container or AWS bucket and folder returned by the API. -
Generate the PDF files with the tool of your choice, and upload them to your Data Landing Zone container.
Note that Data Landing Zone automatically deletes files after seven days; make sure the PDF files remain available in the container until message delivery and any retries are complete.
-
In the API payload, for each recipient, add an
attachmentsarray containing the file name, content type, and Data Landing Zone path of the PDF to send. Learn how to personalize your API-triggered campaign contentcode language-json "attachments": [ { "name": "invoice-12345.pdf", "contentType": "application/pdf", "source": { "type": "dlzPath", "path": "attachments/invoice-12345.pdf" } } ]Note that
source.pathis the object path relative to the attachment-specific Data Landing Zone container retrieved withtype=ajoemailattachments. Do not include the Azure container name, the AWS bucket or folder, credentials, or a full storage URL.
At send time, Journey Optimizer fetches the file from the specified location and attaches it to the message for that recipient. Personalized PDF attachments are supported for High Throughput campaigns in the primary region. They are not supported during regional failover.
For the full API payload reference, see the Interactive Message Execution API documentation.
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how to attach a static PDF file to an email in Journey Optimizer and, for API-triggered campaigns, a personalized PDF file for each recipient, with the count, size and volume limits that apply.
Intents:
- Attach a static PDF file to an email created in a journey or a campaign, using Add asset in the Attachment section of the Content tab.
- Restrict the selection in the Assets Essentials repository to PDF files with the PDF filter in the MIME Type section.
- Remove a selected PDF file from an email using the More actions icon next to the file name.
- Attach a personalized PDF file for each recipient of an email sent through an API-triggered campaign.
- Retrieve the Data Landing Zone credentials for a sandbox using
type=ajoemailattachments, upload personalized PDF files to the Data Landing Zone container, and reference each file in the API payload with anattachmentsarray.
Glossary:
- Static PDF attachment: A PDF file attached to an email from the Assets Essentials repository. Unlike a personalized PDF attachment, it is not a different file for each recipient. (product-specific)
- Personalized PDF attachment: A recipient-specific PDF file attached to a single email sent through an API-triggered campaign, so that each recipient can receive a different file. Journey Optimizer fetches the file from the specified location at send time and attaches it to the message for that recipient. (product-specific)
- Assets Essentials repository: The repository that displays when you select Add asset; you access it directly from within the Journey Optimizer interface when designing messages. (product-specific)
- Attachment-specific Data Landing Zone container: The container where personalized PDF attachments must be uploaded before being referenced in the API payload. Its credentials are retrieved using
type=ajoemailattachmentsfor the same IMS organization and sandbox as the execution request. (product-specific) - PDF Attachments add-on: An add-on that can be purchased for additional size or volume, and that raises the combined limit for personalized attachments to 10 MB. (product-specific)
source.path: The object path of a personalized PDF file, relative to the attachment-specific Data Landing Zone container retrieved withtype=ajoemailattachments.
Guardrails:
- You can send up to 6 messages with a PDF attachment per profile per year, whether the attachment is static or personalized (default). For additional volume, the PDF Attachments add-on can be purchased; contact your Adobe representative for more details.
- The maximum allowed file size for each attachment is 5 MB.
- For emails with personalized attachments, all static and personalized PDF attachments in the email share a combined 5 MB limit (default). With the PDF Attachments add-on, the combined limit for personalized attachments is 10 MB.
- For personalized PDF attachments, you can include up to five PDF attachments in an email, static and personalized attachments included. To send more, split them across multiple communications.
- Only the PDF format is allowed for attachments.
- You can only select one file at a time in the Assets Essentials repository.
- When you save a message as a content template, the PDF attachment is not retained with the template; an email created from that content template needs the file reattached.
- Data Landing Zone is currently the only supported storage location for personalized PDF attachments.
- Data Landing Zone automatically deletes files after seven days. Make sure the personalized PDF files remain available in the container until message delivery and any retries are complete.
- In the
attachmentsarray,source.pathdoes not include the Azure container name, the AWS bucket or folder, credentials, or a full storage URL. - Campaigns using personalized PDF attachments may have higher processing latency and lower throughput than campaigns without attachments, particularly when using multiple or larger PDF files.
Applicability:
- Static PDF attachments: apply to email messages sent with Journey Optimizer, in a journey or a campaign.
- Personalized PDF attachments: apply only to transactional API-triggered email campaigns.
- Personalized PDF attachments: apply to High Throughput campaigns in the primary region.
- Personalized PDF attachments: do not apply during regional failover.
Terminology:
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform
- Canonical name: personalized PDF attachment — variants: personalized attachment, personalized PDF file, recipient-specific PDF file
- Canonical name: static PDF attachment — variants: static attachment, static PDF file
FAQ:
- How many messages with a PDF attachment can I send per profile? Up to 6 messages per profile per year, whether the attachment is static or personalized. For any additional volume, you can purchase the PDF Attachments add-on.
- What is the maximum file size for a PDF attachment? The maximum allowed file size for each attachment is 5 MB. In emails with personalized attachments, all PDF attachments share a combined 5 MB limit by default, raised to 10 MB with the PDF Attachments add-on.
- Which campaigns support personalized PDF attachments? Personalized PDF attachments are supported only for transactional API-triggered email campaigns.
- Where must personalized PDF files be stored? In the attachment-specific Data Landing Zone container, which is currently the only supported storage location. The files are then referenced in the API payload.
- Is the PDF attachment kept when I save my message as a content template? No. The PDF attachment is not retained with the template, so you need to reattach the file when you create a new email from that template.
- How many PDF attachments can an email with personalized attachments contain? Up to five, static and personalized attachments included.
Examples:
- Personalized PDF attachments: each recipient can receive a different file, such as an invoice, a boarding pass, a contract, or a shipping label.
- Attachment count: an email containing one static PDF can include up to four personalized PDFs.
attachmentsarray entry in the API payload for one recipient:"name": "invoice-12345.pdf","contentType": "application/pdf", and asourcewith"type": "dlzPath"and"path": "attachments/invoice-12345.pdf".
Related pages:
- To create the email before attaching a PDF file: Create an email
- For the campaigns that support personalized PDF attachments: API-triggered campaigns
- For saving a message as a template: content template
- To add the
attachmentsarray when personalizing the API payload: Learn how to personalize your API-triggered campaign content - For High Throughput API-triggered campaigns: High Throughput
Personas:
- marketer: Can select Add asset from the Attachment section of the journey or campaign Content tab to attach a static PDF file. Can use the PDF filter in the MIME Type section to restrict selection to the correct file format. Can select only one file at a time, with a maximum allowed file size of 5 MB for each attachment. Can remove the selected file using the More actions icon next to the file name. Can send up to 6 messages with a PDF attachment per profile per year, whether the attachment is static or personalized. Where: “Attach a PDF file to an email”.
Onboarding:
- Level: Beginner
- First minimal step: Create an email in a journey or a campaign.
- Success check: The name and size of the selected file display in the Attachment section.