Event-based content items automatically pull live data – such as abandoned products or order details – into your automation emails. These items are available only in automations that use an event-based trigger.
💡 Event-based content is different from Dynamic Content. Event-based content fills an email with data from the workflow trigger, such as cart items or order details. Dynamic Content controls which contacts see an email block.
For all other Email Builder items, see Omnisend Email Builder Items.
Before You Begin
Event-based content items work only in automations started by an event-based trigger, such as Added product to cart, Started checkout, Viewed product, Placed order, or a custom event. Triggers such as Entered segment or Special occasion (Birthday) don't carry event data, so these items won't show any data in those automations.
If you use Send test email, event-based content items (such as Abandoned Products or Order Details) will appear blank or as placeholder boxes. This is expected since test emails have no real event data attached. To verify that content populates correctly, use Dynamic Preview and select a real contact with relevant event history, or trigger the automation with a real event.
The Abandoned Products and order items (Order Details, Ordered Products, Order Total, Billing and Shipping) work only with Omnisend's native events. If your automation uses a custom event trigger, these items will not populate. Use a custom event-based layout instead.
For Shopify event properties, refer to Shopify's Liquid documentation.
For custom events from third-party integrations (e.g., Loox, Wishlist Hero, Zapier): Not all third-party custom events pass list-type properties required for event-based layouts. Check the integration documentation or API logs to confirm what data is available before building your email.
Triggers with Event Data | Triggers with No Event Data |
Added product to cart | Product back in stock |
Clicked message | Special occasion (Birthday) |
Marked message as spam | Entered segment |
Message delivery failed | Exited segment |
Message sent |
|
Opened message |
|
Order canceled |
|
Order fulfilled |
|
Order refunded |
|
Ordered product |
|
Paid for order |
|
Placed order |
|
Started checkout |
|
Subscribed to marketing |
|
Viewed page |
|
Viewed product |
|
Search submitted (Shopify only) |
|
|
Choose How to Add Event-Based Content
You can add event-based content to an Automation Workflow in two ways:
Use an event-based content item in a pre-built automation.
Create a custom automation and add an event-based layout.
Use pre-built items when you need standard product or order information. Create a custom layout when you need to control the layout or use custom events.
Use Pre-Built Event-Based Content Items
Pre-built event-based items are ready-made blocks that automatically display data from supported workflow triggers.
When you create a pre-built automation in Omnisend, such as Order Confirmation or Abandoned Checkout, the pre-built emails already include the relevant event-based blocks, configured and ready to use.
For example, an Order Confirmation automation email already includes Order Details, Ordered Products, Order Total, and Billing and Shipping. You do not need to add or configure these manually unless you want to adjust, remove, or replace them.
If you are building a custom automation email from scratch, drag and drop any of the blocks described in this article into your email content.
Note: Each item is trigger-specific. It displays data only when the workflow trigger provides the required information.
Add an Event-Based Content Item
Step 1. Open an Automation Workflow that uses an event-based trigger and open the email in the Email Builder.
Step 2. Open Add Elements → drag the required event-based item into the email.
Step 3. Adjust the item settings and design.
Abandoned Cart
In abandonment automations (Abandoned Cart or Checkout, Browse Abandonment, Product Abandonment), you can add an Abandoned Products item to your email content.
This item automatically pulls the products your contact abandoned. Drag and drop it into your email, then adjust the settings and design to your preference:
You can choose how many items to show (up to 8) using the Number of products to show toggle.
Under Abandoned products options, choose what products to exclude.
Under Product details, select which product information to include in the email.
Under Products display, mark the checkbox to hide out-of-stock items.
Adjust Mobile stacking, Visibility on devices, Padding, and Colors.
Note: Add only one Abandoned Products block per email. If you add more than one, only the first block displays product data – all others show as empty grey placeholders.
💬 Learn more about Abandoned Products and how to time your abandonment automations.
Order Details
The Order Details item displays the order heading, order number, and order date in your email. When added to an email, it appears as an "Order summary" section.
You can edit the section title and choose whether to include the order number and order date.
Ordered Products
The Ordered Products item displays the individual items from the order.
You can choose which product details to show using the checkboxes in the settings panel. Available fields include: product name, product ID, product SKU, quantity, vendor, variant, weight, price, discount amount, and price with discount.
Order Total
The Order Total item displays a summary of the order price.
You can choose which pricing details to include. Available fields include: subtotal price, discount, shipping price, tax, and total price.
Billing and Shipping
The Billing and Shipping item lets you choose which order address details to include in your email.
The item includes: Name and Surname, State, Company, Zip, Address 1, Country, Address 2, Phone, and City. Select or deselect any field to match what your email needs.
Create a Custom Event-Based Layout
Create a custom event-based layout when you need to use event properties or build a layout that differs from the available pre-built workflows.
Step 1. Choose an Event-Based Trigger
Go to Automations → Create Workflow, choose a preset or custom Automation Workflow → select an event-based trigger.
The event determines which data is available in the email.
Step 2. Add the Event-Based Layout
Open the email in the Email Builder and go to Library → Dynamic Content. Drag in a Dynamic Column or Dynamic Row layout, or one of the preset product layouts.
💡 In the Email Builder, event-based layouts are listed under Dynamic Content. This menu is not the Dynamic Content feature, which controls which contacts see a block.
The layout remains empty until you connect it to a data source from the workflow trigger. You can then add content blocks, such as text, images, and buttons.
Step 3. Choose a Data Source
Select a data source based on the event that triggers the workflow.
For repeated content, choose a property with a list or array value. For example, an order event may contain a line_items list with all products in the order.
The list property allows the layout to repeat content for each item.
Understand Raw Data
Event properties are organized according to the data sent by your store or integration. The Raw category contains unprocessed data from the store backend. It may include folders such as Line Items, Fulfillments, or Refunds.
Choose the root data source to display all items. For example, choose Line Items to display all products in an order, rather than only fulfilled or refunded products.
The names and structure of event properties are determined by your store or integration. Omnisend does not rename or restructure this data.
Step 4. Add Content Blocks and Connect Event Data
Add the content blocks you need to the layout, such as Image or Text.
Then configure each block to use data from the event that triggered the Automation Workflow.
Select a content block inside the layout.
In the settings panel, open the Dynamic layout tab.
Under Content type, select Dynamic.
Under the relevant data-source field, select the event property you want to use.
If the property is not available in the list, select Add source manually and enter the event property using Omnisend’s syntax, such as
[[item.listProperty]].For image blocks, add Alt text and connect the image to the relevant image property.
If needed, connect the Link to field to the relevant URL property.
Repeat these steps for each block you want to populate with event data.
For example, you can connect:
An Image block to a product image URL.
The Link to field to a product URL.
A Text block to product name, currency, or price.
Note: The layout repeats the content for each item in the selected list.
Example: Rebuild an Ordered Products Item
You can create a custom version of the Ordered Products item with product images on one side and product details on the other.
Select Line Items under the Raw category as the data source for the layout.
Add an Image block.
Connect the image to the product image URL.
Connect the image to the product URL.
Add a Text block.
Connect the text to the product name, currency, and price.
Review how the layout displays each product in the list.
If you use a custom event as your trigger, verify your custom event data:
Go to Store Settings → API → Custom Events.
Find your event and check what fields are being passed.
Go to Store Settings → API → API logs to see the actual request body and confirm your properties are included.
If properties aren't appearing in the personalization menu, they may not be part of the event payload. Check with your developer or the app/integration sending the event.
Step 5. Configure the Block Layout
Use the layout settings to adjust the appearance of the event-based content.
You can configure:
Content data source.
Mobile stacking.
Device visibility.
Content alignment.
Padding.
Background color or image.
For image blocks, you can also configure:
Image alignment.
Maximum image height.
Image padding.
💡 Preview the email on desktop and mobile before sending or activating the Automation Workflow.
Use Cases
Abandoned Cart with a Discount: Use an Added product to cart event to display abandoned products and a discount based on event data.
Loyalty Updates: Use a custom loyalty event to display loyalty information in an email.
Product Review Requests: Use a Paid for order event to display order and product details in a review request. You can include links to the relevant product pages.
Calendar Events: Use a custom event to display information about an upcoming calendar event. The available information depends on the properties included in the event.
Travel Information: Use a custom event to display travel details in an email. The available information depends on the properties included in the event.
FAQ
Why is my Abandoned Products block showing as a grey or blank placeholder? Check the following:
Your automation uses a native Omnisend trigger – the block does not work with custom event triggers.
Your email contains only one Abandoned Products block – duplicate blocks show blank.
You are previewing using Dynamic Preview with a real contact, not Send test email, which has no event data.
I sent a test email, and the product or order information is blank. Is my automation broken?
No, this is expected. Test emails have no real event data, so event-based content appears blank. Use Dynamic Preview and select a real contact with relevant event history to verify the automation works correctly.
Why aren't all workflow triggers event-based?
Some triggers don't start from a store or app event. Product back in stock and Special occasion (Birthday) start from a scheduled check, and Entered segment or Exited segment start from a segment change. These triggers don't carry event data, so event-based content can't be populated.
Why are my personalization tags blank in test emails?
Test emails use a system-generated placeholder contact and no real event, so event-based content and personalization tags appear blank. This is expected.
To validate personalization:
Use Dynamic Preview in the Email Builder and select a real contact with event history.
Trigger the automation to receive a real email. For example, place a test order to trigger the Order Confirmation automation.
Which data source should I choose to list all products in an order?
Choose Raw → Line Items. In order events, each line item is a product, so this list repeats the layout for every product. Avoid subfolders such as Line Items → Product → Collections unless you need that specific data.
How do I know which property to choose?
Check the event payload in Store Settings → API → API logs to see which property contains the information you need.
Can we add a custom naming for the passed event, similar to Liquid templating? For example, have [[line_item.productURL | 'Your product link']] instead of having a full URL path?
Not currently. Event properties display their full value, such as the complete URL.
Can I add if/else logic inside an event-based layout?
No. Any calculations or logic must be done in the event data before it's sent to Omnisend. To show or hide a whole layout for certain contacts, use Dynamic Content.
Why does my event-based layout show no data sources?
The workflow trigger must be event-based for event properties to be available. Check that your trigger is listed under Triggers with Event Data in the table above. If it is a custom event, check that it sends the needed data.
Does the event-based layout work only with order events?
No. It works with any trigger that carries event data, including cart, browsing, message, and custom events.
Can API-connected stores use event-based layouts?
Yes. All data passed in the event is available, including fields such as shippingMethod, trackingCode, courierTitle, and courierUrl.
What does the alias item mean in this note?
This is a syntax used in some programming or scripting languages to access a property of an item in a list. In the example given, the alias item refers to each item in the list, and 'listProperty' is the specific property of that item being accessed. So if you have a list of items, and each item has a 'listProperty,' you can use this syntax to access that property for each item in the list.
I'm using {{event.properties}} , but it's not working. What's wrong?
Omnisend uses square brackets [[ ]] for all event-based content and personalization, not curly braces {{ }}. If you're pasting code from external templates or other platforms, replace {{ with [[ and }} with ]].
Still have any questions? Feel free to contact our support team at [email protected] or via in-app chat.


























