Skip to main content

Overview

The Shopify integration is one of Migma’s most powerful features - select products directly from your Shopify catalog when creating emails. No more manual copying - Migma pulls product images, prices, and descriptions automatically.
Game Changer: Instead of manually copying product information, Migma connects to your Shopify store and lets you browse and select products visually. All data is pulled live - always up-to-date with current prices and inventory!

Visual Product Selection

Browse and select products from your catalog

Live Data Sync

Auto-pull images, prices, and descriptions

Customer Sync

Personalize with customer data

Transactional Emails

Order confirmations and abandoned cart

What You Can Do

Select Products Visually

Browse your Shopify catalog directly in Migma:
Prompt: "Create a product showcase email.

Include these products from my Shopify store:
- Wireless Headphones Pro
- Smart Watch Series 5
- Portable Charger Ultra

Show images, prices, and Buy Now buttons."
Migma automatically:
  • ✅ Pulls high-resolution product images
  • ✅ Gets current prices (always up-to-date)
  • ✅ Fetches product titles and descriptions
  • ✅ Creates product URLs to your store
  • ✅ Includes variant info (sizes, colors)
  • ✅ Shows inventory status (optional)

Use Collections

Select entire collections:
Prompt: "Create new arrivals email featuring ALL products
from my 'Spring Collection' Shopify collection.

Display in 3-column grid with prices and CTAs."

Smart Recommendations

AI-powered product selection:
Prompt: "Create personalized product recommendation email.

Use Shopify data to recommend 4 products based on:
- Customer's previous purchases
- Related/complementary items
- Current promotions"

Setup Shopify Connection

1

Install via Shopify App Store

Option 1: Shopify App Store (Recommended)
  1. Go to Shopify App Store
  2. Search for “Migma Email Designer”
  3. Click “Add app”
  4. Click “Install app”
  5. Authorize permissions
Option 2: Direct Connection
  1. In Migma: Settings → Integrations → E-commerce
  2. Click “Connect Shopify”
  3. Enter your shop URL: yourstore.myshopify.com
  4. Click “Connect”
  5. Authorize in Shopify admin
2

Grant Permissions

Migma requests access to:
Read products - Access product catalog
Read customers - For personalization
Read orders - For transactional emails
No write access - Migma is read-only and won’t modify your store
Click “Install app” to grant permissions
3

Configure Sync Settings

Choose what to sync:
  • ☑ Product catalog (images, prices, descriptions)
  • ☑ Collections
  • ☑ Customer data (name, email, order history)
  • ☑ Order information
  • ☐ Draft products (usually disabled)
Sync frequency:
  • ● Real-time (recommended)
  • ○ Hourly
  • ○ Daily
4

Test Connection

Verify sync is working:
  1. Check product count matches
  2. View sample products in Migma
  3. Verify images are loading
  4. Test product selection in email creation
✅ Connection successful when you can browse products

Using Shopify Products in Emails

Tell Migma which products to feature:
  • By Product Name
  • By Collection
  • By Tags
  • By Criteria
Select products by name:
Create a product showcase email.

Include these products from Shopify:
- "Premium Leather Wallet"
- "Canvas Tote Bag"
- "Wireless Charging Pad"

Show product images, current prices, and "Shop Now" buttons.
Migma finds the products and pulls all data automatically.

Method 2: Smart Recommendations

Let AI select products intelligently:
Create personalized product recommendation email.

Use Shopify data to:
1. Analyze customer's purchase history
2. Find complementary products
3. Check current inventory
4. Select 4 relevant products

Include personalized messaging like:
"Based on your recent purchase of [previous product],
we think you'll love these..."
Migma automatically:
  • Analyzes purchase patterns
  • Finds related products
  • Pulls current data
  • Creates personalized recommendations

Product Data Available

What Migma Pulls from Shopify

Basic product data:
  • Product title
  • Description (short and full)
  • Product handle (URL slug)
  • Product type
  • Vendor
  • Tags
  • SKU
  • Created/updated dates
Live pricing data:
  • Current price
  • Compare-at price (original price)
  • Discount percentage (calculated)
  • Currency
  • Price variations by variant
  • Sale status
Always current - prices update in real-time
High-quality images:
  • Featured product image
  • All product images
  • Variant-specific images
  • Image alt text
  • Multiple sizes available
Optimized automatically for email
Product variations:
  • Size options
  • Color options
  • Material options
  • Variant-specific pricing
  • Variant images
  • Variant availability
Example: T-shirt in Small/Medium/Large, Red/Blue/Green
Stock information:
  • In stock / Out of stock
  • Inventory quantity (optional)
  • Inventory tracking enabled
  • Continue selling when out of stock
Use for: Back-in-stock emails, low stock alerts
Organization:
  • Collection membership
  • Collection title
  • Collection handle
  • Collection image
  • Collection description
Use for: Collection-based emails

Email Types

Product Showcases

Feature products in newsletters:
Create a weekly newsletter showcasing:
- 6 products from "New Arrivals" collection
- 3-column grid layout
- Product images, names, prices
- "Shop Now" buttons
- On-brand design matching my Shopify store

Abandoned Cart

Recover abandoned checkouts:
Create abandoned cart recovery email.

Show products the customer left in cart:
- Product images
- Product names and prices
- Total cart value
- "Complete Purchase" button with cart URL

Add urgency: "Items in your cart are selling fast!"
Include discount: "Save 10% if you checkout today"

Order Confirmation

Transactional order emails:
Create order confirmation email.

Include:
- Order number: {{ order.name }}
- Products purchased (with images)
- Order total: {{ order.total_price }}
- Shipping address
- Tracking link (when available)
- Order date

Back in Stock

Notify when products return:
Create back-in-stock notification email.

Product: {{ product.title }}

Include:
- Product image
- Current price
- "Shop Now" button
- Urgency: "Limited quantity available"

Product Announcements

Launch new products:
Create product launch email for items tagged
"New Arrival" added in the last week.

Show 6 products in 2x3 grid with:
- High-quality images
- Product names
- Launch prices
- "Be the First to Buy" CTAs

Shopify Liquid Variables

Use Shopify’s Liquid templating for dynamic content:

Product Variables

<!-- Product details -->
{{ product.title }}                          → Product name
{{ product.price | money }}                  → Formatted price
{{ product.featured_image | img_url: 'large' }} → Product image
{{ product.url }}                            → Product link
{{ product.description }}                    → Description
{{ product.vendor }}                         → Brand/vendor

<!-- Variants -->
{{ variant.title }}                          → Variant name
{{ variant.price | money }}                  → Variant price
{{ variant.available }}                      → In stock (true/false)

Customer Variables

<!-- Customer info -->
{{ customer.first_name }}                    → First name
{{ customer.last_name }}                     → Last name
{{ customer.email }}                         → Email
{{ customer.orders_count }}                  → Total orders
{{ customer.total_spent | money }}           → Lifetime value

Order Variables

