Gifts

Culture

Reviews

Local Spots

How to Connect Salesforce with Shopify (2026)

Salesforce

★★★★ 4.5
Crm Enterprise Crm

The world's leading cloud-based CRM platform powering sales, service, and marketing for businesses of all sizes.

Full Review
Shopify

Shopify

★★★★ 4.6
Ecommerce Ecommerce Platform

The leading e-commerce platform enabling anyone to start, grow, and manage an online store with built-in payments, shipping, and marketing…

Full Review

Why Connect Shopify and Salesforce

Shopify 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.

What This Integration Does

  • Customer and account sync: Shopify customers can sync to Salesforce as Contacts, Leads, or Person Accounts, with all order history and customer data attached.
  • Order to Opportunity mapping: Shopify orders can create Salesforce Opportunities or custom order objects, enabling revenue tracking within Salesforce reports and dashboards.
  • Product catalog sync: Shopify products can map to Salesforce Products and Price Book entries, maintaining a consistent product catalog across both platforms.
  • Inventory visibility: Salesforce users (like customer service reps) can see Shopify inventory levels and order fulfillment status without switching to the Shopify admin.
  • Unified customer view: Sales and support reps in Salesforce see complete customer history — web purchases, order values, product preferences, shipping addresses, and returns — alongside CRM interactions like calls, emails, and meetings.
  • Marketing segmentation: Use Shopify purchase data in Salesforce to build marketing segments for campaigns in Salesforce Marketing Cloud, Pardot, or connected email platforms.

Native Integration vs Third-Party

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:

  • Salesforce AppExchange connectors: Third-party managed packages like Breadwinner, Commercient, and CartConnect are available on the Salesforce AppExchange. These are purpose-built for the Shopify-Salesforce connection and provide managed sync, field mapping, and configuration interfaces within Salesforce.
  • Zapier: Good for basic event-driven workflows like creating a Salesforce Contact when a new Shopify order is placed. Limited for complex data sync scenarios involving multiple Salesforce objects.
  • Make (Integromat): More capable than Zapier for complex multi-object workflows. Can handle multi-step scenarios like creating a Salesforce Account, Contact, and Opportunity from a single Shopify order.
  • MuleSoft: Salesforce's own integration platform (acquired in 2018). Enterprise-grade and expensive, but provides the deepest integration capabilities for complex Salesforce configurations. MuleSoft has pre-built Shopify connectors.
  • Custom API integration: Both platforms have comprehensive REST APIs. Shopify's API supports webhooks for real-time event notifications. Salesforce's REST and Bulk APIs handle any data operation. Custom development provides maximum flexibility but requires ongoing maintenance.

Step-by-Step Setup

The most common approach for mid-market companies is an AppExchange connector. Here is the general process using a managed package connector.

Step 1: Choose a Connector

Go to the Salesforce AppExchange (appexchange.salesforce.com) and search for "Shopify." Compare available connectors based on:

  • Which Salesforce objects they support (Standard vs. Custom objects)
  • Sync direction (one-way vs. bi-directional)
  • Historical data import capabilities
  • Pricing model (per-user, per-record, or flat fee)
  • Customer reviews and support quality

Step 2: Install the Managed Package

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.

Step 3: Connect Your Shopify Store

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).

Step 4: Configure Object Mapping

This is the most important step. Map Shopify objects to Salesforce objects:

  • Shopify Customers to Salesforce Contacts (or Person Accounts if enabled). Decide whether to link contacts to existing Accounts or create new Accounts automatically.
  • Shopify Orders to Salesforce Opportunities (or a custom Order object). Map order status to Opportunity stages (Placed = Closed Won, Refunded = Closed Lost, etc.).
  • Shopify Products to Salesforce Products (with Price Book entry). Map product variants to product records.
  • Shopify Order Line Items to Salesforce Opportunity Products (or custom line item records).

Step 5: Map Fields

For each object mapping, configure field-level mapping. Standard fields like name, email, address, and phone typically auto-map. Map additional fields like:

  • Shopify tags to a Salesforce text field
  • Order notes to a Salesforce long text area
  • Discount codes used to a custom Salesforce field
  • Shipping method and tracking number to custom fields

Step 6: Configure Sync Direction and Frequency

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.

Step 7: Run Initial Sync and Validate

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:

  • 10 random customers — do their Salesforce records match Shopify data?
  • 5 recent orders — are Opportunities created with correct values and products?
  • Product catalog — do all active products appear in Salesforce with correct prices?

Best Automation Workflows

  1. High-value order alerting: When a Shopify order exceeds a threshold (for example, $1,000), create a Salesforce Task assigned to an account manager for personal follow-up. Include order details, product information, and the customer's previous purchase history from the Salesforce record.
  2. B2B account identification: When a Shopify customer makes multiple orders or orders above a certain value, automatically flag them in Salesforce as a potential B2B account. Create a Salesforce Opportunity for a wholesale or partnership conversation and assign it to the business development team.
  3. Refund and return case creation: When a Shopify order is refunded, automatically create a Salesforce Case in the customer service queue. Include the order details, refund amount, and customer history so the support team can proactively reach out if needed.
  4. Customer lifetime value tracking: Use Salesforce rollup summary fields or process automation to calculate each customer's total lifetime spend from their Shopify orders. When a customer crosses tier thresholds (Bronze, Silver, Gold, Platinum), trigger Salesforce workflows for loyalty recognition or targeted marketing.
  5. Abandoned cart follow-up for known accounts: When a Shopify checkout is abandoned by a customer who matches an existing Salesforce Account (especially a B2B account), create a Salesforce Task for the account owner to follow up personally rather than relying on automated email recovery.

Data Sync Details

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.

Common Issues and Troubleshooting

Salesforce API limit exhaustion

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.

Duplicate records across Leads and Contacts

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.

Order amounts not matching between platforms

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.

Product variant mapping complexity

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.

Alternatives

  • Salesforce Commerce Cloud (B2C Commerce): Salesforce's own ecommerce platform (formerly Demandware). Eliminates the integration entirely by running both CRM and ecommerce on the Salesforce platform. However, it is expensive and complex, best suited for enterprise retailers.
  • HubSpot CRM + Shopify: HubSpot offers a simpler, free CRM with a native Shopify integration. A better fit for small-to-mid-sized ecommerce businesses that do not need Salesforce's enterprise capabilities.
  • MuleSoft: Salesforce's own integration platform for complex, enterprise-grade integration scenarios. Expensive but provides the most robust connection with full custom logic, error handling, and monitoring.
  • Zapier or Make: Adequate for simple, event-driven workflows. Not recommended as the primary connector for stores with more than a few dozen orders per day due to execution limits and lack of bulk sync capabilities.
  • Custom API development: Build a Node.js, Python, or Apex application that uses Shopify webhooks and the Salesforce REST/Bulk API. Maximum flexibility and control, but requires development resources and ongoing maintenance.

Compare Salesforce vs Shopify side by side »