Dotdigital + Shopify

Connect Dotdigital and Shopify for Smarter eCommerce Marketing

Sync your Shopify store data with Dotdigital to automate personalized email and SMS campaigns that drive revenue.

Why integrate Dotdigital and Shopify?

Dotdigital and Shopify do two very different jobs well — one runs your storefront, the other delivers personalized multi-channel marketing at scale. Connected, they form a closed loop where customer behavior, purchase history, and order data flow automatically into targeted campaigns. Integrating Dotdigital with Shopify eliminates manual data exports, keeps your marketing lists current, and makes it possible to send timely, relevant messages that turn browsers into buyers and buyers into regulars.

Automate & integrate Dotdigital & Shopify

Use case

Automated Abandoned Cart Recovery

When a Shopify customer adds items to their cart but doesn't complete checkout, tray.ai instantly passes that cart data — including product names, images, and values — into Dotdigital to trigger a personalized abandoned cart email or SMS sequence. The workflow can escalate through multiple touchpoints over hours or days, maximizing recovery rates without any manual effort.

Use case

New Customer Welcome Series Enrollment

Every time a new customer completes their first purchase on Shopify, tray.ai creates or updates their Dotdigital contact record and immediately enrolls them in a branded welcome program. Every new buyer gets a consistent onboarding experience — brand story content, product education, first-time buyer incentives — all triggered automatically.

Use case

Post-Purchase Upsell and Cross-Sell Campaigns

After a Shopify order is fulfilled, tray.ai passes the order line-item details into Dotdigital and enrolls the customer in a product-specific follow-up program. Marketing teams can configure logic that recommends complementary products, requests reviews, or delivers usage tips based on exactly what was purchased — turning one-time buyers into repeat customers.

Use case

Real-Time Customer Segmentation and List Hygiene

As Shopify customers make purchases, hit loyalty milestones, or go dormant, tray.ai continuously updates their Dotdigital contact attributes and segment membership. Your marketing lists always reflect current purchase frequency, average order value, and product category preferences — so you're building audiences from live data, not last week's export.

Use case

Win-Back Campaigns for Lapsed Shopify Customers

tray.ai monitors Shopify purchase history and automatically identifies customers who haven't ordered within a defined window, pushing them into a Dotdigital win-back program with personalized incentives. The workflow suppresses contacts who re-purchase during the sequence, so customers never receive a discount they no longer need.

Use case

Transactional Order and Shipping Notifications

Replace generic Shopify transactional emails with branded Dotdigital communications by using tray.ai to route order confirmations, shipping updates, and delivery notifications through Dotdigital's template engine. Marketing teams get control over transactional messaging design while pulling accurate, real-time order status data directly from Shopify.

Use case

Loyalty and VIP Tier Upgrade Notifications

When a Shopify customer's cumulative spend crosses a defined threshold, tray.ai updates their Dotdigital contact record with a new VIP or loyalty tier attribute and triggers a congratulatory campaign. High-value customers get recognized the moment they hit a milestone — no manual checks, no delays, no one falling through the cracks.

Get started with Dotdigital & Shopify integration today

Dotdigital & Shopify Challenges

What challenges are there when working with Dotdigital & Shopify and how will using Tray.ai help?

Challenge

Keeping Contact Data Fresh Across Both Platforms

Shopify customer records are constantly updated with new orders, addresses, and preferences, while Dotdigital relies on accurate contact data to power segmentation and personalization. Without automation, these two systems quickly fall out of sync, causing misdirected campaigns, broken personalization tokens, and compliance risks.

How Tray.ai Can Help:

tray.ai listens to Shopify order and customer update events in real time and immediately pushes changes to the corresponding Dotdigital contact record, keeping fields like lifetime value, last order date, product affinities, and address data current without any manual intervention.

Challenge

Handling Consent and Suppression Compliance

eCommerce brands have to respect marketing consent across both their storefront and marketing platform at the same time. When a customer unsubscribes in Dotdigital or opts out at Shopify checkout, failing to propagate that preference to the other system can mean illegal re-marketing and regulatory exposure under GDPR, CCPA, and other frameworks.

How Tray.ai Can Help:

tray.ai creates bidirectional consent sync workflows that propagate unsubscribe and opt-out events between Dotdigital and Shopify in real time. Suppression logic can be layered with conditional checks to handle edge cases like transactional-only consent, so your marketing operations stay compliant across jurisdictions.

Challenge

Passing Rich Product and Order Data into Email Campaigns

Abandoned cart and post-purchase emails only work when they include accurate, real-time product data — names, images, prices, and inventory status. Pulling this from Shopify's product catalog and order API and mapping it cleanly into Dotdigital's dynamic content fields requires careful data transformation that manual exports simply can't provide.

How Tray.ai Can Help:

tray.ai's built-in data transformation tools let teams map complex Shopify order and product objects directly to Dotdigital's contact data fields and program trigger payloads. Custom logic can enrich product data with promotional overlays, stock indicators, or personalized recommendation attributes before the data ever reaches Dotdigital.

Challenge

Managing High-Volume Order Events Without Data Loss

During peak trading periods like Black Friday and Cyber Monday, Shopify stores can generate thousands of order events per hour. A fragile integration risks dropping events, creating duplicate contacts, or delaying campaign enrollment precisely when timely follow-up matters most.

