Shopify Integration Setup
Connect your Shopify store to see customer and order data directly in support tickets.
What You Get
With Shopify connected:
- Customer info: Name, email, total orders, spend
- Order history: All orders with status
- Order details: Items, shipping, tracking
- Refund capability: Process refunds from Relay
Connecting Shopify
Step by Step
- Go to Settings → Integrations → Shopify
- Click Connect to Shopify
- Enter your Shopify store URL
- Click Install App
- Review permissions in Shopify
- Click Install to authorize
- Return to Relay
Required Permissions
Relay requests access to:
- Customer information (read)
- Order information (read)
- Refund capability (write, optional)
Using Shopify Data
In Ticket Sidebar
When viewing a ticket from a Shopify customer:
┌─────────────────────────┐
│ 🛒 Shopify Customer │
├─────────────────────────┤
│ Orders: 5 │
│ Total Spent: $847.50 │
│ Last Order: Dec 10 │
├─────────────────────────┤
│ Recent Orders: │
│ • #1234 - $199 (Shipped)│
│ • #1198 - $149 (Delivered)
└─────────────────────────┘
Order Details
Click an order to see:
- Items ordered
- Shipping address
- Tracking number
- Order notes
- Payment status
Customer Matching
Automatic Matching
Relay matches customers by:
- Email address (primary)
- Shopify customer ID
Manual Matching
If not auto-matched:
- Open customer profile
- Click Link Shopify
- Search for Shopify customer
- Confirm link
Syncing
Initial Sync
After connecting:
- Customer data syncs within minutes
- Order history imports
- Future orders sync automatically
Sync Frequency
- Orders: Real-time via webhooks
- Customers: Hourly sync
- Manual: Click "Sync Now" in settings
Processing Refunds
From Relay
If enabled, process refunds without leaving Relay:
- Open ticket with order context
- Click order number
- Click Refund
- Select items/amount
- Confirm refund
- Refund processed in Shopify
Refund Notifications
When refunds are processed:
- Shopify handles customer notification
- Activity logged in ticket
Troubleshooting
"Shopify data not showing"
- Verify customer email matches
- Check integration is connected
- Allow time for sync
"Can't connect to Shopify"
- Verify store URL is correct
- Check Shopify permissions
- Try reconnecting
"Orders not syncing"
- Check webhook settings in Shopify
- Verify Relay app is installed
- Contact support if persistent