Shopify Integration
Connect the Fyncall widget with your Shopify store for enhanced e-commerce features.
Overview
When connected to Shopify, the widget can:
- Access customer's cart contents
- Display product information in chat
- Sync customer data automatically
- Trigger cart abandonment flows
- Show order history and status
Setup
Via Shopify App (Recommended)
- Install the Fyncall app from the Shopify App Store
- Authorize the connection
- The widget is automatically installed on your store
Manual Installation
If you prefer manual setup:
- Connect your Shopify store in Settings → Integrations → Shopify
- Add the widget script to your theme (see Installation)
- Enable Shopify features in Settings → Widget → Features
Cart Access
Reading Cart Data
When Shopify integration is enabled, the widget automatically:
- Detects cart changes
- Syncs cart value and items
- Makes cart data available to AI agents
The AI can then reference the customer's cart:
Customer: "What's in my cart?"
AI: "You have 2 items in your cart:
- Blue Widget (x1) - $29.99
- Red Gadget (x2) - $39.98
Total: $69.97"
Cart Operations
The widget can perform cart operations through the chat:
| Operation | Example |
|---|---|
| View cart | "Show me my cart" |
| Add item | "Add the large blue widget" |
| Remove item | "Remove the red gadget" |
| Update quantity | "Change blue widget to 2" |
| Apply discount | "Use code SAVE10" |
These operations use Shopify's Cart API and are reflected on the store immediately.
Customer Sync
Automatic Identification
When a customer logs into your Shopify store:
- Customer data is automatically synced
- Chat history is linked to their account
- Previous conversations are available
Synced Data
| Field | Description |
|---|---|
| Primary identifier | |
| Name | First and last name |
| Phone | If available |
| Order count | Total orders placed |
| Total spent | Lifetime value |
| Tags | Shopify customer tags |
Product Information
Product Cards
AI can send rich product cards in chat:
// Example product card data
{
"type": "product_carousel",
"products": [
{
"id": "gid://shopify/Product/123",
"title": "Premium Widget",
"price": "$99.99",
"image": "https://...",
"url": "/products/premium-widget"
}
]
}
Product Search
Customers can search for products:
Customer: "Do you have any blue widgets?"
AI: "We have 3 blue widgets available:"
[Product Carousel: Blue Widget Small, Blue Widget Medium, Blue Widget Large]
Order Tracking
Order Status Cards
Display order tracking in chat:
Customer: "Where is my order?"
AI: "I found your recent order:"
[Order Card:
Order #1234
Status: Shipped
Tracking: 1Z999AA10123456784
Expected: Feb 5, 2026]
Order Lookup
The widget can look up orders by:
- Order number
- Customer email
- Most recent order
Cart Abandonment
Exit Intent Triggers
Detect when a customer is about to leave with items in cart:
Trigger: Exit intent + Cart value > $50
Message: "Wait! Don't forget your items.
Need help completing your order?"
See Proactive Engagement for setup.
Recovery Flows
When a customer returns to an abandoned cart:
- Widget can open automatically
- Show cart summary
- Offer assistance or discount
Configuration
Enable Features
In Settings → Widget → Features:
| Feature | Description |
|---|---|
| Cart Access | Read customer cart data |
| Cart Operations | Allow cart modifications |
| Product Cards | Display product information |
| Order Lookup | Look up order status |
| Customer Sync | Sync Shopify customer data |
Permissions
The Shopify integration requires these permissions:
| Scope | Purpose |
|---|---|
read_products | Product information |
read_orders | Order lookup |
read_customers | Customer data |
read_checkouts | Cart access |
write_checkouts | Cart operations |
Troubleshooting
Cart Not Syncing
- Verify Shopify integration is connected
- Check that cart features are enabled
- Ensure the widget script is on the page
- Try refreshing the page
Customer Not Identified
- Customer must be logged into Shopify
- Check customer sync is enabled
- Verify the email matches between systems
Product Cards Not Showing
- Ensure product catalog is synced
- Check product has images and pricing
- Verify the product is published