How to Configure and Test Send Time Attributes in Salesforce Marketing Cloud Next
Send Time Attributes in Salesforce Marketing Cloud Next capture custom business values when an email is sent and associate those values with the send event. They provide additional context for understanding and auditing communications, such as the campaign, customer interest, booking reference or promotion associated with a message.
I configured and tested Send Time Attributes using a newsletter subscription flow. The implementation covered attribute creation, static and dynamic value mapping, and verification of the resulting data in the Email Engagement object in Data Explorer.
How Send Time Attributes work
An email engagement record provides information about message activity. However, standard engagement information does not necessarily contain every business value that a marketing team needs to understand the context of a send.
Consider a customer who receives an email containing a promotion code. The customer might later use the code, or the underlying promotion record might change. The current record alone might not represent the exact value associated with the original email.
Send Time Attributes address this by capturing selected values when the message is sent and retaining the resolved values with the send event.
Common use cases include:
- Campaign identifiers for campaign-level analysis.
- Coupon or promotion codes associated with an email.
- Booking, order or account references.
- Product or service information relevant to the recipient.
- The form or signup source that initiated a communication.
Send Time Attributes capture custom values, such as coupon codes, account numbers and flight numbers, at the time an email is sent. These values can then be used as report filters, segment criteria or export fields, providing additional context for analysing and auditing email communications through the use of custom send-time data.
Send Time Attributes are different from Einstein Send Time Optimization. Send Time Attributes record business context associated with a send, whereas Einstein Send Time Optimization predicts when a recipient is more likely to engage with a message.
Enable Send Time Attributes in Setup
To configure Send Time Attributes, open Salesforce Setup and complete the following steps:
- Search for Send Time Attributes.
- Open the Send Time Attributes configuration page under Unified Messaging.
- Enable Send Time Attributes.
- Select Add Fields to create the attributes.
- Enter an attribute name and select its data type.
- Save the configuration.
The attribute names should represent business values clearly. Use a consistent naming convention so that different teams do not create multiple attributes for the same purpose.
For my newsletter implementation, I created five attributes:
| Attribute | Data type | Purpose |
|---|---|---|
| CampaignData | String | Additional campaign context |
| CampaignId | String | Identifies the campaign |
| CustomerInterest | String | Records the subscriber’s product interest |
| FormName | String | Identifies the subscription form |
| SignupSource | String | Records where the subscriber registered |
I used String for these five attributes because the values in this example are text-based.


Map attributes to data sources in Flow Builder
Defining attributes in Setup only creates the available fields. It does not automatically populate them. In Flow Builder, each attribute needs to be mapped to a value or data source in the Send Email Message configuration.
For example:
| Attribute | Example source | Value |
|---|---|---|
| CampaignId | Static value | NEWSLETTER_2026 |
| FormName | Static value | Newsletter Subscription Form |
| SignupSource | Static value | Website |
| CustomerInterest | Form submission | Product Interest |
| CampaignData | Text Template | Campaign context |
This distinction is important. A static value remains the same for every execution using that configuration, while a dynamic value can change according to the data associated with each execution.
Prepare a test flow
To test the configuration, I created a newsletter subscription form with First Name, Last Name, Email, Company, Product Interest and Marketing Consent fields.
I then created an Automation Event-Triggered Flow called Newsletter Submission Flow.
The flow contains three actions:
- Create Lead Record: Creates a Lead using the submitted form values.
- Create Consent: Captures the email marketing consent.
- Send Email Message: Sends the newsletter welcome email.
The Lead creation and consent actions provide the business context for the test. The main Send Time Attribute configuration takes place in the Send Email Message action.


Configure the Send Email Message action
I opened the Send Email Message action and expanded the Send Time Attributes section. The steps for creating a marketing campaign and configuring its flow are covered in How to Create a Marketing Campaign and Configure Its Flow in Marketing Cloud Next.
I mapped the five attributes as follows:
| Attribute | Mapped value | Source |
|---|---|---|
| CampaignData | Newsletter_Campaign_Data | Text Template |
| CampaignId | NEWSLETTER_2026 | Static value |
| CustomerInterest | Product Interest | Associated Form |
| FormName | Newsletter Subscription Form | Static value |
| SignupSource | Website | Static value |
The important mapping is CustomerInterest. I selected the Product Interest value from the submitted form rather than entering a fixed value. This allows the captured value to reflect the subscriber’s actual selection.

Use a Text Template for campaign context
A Text Template can be used as the source for an attribute when several related values need to be grouped together.
I created a Text Template resource called Newsletter_Campaign_Data and selected it as the source for CampaignData.
The template contained:
{
"campaignId": "NEWSLETTER_2026",
"formName": "Newsletter Subscription Form",
"signupSource": "Website",
"campaignType": "Newsletter"
}
This provides a consistent structure for additional campaign context.
In this implementation, the values in the template are static. They are not dynamically constructed from each form submission.
If the campaign context needs to vary by recipient, the template or its source values must be configured to resolve the relevant data dynamically. The mapping should be tested with different inputs to confirm that the expected values are recorded.

