# Iterable + Shopify integration

> Sync your Shopify store data with Iterable to run lifecycle campaigns that turn browsers into buyers and buyers into repeat customers.

**Canonical page:** https://tray.ai/connectors/iterable-shopify-integrations/
**Iterable connector:** https://tray.ai/connectors/iterable-integrations/
**Iterable documentation:** https://tray.ai/documentation/connectors/service/iterable
**Shopify connector:** https://tray.ai/connectors/shopify-integrations/
**Shopify documentation:** https://tray.ai/documentation/connectors/service/shopify

## Overview

Iterable and Shopify are two of the most powerful platforms in a modern ecommerce stack — one orchestrates multi-channel marketing campaigns, the other drives online sales. When connected, real-time Shopify customer and order data flows directly into Iterable, fueling personalized email, SMS, and push campaigns triggered by actual purchase behavior. Together, they close the gap between what customers do in your store and what messages they receive from your brand.

Ecommerce brands that rely on manual exports or disconnected tools to move data between Shopify and Iterable are leaving revenue on the table. Abandoned cart sequences lose urgency when they fire hours late, welcome series miss the moment when a new customer is most engaged, and post-purchase flows fall flat without accurate order history. By integrating Shopify with Iterable through tray.ai, every customer action — a new signup, a completed order, a refund, a product review — can instantly update user profiles and trigger precisely timed, deeply personalized campaigns. The result is higher open rates, better conversion, reduced churn, and a marketing operation that scales without piling on manual work.

## Use cases

### Abandoned Cart Recovery Campaigns

When a Shopify customer adds items to their cart but doesn't complete checkout, tray.ai instantly sends that cart data — including product names, images, prices, and quantities — into Iterable to trigger a personalized abandoned cart sequence. Marketers can segment by cart value, product category, or customer lifetime value to tailor the recovery message.

- Trigger abandoned cart emails or SMS within minutes of cart abandonment, not hours
- Populate messages with real-time product data pulled directly from Shopify
- Segment recovery flows by cart value to prioritize high-revenue recovery opportunities

### Post-Purchase Onboarding and Upsell Flows

Every completed Shopify order triggers an automated workflow in tray.ai that updates the customer's Iterable profile with purchase details and enrolls them in a tailored post-purchase journey. These journeys can include order confirmation, shipping updates, product education, cross-sell recommendations, and loyalty program invitations based on what was purchased.

- Deliver relevant post-purchase content based on actual product categories bought
- Automatically promote complementary products using real Shopify catalog data
- Increase repeat purchase rates by nurturing customers immediately after their first order

### New Customer Welcome Series Enrollment

When a new customer account is created or a first purchase is completed in Shopify, tray.ai creates or updates the corresponding user in Iterable and enrolls them in a welcome series without any manual intervention. The welcome flow can be personalized based on acquisition source, first product purchased, or geographic region.

- Engage new customers at peak interest with an automated, timely welcome sequence
- Pass first-order data to Iterable to personalize the very first message in the series
- Reduce manual list imports and eliminate delays caused by batch data syncs

### Win-Back Campaigns for Lapsed Customers

tray.ai monitors Shopify purchase history and automatically updates Iterable customer segments when a shopper crosses a defined lapse threshold — such as no purchase in 90 days. These customers are automatically enrolled in a win-back campaign with incentives calibrated to their historical order value.

- Identify at-risk customers proactively using live Shopify order data
- Trigger win-back campaigns at precisely the right moment without manual segmentation
- Tailor discount depth based on customer lifetime value pulled from Shopify

### VIP and Loyalty Tier Upgrades

As customers hit spend or order frequency milestones in Shopify, tray.ai updates their Iterable user profile attributes and triggers tier-upgrade notifications or exclusive offer campaigns. Brands can define custom thresholds and automatically move customers into VIP lists the moment they qualify.

- Reward high-value customers instantly when they hit spend thresholds in Shopify
- Send exclusive VIP offers through Iterable email, SMS, or push simultaneously
- Keep loyalty segments in Iterable accurate without manual list management

### Refund and Cancellation Re-Engagement

When a Shopify order is refunded or cancelled, tray.ai updates the customer's Iterable profile and can trigger a targeted re-engagement or service recovery campaign. This means your marketing team can respond empathetically with a retention offer or feedback request before the customer walks away.

- Respond to negative order events with timely, empathetic messaging
- Suppress refunded customers from upsell campaigns to avoid tone-deaf communications
- Gather feedback via Iterable surveys to understand and reduce refund root causes

### Product Restock and Back-in-Stock Alerts

When a Shopify product inventory level is updated and a previously out-of-stock item becomes available, tray.ai identifies customers who viewed or wishlisted that product and triggers personalized back-in-stock alerts through Iterable. This turns browsing intent into immediate purchase opportunities.

