How to connect your Shopify store to Artmail
Connecting Shopify to Artmail takes under two minutes. From your Artmail dashboard, navigate to Integrations → Shopify and click 'Connect.' You'll be redirected to Shopify's OAuth authorization screen where you grant Artmail permission to read customers, orders, products, and checkouts.
Once authorized, Artmail automatically registers real-time webhooks for customer updates, new orders, checkout events, product changes, inventory updates, and fulfillment events. An initial sync pulls your existing customers, recent orders, and full product catalog into Artmail.
Your Shopify access token is encrypted with AES-256-GCM at rest — the same encryption standard used for BYOS credentials. Webhook payloads are verified with HMAC-SHA256 to prevent tampering. You can disconnect at any time from the integration settings page.
Real-time sync vs. batch import: why webhooks matter
Many email marketing platforms sync Shopify data on a schedule — every 15 minutes, every hour, or even once a day. This means a customer who abandons a cart at 2:00 PM might not enter your abandoned cart flow until 2:15 PM or later.
Artmail uses Shopify webhooks for real-time event delivery. When a customer abandons a checkout, Shopify sends the event to Artmail immediately. Your automation fires within seconds — not minutes. The same applies to new orders, customer updates, product changes, and inventory restocks.
Real-time sync means your segments are always current, your automation triggers are timely, and your product data in emails is never stale. The difference between a 1-hour abandoned cart email and a 1-hour-plus-15-minutes abandoned cart email is measurable in recovery rate.
Abandoned cart email automation for Shopify
Cart abandonment is the single highest-ROI automation for Shopify stores. With an average cart abandonment rate around 70%, the recovery opportunity is massive.
Artmail's abandoned cart automation fires after a configurable delay — 1 hour is the recommended default. The email is populated with the customer's exact cart contents: product names, variant details, images, quantities, prices, and a direct recovery URL that takes them back to their pre-filled checkout.
A recommended 3-email abandoned cart sequence: email 1 at 1 hour (reminder, no discount), email 2 at 24 hours (social proof or benefit-focused), email 3 at 72 hours (final reminder with optional discount code). Conditional logic lets you vary the approach — high-value carts get a personal touch, repeat abandoners get a stronger incentive.
Recovery is tracked automatically. When the customer completes the checkout, Artmail attributes the order back to the abandoned cart flow and records the recovered revenue.
Revenue attribution: which emails actually drive Shopify sales
Opens and clicks tell you about engagement. Revenue attribution tells you about money. When a contact clicks a link in an Artmail email and purchases from your Shopify store within 7 days, that order's revenue is attributed to the campaign or automation step that generated the click.
You see revenue per campaign, revenue per automation, revenue per step within a flow, and revenue per recipient. Compare your abandoned cart sequence against your weekly newsletter. See which A/B test variant generated more sales — not just more opens.
Revenue attribution is automatic when your Shopify store is connected. No UTM tagging, no manual configuration, no Google Analytics setup required. The attribution flows directly from Artmail's click tracking to Shopify's order webhooks.
Ecommerce segmentation with Shopify data
Your Shopify data powers Artmail's segmentation engine. Build dynamic segments based on purchase history (products bought, collections, order count, total spent, average order value), cart behavior (abandoned, recovered), engagement metrics (email opens, clicks, engagement score), Shopify customer tags, and custom fields.
Example segments: 'Customers who bought from the Summer Collection and spent over $100 but haven't purchased in 60 days.' 'First-time buyers who ordered less than 7 days ago.' 'VIP customers (top 10% by total spend) who are actively engaged.'
Segments recalculate dynamically. As customers place new orders, abandon carts, or change engagement patterns, they move in and out of segments automatically. No manual list management needed.
Product blocks and dynamic content in emails
When your Shopify catalog is synced, you can insert product content directly into emails. The email builder includes a product card block that lets you search your synced catalog, select products, and auto-populate the email with product images, titles, prices, and direct links to your store. For AI-powered template generation from a prompt or image, Artmail uses your synced catalog and brand styles.
For abandoned cart emails, a cart items block renders the customer's exact cart — dynamically populated at send time with the products they left behind. Order confirmation emails use an order details block with line items, totals, and shipping information.
All product data comes from your synced catalog. When you update a product in Shopify — new images, new pricing, new descriptions — the updates flow through to your next email send.
Storefront tracking: browse abandonment and product views
The Artmail storefront tracking script is a lightweight JavaScript snippet that installs on your Shopify theme. It tracks product page views, add-to-cart events, and checkout starts — and identifies visitors by email when they're logged in or have previously clicked through from an Artmail email.
Browse abandonment triggers fire when a known contact views products but doesn't add anything to their cart within a configurable window (default: 1 hour). The trigger passes the viewed product data into your email template, so the reminder shows exactly what they browsed.
Product view data also feeds into contact profiles and segmentation. See which products each contact has viewed, how many times, and when — useful for building interest-based segments and product recommendation strategies.
BYOS with Shopify: enterprise-level email at startup pricing
Most Shopify email marketing apps charge per contact or per email sent — and the price climbs fast as your store grows. Artmail's BYOS model lets you connect your own AWS SES or Resend account and send at your provider's direct pricing.
A Shopify store with 15,000 contacts sending 100,000 emails per month would pay roughly $350/month on Klaviyo. With Artmail + AWS SES, the sending cost is about $10. Same abandoned cart flows, same product blocks, same revenue attribution — dramatically lower cost.
BYOS is especially powerful for Shopify stores with large lists or high sending volume. The savings compound every month. See pricing for Artmail plan tiers.