Verify Send Time Attributes in Email Engagement
A successful email send does not, by itself, confirm that every configured attribute has been populated correctly. The resulting send data should be checked.
After activating the flow, I submitted the published newsletter form using test email addresses. I confirmed that:
- The Lead record was created.
- The Create Consent action completed.
- The welcome email arrived in the test inbox.
- Flow analytics recorded a run for each of the three actions.
I then opened Data Cloud → Data Explorer to inspect the resulting data.
Find the Send Time Attributes field
In Data Explorer, I selected:
- Data Space: default
- Object: Data Model Object
- Data Model Object: Email Engagement
I selected Edit Columns and added the Send Time Attributes field.
The field displayed the values as a JSON-formatted string. My test records contained values including:
- CustomerInterest: GC1000 series and GC3000 series
- FormName: Newsletter Subscription Form
- SignupSource: Website
- CampaignId: NEWSLETTER_2026
- CampaignData: Included in the JSON-formatted value
The different CustomerInterest values confirmed that the attribute was resolving from the form submission rather than using a single fixed value for every subscriber.
The key point is that the configured attributes are stored together in the Send Time Attributes field. They do not automatically appear as five separate columns in the Email Engagement object.
This verification connects the Flow Builder configuration to the actual send-event data. To understand how Data Cloud is set up to support Marketing Cloud Next, follow the steps in Setting Up Data Cloud and Marketing Cloud Next in Salesforce.

Work with the JSON data for reporting
The Send Time Attributes field stores the configured values together as JSON-formatted text. This provides flexibility, but it also affects how the data can be used in downstream reporting.
For example, a marketing team might want to analyse:
- Email engagement by CampaignId.
- Engagement by CustomerInterest.
- Sends grouped by SignupSource.
- Promotion performance using a campaign-specific identifier.
To use individual JSON properties as separate fields in downstream data operations, the JSON string must be transformed into a tabular structure.
Data 360 provides a Flatten JSON transformation in Batch Data Transforms. This transformation uses a JSON schema to identify the properties in the input string and extract them into separate output fields.
The process involves:
- Identify the input object and the field containing the JSON string.
- Add a Transform node to the Batch Data Transform.
- Select the Flatten JSON transformation.
- Upload the JSON schema.
- Define the output table and select the fields to extract.
- Preview the output and validate the extracted values.
The Send Time Attributes schema available in Setup provides the structure required for the Flatten JSON transformation. It identifies the attributes and their properties so they can be extracted into separate fields.
In my implementation, I created a Batch Data Transform using the Email Engagement Data Model Object as the input and applied the Flatten JSON transformation to the Send Time Attributes field.
I selected the extracted properties and mapped them to a new Engagement-category Data Model Object named Newsletter_Send_Time_Attributes. After running the transformation successfully, I verified three output records in Data Explorer.
The resulting dataset contained separate fields for CampaignId, CustomerInterest, FormName and SignupSource, along with the original Email Engagement ID and Engagement Date Time. This made the captured campaign and customer information available as individual fields for downstream data processing and reporting.

Example: Analyse engagement by customer interest
In my newsletter implementation, CustomerInterest is captured as part of the Send Time Attributes JSON value. My test records contain different product interests, including GC1000, GC3000 and GC5000 series.
If the marketing team wants to compare email engagement across these product categories, it needs to make CustomerInterest available as an individual reporting field.
After flattening the JSON, the resulting reporting dataset contains CampaignId, CustomerInterest, SignupSource and FormName as separate columns.
With CustomerInterest available as a separate field, a marketing team can use it to group engagement records by product category. This provides a foundation for comparing email engagement, such as opens and clicks, across different customer interests in a downstream reporting solution.
Design a reusable Send Time Attribute framework
When implementing Send Time Attributes across multiple campaigns and flows, use a consistent naming con…
🔒 Premium Subscriber Content
What you can learn with Premium
Unlock the full article to explore these topics in detail.
Already a Premium subscriber? Log in to continue reading, or register to create your account.
You must log in and have a Premium Subscriber account to read the full article.
When upgrading, please use the same email address as your WordPress account so we can correctly link your Premium membership.
Please allow us a little time to process and upgrade your account after the purchase. If you need faster access or encounter any issues, feel free to contact us at info@martechnotes.com or through any other available channel.
To join the Discord community, please also provide your Discord username after subscribing, or reach out to us directly for access.
You can subscribe even before creating a WordPress account — your subscription will be linked to the email address used during checkout.
Premium Subscriber
29,99 € / Year
- Free e-book with all revisions - 101 Adobe Campaign Classic (SFMC 101 in progress)
- All Premium Subscriber Benefits - Exclusive blog content, weekly insights, and Discord community access
- Lock in Your Price for a Full Year - Avoid future price increases
- Limited Seats at This Price - Lock in early before it goes up
- Monthly 15-Minute Call - Discuss any topic directly