How Tray.ai Can Help:

tray.ai's workflow engine handles high-throughput event volumes with built-in queuing, retry logic, and error handling. Duplicate contact detection and idempotent update logic ensure that every Shopify order event results in exactly the right action in Dotdigital — even during your busiest trading periods.

Challenge

Attributing Marketing Revenue Back to Shopify Orders

Closing the loop between Dotdigital campaign performance and actual Shopify revenue is a persistent headache for eCommerce marketing teams. Without a structured integration, figuring out which email or SMS touchpoint influenced a conversion means cumbersome manual data joins across platform-specific reports.

How Tray.ai Can Help:

tray.ai can be configured to write Dotdigital campaign attribution data — such as last-clicked campaign ID or program enrollment source — back to the corresponding Shopify customer or order as metadata tags. This creates a clear attribution trail connecting marketing engagement in Dotdigital to real purchase outcomes in Shopify, making ROI reporting considerably more accurate.

Start using our pre-built Dotdigital & Shopify templates today

Start from scratch or use one of our pre-built Dotdigital & Shopify templates to quickly solve your most common use cases.

Dotdigital & Shopify Templates

Find pre-built Dotdigital & Shopify solutions for common use cases

Browse all templates

Template

Shopify New Order → Dotdigital Contact Update & Program Enroll

Automatically creates or updates a Dotdigital contact whenever a new Shopify order is placed, syncing order value, product categories, and purchase count, then enrolls the contact in the appropriate post-purchase email program.

Steps:

  • Trigger fires when a new order is created in Shopify
  • tray.ai maps order data including customer email, order total, SKUs, and fulfillment status to Dotdigital contact data fields
  • Contact is created or updated in Dotdigital with enriched purchase attributes
  • Contact is enrolled in the designated post-purchase automation program in Dotdigital

Connectors Used: Shopify, Dotdigital

Template

Shopify Abandoned Checkout → Dotdigital Abandoned Cart Trigger

Detects abandoned checkouts in Shopify and pushes the cart contents along with customer contact data into Dotdigital to trigger a multi-step abandoned cart recovery email and SMS sequence.

Steps:

  • Trigger fires on a Shopify abandoned checkout event after a configurable delay
  • tray.ai retrieves cart line items, product details, images, and customer contact data from Shopify
  • Customer contact is created or updated in Dotdigital with cart value and item attributes
  • Contact is enrolled in the Dotdigital abandoned cart automation program with dynamic product data

Connectors Used: Shopify, Dotdigital

Template

Dotdigital Unsubscribe → Shopify Customer Tag Sync

When a contact unsubscribes or updates their marketing preferences in Dotdigital, tray.ai immediately updates the corresponding Shopify customer record with a suppression tag, keeping you compliant and preventing re-subscription loops.

Steps:

  • Trigger fires when a Dotdigital contact unsubscribes or changes consent status
  • tray.ai looks up the matching customer record in Shopify by email address
  • Shopify customer record is updated with an unsubscribed or suppressed tag
  • Optional notification is sent to the marketing ops team for compliance logging

Connectors Used: Dotdigital, Shopify

Template

Shopify Customer Win-Back Workflow

Periodically scans Shopify for customers who haven't purchased within a set number of days and enrolls them in a Dotdigital win-back program, suppressing contacts who re-purchase during the sequence.

Steps:

  • Scheduled tray.ai workflow queries Shopify for customers with last order date beyond the defined lapse threshold
  • Each lapsed customer's email is checked against Dotdigital for existing suppression or active program enrollment
  • Eligible contacts are enrolled in the Dotdigital win-back automation program with personalized discount attributes
  • tray.ai monitors subsequent Shopify orders and removes re-purchasers from the win-back program in real time

Connectors Used: Shopify, Dotdigital

Template

Shopify Order Fulfillment → Dotdigital Transactional Email

Routes Shopify order fulfillment and shipping events through Dotdigital's transactional email engine, delivering branded shipping confirmations with tracking links directly from Dotdigital rather than Shopify's default notification system.

Steps:

  • Trigger fires when a Shopify order status changes to fulfilled or shipped
  • tray.ai retrieves tracking number, carrier, and estimated delivery data from the Shopify order
  • A Dotdigital transactional email is dispatched using a pre-built template populated with dynamic order and tracking data
  • Delivery confirmation event is optionally written back to the Dotdigital contact's engagement history

Connectors Used: Shopify, Dotdigital

Template

Shopify VIP Spend Threshold → Dotdigital Tier Upgrade Campaign

Calculates each Shopify customer's lifetime spend and automatically updates their Dotdigital contact tier attribute and triggers a VIP upgrade program when they cross a defined revenue milestone.

Steps:

  • tray.ai triggers on new Shopify order creation and sums lifetime spend for the customer
  • If cumulative spend exceeds a configured VIP threshold, tray.ai updates the contact's tier field in Dotdigital
  • Contact is enrolled in the Dotdigital VIP welcome program with personalized tier-benefit messaging
  • Shopify customer tags are simultaneously updated to reflect the new loyalty tier for future segmentation

Connectors Used: Shopify, Dotdigital