<!-- Order details -->
{{ order.name }}                             → Order number (#1234)
{{ order.total_price | money }}              → Order total
{{ order.created_at | date: "%B %d, %Y" }}   → Order date
{{ order.shipping_address }}                 → Shipping address
{{ order.tracking_number }}                  → Tracking number
{{ order.tracking_url }}                     → Tracking link

Cart Variables

<!-- Abandoned cart -->
{{ cart.item_count }}                        → Number of items
{{ cart.total_price | money }}               → Cart total
{{ cart.checkout_url }}                      → Checkout link

Example Prompts

Basic Product Email

Create a product showcase email.

Use these products from Shopify:
- "Wireless Headphones Pro"
- "Smart Watch Series 5"
- "Portable Speaker"

Show:
- Product images (large)
- Product names
- Current prices
- "Buy Now" buttons linking to product pages

Use a clean, modern design with my brand colors.

Collection-Based Email

Create email showcasing my "Summer Sale" collection from Shopify.

Include:
- All products in collection (up to 12)
- Original prices and sale prices
- Discount percentages
- "Shop the Sale" CTAs
- Urgency: "Sale ends in 3 days"

Layout: 3-column grid on desktop, 1-column on mobile

Personalized Recommendations

Create personalized product recommendation email.

Based on customer {{ customer.first_name }}'s purchase of
{{ last_purchase.product.title }}:

- Recommend 4 complementary products from Shopify
- Show images and current prices
- Explain why each product is recommended
- Include "You might also like" messaging

Make it feel personal, not automated.

New Arrivals

Create "New Arrivals" email.

Show products tagged "New Arrival" added in last 7 days:
- 8 products maximum
- 2x4 grid layout
- Product images, names, prices
- "Just Added" badge on each product
- "Shop New Arrivals" CTA button

Hero section: "Fresh styles just dropped"

Advanced Features

Product Filtering

Use advanced filters when selecting products:
Show products from Shopify:
- Price: $50-$100
- Collection: "Electronics"
- In stock: Yes
Show products that are:
- In stock
- Price under $50
- Added this month
- Has at least 5 reviews
Show products with tags:
- "Best Seller" AND "Under $50"
- NOT "Seasonal"
- In "Electronics" collection
Feature products from vendor "Premium Brands"
- Price above $100
- New arrivals only
- Show 6 products

Dynamic Content

Personalize based on customer data:
{% if customer.orders_count > 5 %}
  <!-- Loyal customer section -->
  Hi {{ customer.first_name }},
  Thanks for being a loyal customer!
  Here are some VIP-exclusive products...
{% else %}
  <!-- New customer section -->
  Welcome {{ customer.first_name }}!
  Discover our best sellers...
{% endif %}

Variant Displays

Show product variants:
Create email showing product "Premium T-Shirt"
with all variants:

Display as:
- Main product image
- Color swatches (available colors)
- Size options (S, M, L, XL)
- Price for each variant
- "Select Your Size" dropdown

Best Practices

Ensure data stays fresh:✅ Enable real-time sync ✅ Set up automatic daily syncs ✅ Verify products before sending ✅ Remove discontinued products ✅ Update images seasonallyWhy: Outdated prices or out-of-stock items frustrate customers
Image best practices:✅ Use images at least 800px wide ✅ White or transparent backgrounds ✅ Show products from best angle ✅ Lifestyle photos for context ✅ Optimize for email (< 1MB)Migma automatically optimizes images for email
Smart product recommendations:✅ Based on purchase history ✅ Related to browsing behavior ✅ Complementary products ✅ Similar price points ✅ Same collection/categoryHigher engagement with personalized products
Ensure mobile-friendly:✅ Images scale properly ✅ Text is readable ✅ CTAs are tappable ✅ Grid adapts (3-col → 1-col) ✅ Load times are fast60%+ of emails are opened on mobile

Troubleshooting

Solutions:
  1. Check Shopify app is installed
  2. Verify permissions are granted
  3. Ensure products are published
  4. Check sync settings in Migma
  5. Force manual sync
  6. Re-authenticate Shopify connection
Solutions:
  1. Verify images exist in Shopify
  2. Check image URLs are public
  3. Ensure images are not too large
  4. Try re-uploading images in Shopify
  5. Clear Migma cache and re-sync
Solutions:
  1. Force sync to get latest prices
  2. Check currency settings
  3. Verify Shopify prices are correct
  4. Enable real-time sync
  5. Check for sale price rules in Shopify
Solutions:
  1. Verify products are published
  2. Check product is in active sales channel
  3. Ensure product isn’t archived
  4. Try searching by product handle
  5. Force a full resync
Solutions:
  1. Check customer sync is enabled
  2. Verify customer permissions granted
  3. Ensure customer accounts exist in Shopify
  4. Check sync frequency settings
  5. Try manual customer sync

Next Steps


Need Help?