The world's leading cloud-based CRM platform powering sales, service, and marketing for businesses of all sizes.
Full Review
The leading e-commerce platform enabling anyone to start, grow, and manage an online store with built-in payments, shipping, and marketing…
Full ReviewShopify is the most popular ecommerce platform for online stores of all sizes. Salesforce is the most powerful CRM in the enterprise market. Connecting them is essential for ecommerce businesses that need enterprise-grade customer relationship management, advanced analytics, and cross-channel coordination that goes beyond what Shopify's built-in tools provide. This integration is common among mid-market and enterprise ecommerce companies, Shopify Plus merchants, and businesses that sell through both ecommerce and direct sales channels.
The combination makes particular sense for companies where ecommerce is one of several revenue channels. If your sales team manages wholesale accounts, partnerships, or B2B relationships in Salesforce while your B2C storefront runs on Shopify, this integration gives both sides of the business a unified customer view. It also enables marketing teams using Salesforce Marketing Cloud or Pardot to leverage Shopify purchase data for targeted campaigns.
There is no official native integration built and maintained directly by either Shopify or Salesforce. Despite both being major platforms, they operate in different market segments (Salesforce targets enterprise; Shopify targets merchants of all sizes) and have not built a direct connector between them.
Several well-established approaches exist to connect them:
The most common approach for mid-market companies is an AppExchange connector. Here is the general process using a managed package connector.
Go to the Salesforce AppExchange (appexchange.salesforce.com) and search for "Shopify." Compare available connectors based on:
Click Get It Now on the chosen connector, select your Salesforce org (use a Sandbox first for testing), and install the package. Choose appropriate user access — typically Install for Admins Only during initial setup, then extend access after configuration is complete.
Open the connector's configuration page in Salesforce (usually accessible via a new tab or app added by the package). Enter your Shopify store URL and authenticate using either Shopify Admin API credentials or OAuth. You will need a Shopify account with app management permissions (typically the store owner or a staff member with "Apps" permission).
This is the most important step. Map Shopify objects to Salesforce objects:
For each object mapping, configure field-level mapping. Standard fields like name, email, address, and phone typically auto-map. Map additional fields like:
Set sync direction for each object pair. Most Shopify-Salesforce integrations are Shopify-to-Salesforce (ecommerce data flowing into the CRM). Bi-directional sync is less common but useful if Salesforce users need to update customer data that should reflect in Shopify (like updating a customer's email or address). Set sync frequency — real-time via webhooks is ideal for orders, while product catalog sync can run hourly or daily.
Trigger the initial historical data import. For stores with years of order history, this can take hours or days depending on data volume and API rate limits. Monitor the sync progress and error logs. After completion, validate by spot-checking:
| Data | Direction | Sync Frequency | Notes |
|---|---|---|---|
| Customers | Shopify to Salesforce | Real-time or near real-time | Maps to Contacts or Person Accounts |
| Orders | Shopify to Salesforce | Real-time | Maps to Opportunities or custom objects |
| Order line items | Shopify to Salesforce | With parent order | Maps to Opportunity Products |
| Products | Shopify to Salesforce | Periodic (hourly/daily) | Maps to Products with Price Book entries |
| Refunds | Shopify to Salesforce | Real-time | Updates Opportunity status or creates adjustment records |
| Fulfillment status | Shopify to Salesforce | Real-time | Tracking numbers and fulfillment events |
| Inventory levels | Shopify to Salesforce | Periodic | Requires specific connector support; not all connectors sync inventory |
| Customer data updates | Bi-directional (optional) | Near real-time | Address, email, phone changes can sync both ways |
Sync performance depends heavily on the connector used and Salesforce API limits. Enterprise Edition Salesforce provides more API calls (typically 100,000+ per day) than Professional Edition (limited to 15,000-25,000 per day). High-volume Shopify stores may need to monitor and manage API consumption carefully.
The most common issue for active stores. Each order sync can consume multiple API calls (customer record + order + line items + product lookups). A store processing hundreds of orders per day can use thousands of API calls. Solution: Monitor API usage in Salesforce Setup > System Overview. Use bulk API operations where the connector supports them. Consider upgrading API call limits (available as a Salesforce add-on) or optimizing the connector to batch operations.
If your Salesforce org uses both Leads (for new prospects) and Contacts (for qualified accounts), a Shopify customer might be created as a Contact when a matching Lead already exists. Solution: Configure the connector to check both Leads and Contacts before creating new records. Alternatively, set up Salesforce matching rules and duplicate management to catch duplicates regardless of which object they exist on.
Discrepancies between Shopify order totals and Salesforce Opportunity amounts are common. Causes include: tax and shipping being included or excluded differently, currency conversion differences, or refund adjustments not syncing. Solution: Ensure the connector is mapping the correct Shopify amount field (subtotal vs. total with tax and shipping) to the Salesforce Opportunity Amount. Verify that refund sync is enabled and updates the Opportunity value.
Shopify products can have multiple variants (size, color, etc.), but Salesforce Products are flat by default. Mapping variants to Salesforce can result in either too many Product records (one per variant) or lost variant data (only the parent product synced). Solution: Decide on your mapping strategy before setup. For most businesses, creating one Salesforce Product per variant is the most accurate approach, even though it increases the product count.
These platforms can help you connect Salesforce and Shopify without writing code: