The Shopify integration allows you to automatically sync your store data and trigger marketing campaigns based on customer behavior, purchases, and cart activity.
What You Can Do
- Automatically sync customers and their purchase history
- Track customer lifetime value and order frequency
- Send abandoned cart recovery emails
- Trigger post-purchase follow-ups and review requests
- Create segments based on products purchased
- Automate win-back campaigns for inactive customers
Setup Instructions
Step 1: Connect Your Shopify Store
- Go to Settings → Integrations in MarketSage
- Find Shopify and click Connect
- Enter your Shopify store URL (e.g.,
your-store.myshopify.com) - Click Connect to Shopify
- You'll be redirected to Shopify to authorize the connection
- Review the permissions and click Install app
Connected!
Once connected, MarketSage will automatically start syncing your store data. Initial sync may take a few minutes depending on your catalog size.
Step 2: Configure Sync Settings
After connecting, configure what data to sync:
- Customers - Sync all customers or only those who opted in to marketing
- Orders - Historical orders and real-time new orders
- Products - Product catalog for personalized recommendations
- Abandoned Carts - Enable cart recovery automation
Marketing Consent
By default, MarketSage only syncs customers who have opted in to email marketing in your Shopify store to ensure compliance.
Synced Data
The following data is automatically synced from Shopify:
| Shopify Field | MarketSage Field |
|---|---|
| customer.email | |
| customer.first_name | First Name |
| customer.last_name | Last Name |
| customer.phone | Phone |
| orders_count | Purchase Count |
| total_spent | Lifetime Value |
| last_order_date | Last Purchase Date |
| tags | Tags |
Webhook Events
MarketSage listens for these Shopify events in real-time:
| Event | Use Case |
|---|---|
| orders/create | Order confirmation, update customer LTV |
| orders/fulfilled | Shipping notification, delivery updates |
| checkouts/create | Abandoned cart tracking |
| customers/create | Welcome email sequence |
| customers/update | Keep contact data in sync |
| refunds/create | Refund confirmation, feedback request |
Example Automations
Abandoned Cart Recovery
Recover lost sales with automated cart reminders:
{
"trigger": "shopify.checkout.abandoned",
"delay": "1 hour",
"conditions": {
"cart_value": { "greater_than": 0 }
},
"action": "send_email",
"template": "abandoned-cart-reminder"
}Post-Purchase Review Request
Request reviews after order delivery:
{
"trigger": "shopify.orders.fulfilled",
"delay": "7 days",
"action": "send_email",
"template": "review-request"
}Troubleshooting
Customers Not Syncing
- Verify the customer has accepted marketing in Shopify
- Check your sync settings to ensure customers are enabled
- Try disconnecting and reconnecting the integration
Orders Missing
- Check that order sync is enabled in settings
- Historical orders sync may take time for large stores
- Verify the order status (draft orders are not synced by default)
Abandoned Carts Not Triggering
- Ensure abandoned cart tracking is enabled
- Cart must have customer email to trigger recovery
- Check your automation delay settings