- Convert lost sales from stockouts into purchases with real-time restock notifications
- Personalize alerts with product images and pricing pulled live from Shopify
- Drive urgency by highlighting limited restocked quantities in the message

## Templates

### Shopify Order Completed → Iterable User Update and Post-Purchase Trigger

Automatically syncs completed Shopify order data to the customer's Iterable user profile and fires a post-purchase event that kicks off a multi-step journey including order confirmation, cross-sell recommendations, and a review request sequence.

Connectors used: Shopify, Iterable

### Shopify Checkout Abandoned → Iterable Abandoned Cart Campaign

Monitors Shopify for checkout abandonment events and immediately pushes cart contents and customer details into Iterable to trigger a time-sensitive abandoned cart recovery sequence across email and SMS channels.

Connectors used: Shopify, Iterable

### Shopify New Customer → Iterable Welcome Series Enrollment

Detects new customer account creation or first-time purchase events in Shopify and automatically creates the user in Iterable with enriched profile data, enrolling them in a personalized welcome series immediately.

Connectors used: Shopify, Iterable

### Shopify Customer Spend Threshold → Iterable VIP Segment Update

Continuously monitors cumulative Shopify customer spend and automatically promotes customers to VIP or loyalty segments in Iterable the moment they cross defined value thresholds, triggering exclusive reward campaigns.

Connectors used: Shopify, Iterable

### Shopify Refund Created → Iterable Campaign Suppression and Recovery Flow

Listens for Shopify refund events and instantly updates the customer's Iterable profile to suppress them from active promotional campaigns while triggering a service recovery or re-engagement sequence.

Connectors used: Shopify, Iterable

### Shopify Product Restock → Iterable Back-in-Stock Alert

Monitors Shopify inventory level changes and sends personalized back-in-stock notifications through Iterable to customers who expressed prior interest in the restocked product.

Connectors used: Shopify, Iterable

## Challenges Tray.ai solves

### Keeping Customer Profiles in Sync Across Both Platforms

Shopify and Iterable maintain separate customer records, and without an integration layer, profile updates — new email addresses, updated phone numbers, changed marketing consent — made in one platform never reach the other. The downstream effects are real: deliverability issues, compliance risks from consent mismatches, and campaigns going out to stale contact data.

**How Tray.ai helps:** tray.ai listens for customer update events in Shopify and immediately applies those changes to the corresponding Iterable user profile. Bi-directional sync rules can be configured to determine which platform is the source of truth for each attribute, so both systems always reflect the latest customer data without manual reconciliation.

### Mapping Complex Shopify Order Data to Iterable Event Properties

Shopify orders contain nested, multi-line-item data structures — variant IDs, fulfillment statuses, discount codes, shipping details — that don't map directly to flat Iterable event properties. Manually transforming this data for each campaign is slow and error-prone, often resulting in broken personalization tokens or incomplete event tracking.

**How Tray.ai helps:** tray.ai's data transformation tools let teams extract, flatten, and remap Shopify's nested order JSON into clean, structured Iterable event properties and user attributes. Custom mapping logic handles multi-SKU orders, bundle products, and conditional field mapping without requiring engineering support for each new campaign.

### Handling High-Volume Event Throughput During Peak Commerce Periods

During flash sales, Black Friday, or major promotions, Shopify can generate thousands of order and customer events per minute. A poorly architected integration will drop events, create duplicate user records in Iterable, or fire campaign triggers out of sequence — exactly the wrong outcome at the highest-stakes moment of the year.

**How Tray.ai helps:** tray.ai runs on enterprise-grade infrastructure that queues and processes high-frequency webhook events reliably without data loss. Built-in deduplication logic prevents duplicate Iterable user creation, and configurable retry mechanisms ensure no order event is missed even during peak traffic spikes.

### Managing Unsubscribes and Consent Across Both Platforms

When a customer unsubscribes from an Iterable email campaign or opts out via a Shopify order confirmation, that consent signal needs to be honored across both platforms immediately. A lag in propagating unsubscribes doesn't just violate CAN-SPAM and GDPR — it erodes customer trust and risks deliverability penalties.

**How Tray.ai helps:** tray.ai monitors unsubscribe events from both Iterable and Shopify and propagates consent changes in real time to the other platform. Workflow logic ensures that an opt-out in either system immediately suppresses the customer across all active campaigns and updates their consent status in both records at once.

### Triggering Campaigns Based on Shopify Metafields and Custom Attributes

Many Shopify merchants use metafields and custom product or customer attributes to store business-specific data — subscription status, product preferences, B2B account tiers — that are essential for advanced Iterable segmentation. These non-standard fields are invisible to basic integrations and require custom logic to surface and map correctly.

**How Tray.ai helps:** tray.ai workflows can query Shopify's REST or GraphQL API to retrieve metafield values for any customer or order object and map them to corresponding custom fields on the Iterable user profile. Marketers can then build Iterable segments and triggers based on the full depth of their Shopify data model, not just the standard fields.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
