CRM 10 min read

Shopify Salesforce Integration: Sync Ecommerce and CRM Data (2025)

Connect Shopify with Salesforce CRM for unified customer data, sales tracking, and marketing automation. Complete setup guide and integration options.

For enterprise ecommerce operations, connecting Shopify with Salesforce CRM creates a unified view of customers across sales, marketing, and support. This guide covers integration options, implementation approaches, and best practices.

Shopify
integrates with
Salesforce
CRM 4.6
TOP PICK

Shopify Made Easy by Commercient

CRM Integration for Shopify
4.6
145 reviews
Price
Custom pricing
Active Users
3,000+
Last Updated
2025-01-14
KEY FEATURES:
Contact Sync Order Sync Product Catalog Custom Fields
PROS
  • Deep Salesforce integration
  • Bi-directional sync
  • Custom object support
CONS
  • Requires Salesforce license
  • Complex setup
  • Higher cost

Why Integrate Shopify with Salesforce?

Salesforce integration makes sense when your Shopify store needs enterprise-grade CRM capabilities:

Use CaseBenefit
Unified customer viewSee ecommerce history alongside sales interactions
B2B sales trackingManage wholesale accounts with opportunity tracking
Marketing automationTrigger Salesforce campaigns from Shopify events
Service integrationRoute support cases with full order context
Sales team visibilityReps see customer purchase history in Salesforce

Common scenarios requiring integration:

  • B2B and B2C hybrid stores
  • Enterprise sales teams using Salesforce
  • Marketing Cloud email campaigns needing ecommerce data
  • Service Cloud support with order visibility
  • CPQ (Configure-Price-Quote) for complex products

Integration Options Compared

Integration Platform as a Service solutions handle complex, bi-directional sync.

PlatformShopify SupportSalesforce SupportStarting Price
CeligoStrongExcellent$600/month
WorkatoExcellentExcellent$10,000/year
MuleSoftEnterpriseNative (Salesforce owned)Custom quote
BoomiGoodStrongCustom quote

Best for: Enterprise stores with complex data requirements

Option 2: AppExchange Connectors

Salesforce AppExchange offers pre-built Shopify integrations:

AppFeaturesPrice
Shopify Connector by CartLogicBi-directional sync, custom mapping$99-299/month
BreadwinnerOrder sync, invoicing$49-149/month
CommercientMulti-platform syncCustom quote

Best for: Mid-market stores with standard integration needs

Option 3: Zapier or Make

For simpler automation workflows:

Trigger: New Shopify Order
→ Action: Create Salesforce Contact
→ Action: Create Salesforce Opportunity
→ Action: Add to Marketing Campaign

Pros: Fast setup, affordable for low volume Cons: Limited to simple workflows, potential reliability issues at scale

Best for: Small stores, proof-of-concept, simple sync needs

Option 4: Custom API Integration

Build a tailored solution using Shopify REST/GraphQL API and Salesforce REST API.

// Example: Shopify webhook to Salesforce
app.post('/webhooks/orders/create', async (req, res) => {
  const order = req.body;

  // Find or create Contact in Salesforce
  const contact = await salesforce.sobject('Contact')
    .findOrCreate({
      Email: order.email
    }, {
      FirstName: order.customer.first_name,
      LastName: order.customer.last_name,
      Phone: order.customer.phone
    });

  // Create Opportunity for the order
  await salesforce.sobject('Opportunity').create({
    Name: `Shopify Order ${order.order_number}`,
    Amount: order.total_price,
    StageName: 'Closed Won',
    CloseDate: order.created_at,
    ContactId: contact.Id,
    Shopify_Order_ID__c: order.id
  });

  res.status(200).send('OK');
});

Best for: Unique business processes, maximum control, large enterprises

Data Mapping Strategy

Customer Data Mapping

Shopify FieldSalesforce ObjectSalesforce Field
Customer EmailContactEmail
First NameContactFirstName
Last NameContactLastName
PhoneContactPhone
CompanyAccountName
Total SpentContactLifetime_Value__c (custom)
Orders CountContactOrder_Count__c (custom)
TagsContactShopify_Tags__c (custom)

Order Data Mapping

Shopify FieldSalesforce ObjectSalesforce Field
Order IDOpportunity / Order__cShopify_Order_ID__c
TotalOpportunityAmount
Created AtOpportunityCloseDate
Financial StatusOpportunityStageName
Line ItemsOpportunityLineItem / Order_Item__cVarious
Fulfillment StatusCustom FieldFulfillment_Status__c

B2B-Specific Mapping

For wholesale/B2B operations:

Shopify B2B Company → Salesforce Account
├── Company Name → Account.Name
├── Company Locations → Account.ShippingAddress, BillingAddress
├── Contact Roles → Contact (linked to Account)
├── Net Payment Terms → Account.Payment_Terms__c
└── Credit Limit → Account.Credit_Limit__c

Shopify B2B Order → Salesforce Order / Opportunity
├── Purchase Order Number → Order.PONumber
├── Company → Account lookup
└── Payment Terms → Order.Payment_Terms__c

Step-by-Step Setup: Celigo Integration

Celigo is a popular choice for enterprise Shopify-Salesforce integration.

Step 1: Prepare Salesforce

Before connecting, configure Salesforce:

  1. Create Custom Fields

    • Contact: Shopify_Customer_ID__c, Lifetime_Value__c
    • Opportunity: Shopify_Order_ID__c, Order_Number__c
    • Consider custom objects for line items
  2. Configure API Access

    • Setup → Apps → App Manager → New Connected App
    • Enable OAuth settings
    • Set callback URL for Celigo
  3. Create Integration User

    • Dedicated user with appropriate permissions
    • API enabled
    • Access to required objects

Step 2: Connect Platforms in Celigo

  1. Add Shopify Connection

    • Enter store URL
    • Generate API credentials in Shopify Admin
    • Test connection
  2. Add Salesforce Connection

    • OAuth authentication
    • Select Salesforce environment (Production/Sandbox)
    • Grant required permissions

Step 3: Configure Integration Flows

Flow 1: Customer Sync

  • Trigger: New/Updated Shopify customer
  • Action: Create/Update Salesforce Contact
  • Matching: By email address

Flow 2: Order Sync

  • Trigger: New Shopify order
  • Action: Create Salesforce Opportunity
  • Include: Line items, customer link, amounts

Flow 3: Product Sync (Optional)

  • Trigger: Shopify product changes
  • Action: Update Salesforce Product2 records
  • Mapping: SKU, name, price, inventory

Step 4: Field Mapping Configuration

Configure detailed field mappings for each flow:

Customer Flow Mapping:
├── email → Email (Primary)
├── first_name → FirstName
├── last_name → LastName
├── phone → Phone
├── addresses[0].company → Account.Name (lookup/create)
├── addresses[0].city → MailingCity
├── addresses[0].province → MailingState
├── total_spent → Lifetime_Value__c
└── orders_count → Order_Count__c

Step 5: Testing and Go-Live

Data Flow
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e0f2fe', 'primaryTextColor': '#0369a1', 'primaryBorderColor': '#0369a1', 'lineColor': '#64748b', 'secondaryColor': '#f0fdf4', 'tertiaryColor': '#fef3c7'}}}%% graph LR A[Shopify Store] -->|Customer Data| B[Shopify] A -->|Order History| B B -->|Segments & Tags| C[Salesforce] C -->|Campaigns| D[Email/SMS] D -->|Engagement| A
Real-time sync Scheduled sync
  1. Test in Sandbox

    • Create test orders in Shopify
    • Verify records appear correctly in Salesforce
    • Test update scenarios
  2. Historical Import

    • Decide on historical data import scope
    • Run batch import for existing customers/orders
    • Verify data integrity
  3. Monitor Post-Launch

    • Watch for sync errors
    • Set up alerts for failures
    • Review logs regularly

Salesforce Cloud-Specific Considerations

Sales Cloud Integration

For sales teams:

  • Map Shopify orders to Opportunities
  • Enable sales reps to see purchase history
  • Trigger follow-up tasks from orders
  • Track reorder rates and customer health

Service Cloud Integration

For support teams:

  • Auto-create Cases from Shopify order issues
  • Show order history in Service Console
  • Enable agents to process refunds/exchanges
  • Track CSAT by order type

Marketing Cloud Integration

For email marketing:

  • Sync customer segments to Marketing Cloud
  • Trigger journey builder entries from purchases
  • Import purchase history for personalization
  • Track email attribution to conversions

Commerce Cloud vs Shopify

Note: Salesforce Commerce Cloud is a separate ecommerce platform, not an integration:

AspectShopify + Salesforce CRMSalesforce Commerce Cloud
Ecommerce platformShopifySalesforce B2C/B2B Commerce
CRM integrationRequires setupNative
CostSeparate pricingSingle vendor
FlexibilityMix best-of-breedSalesforce ecosystem

Common Challenges and Solutions

Challenge 1: Data Quality Issues

Problem: Duplicate contacts, mismatched records

Solutions:

  • Implement matching rules (email as primary key)
  • Use Salesforce Duplicate Management
  • Clean data before initial sync
  • Regular deduplication processes

Challenge 2: Sync Latency

Problem: Real-time updates needed but sync delayed

Solutions:

  • Use webhook-based triggers
  • Implement near-real-time polling
  • Set expectations with stakeholders
  • Critical data: prioritize immediate sync

Challenge 3: Complex B2B Structures

Problem: Company hierarchies, multiple contacts per account

Solutions:

  • Map Shopify companies to Accounts properly
  • Configure Contact Roles for buying committees
  • Sync billing vs shipping contacts appropriately
  • Handle multi-location companies

Challenge 4: High Data Volume

Problem: Large order volumes causing API limits

Solutions:

  • Use Salesforce Bulk API for large imports
  • Implement queueing and rate limiting
  • Batch non-critical updates
  • Consider Salesforce API limit increases

Cost Analysis

Implementation Costs

ApproachInitial CostMonthly CostBest For
Zapier$0$19-149Small stores, simple needs
AppExchange connector$500-2,000$99-299Mid-market stores
iPaaS (Celigo/Workato)$5,000-20,000$500-2,000Enterprise
Custom development$20,000-100,000+$500-2,000Unique requirements

Hidden Costs to Consider

  • Salesforce API call limits (may need increase)
  • Custom object/field development
  • Training for sales/service teams
  • Ongoing maintenance and monitoring
  • Data migration and cleanup

Success Metrics

Track these KPIs after implementing integration:

MetricTargetWhy It Matters
Sync success rate>99.5%Data reliability
Sync latency<5 minReal-time visibility
Sales team adoption>80% usageROI realization
Support case resolution20% fasterService efficiency
Marketing ROIMeasurable attributionCampaign effectiveness

2025 Snapshot

Data point20242025Why it matters
Practical sync SLO for production teams99.5%+ success99.5%+ successKeeps dashboards trustworthy and reduces manual work
Typical near-real-time latency target< 5 minutes< 5 minutesSupports sales/support workflows without over-engineering
Common “primary key” for matchingEmail (B2C)Email (B2C)Reduces duplicates; B2B often needs Account/Company rules
Typical integration patternsConnector / iPaaS / customConnector / iPaaS / customHelps you pick the right tool for your scale

Next Steps

After implementing Shopify-Salesforce integration:

  1. Train your teams on new workflows and data access
  2. Build reports and dashboards for ecommerce visibility
  3. Configure automation (Process Builder, Flows) for sales/service
  4. Integrate marketing campaigns with purchase data
  5. Monitor and optimize sync performance regularly

Shopify + Salesforce implementation checklist (2025)

This section adds practical “make it stable” steps you can use after you install the app/connector. It’s intentionally lightweight: the goal is fewer sync surprises, cleaner reporting, and easier troubleshooting.

1) Quick setup checklist

  • Permissions first: grant only the scopes you need (orders/customers/products as required) and document who owns the admin credentials.
  • Data mapping: confirm how email, phone, currency, and SKU are mapped between Shopify and Salesforce.
  • Historical import: decide how far back to import orders/customers (avoid importing years of data if you don’t need it).
  • Deduplication rules: pick one unique identifier per object (usually email for customers, order ID for orders) to prevent doubles.
  • Alerts: set a lightweight alert path (email/Slack) for failed syncs, auth expiry, and API rate limits.

2) Data you should verify after connecting

Most integration issues show up in the first hour if you test the right things. Use the table below as a QA checklist (create a test order if needed).

Data objectWhat to checkWhy it matters
CustomersEmail/phone format, marketing consent fields, duplicatesPrevents double messaging and broken segmentation
OrdersOrder total, tax, discount, shipping, currencyKeeps revenue reporting and automation triggers accurate
Line itemsSKU, variant ID, quantity, refunds/returns behaviorAvoids inventory and attribution mismatches
FulfillmentStatus changes + timestamps, tracking numbers, carrier fieldsDrives customer notifications and post-purchase flows
CatalogProduct titles, handles, images, collections/tagsEnsures personalization and reporting match your storefront

3) Automation ideas for CRM

  • Lead capture: new customer/signup → create/update contact in Salesforce with consent fields.
  • Lifecycle stages: first purchase → move contact to customer stage and start onboarding tasks in Salesforce.
  • Support handoff: high-value order → create a task/notification so reps can follow up in Salesforce.
  • Deal signals: repeat purchase or high cart value → trigger sales outreach for B2B accounts.
  • Dedupe rules: standardize email/phone formatting to prevent duplicate records across systems.

API sanity check (Shopify Admin API)

If your integration UI says “connected” but data isn’t flowing, a quick API call helps confirm whether the store is accessible and returning the objects you expect.

# List the 5 most recent orders (GraphQL)
curl -X POST "https://your-store.myshopify.com/admin/api/2025-01/graphql.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"query\":\"{ orders(first: 5, sortKey: CREATED_AT, reverse: true) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } customer { email } } } } }\"}"

Tip: keep tokens/keys in environment variables, and test in a staging store/site before rolling changes to production.

4) KPIs to monitor (so you catch problems early)

  • Sync freshness: how long it takes for a new order/customer event to appear in Salesforce.
  • Error rate: failed syncs per day (and which object types fail most).
  • Duplicates: number of merged/duplicate contacts or orders created by mapping mistakes.
  • Revenue parity: weekly spot-check that Shopify totals match downstream reporting (especially after refunds).
  • Attribution sanity: confirm that key events (purchase, refund, subscription) are tracked consistently.

5) A simple 30-day optimization plan

  1. Week 1: connect + map fields, then validate with 5–10 real orders/customers.
  2. Week 2: enable 1–2 automations and measure baseline KPIs (conversion, AOV, repeat rate).
  3. Week 3: tighten segmentation/rules (exclude recent buyers, add VIP thresholds, handle edge cases).
  4. Week 4: document the setup, create an “owner” checklist, and set a recurring monthly audit.

Related integration guides

Sources


Need simpler CRM integration? Check our Shopify HubSpot integration guide. For B2B wholesale operations, see Shopify ERP integration.

CRM Integration Comparison

Compare key features across popular crm solutions

FeatureSalesforceHubSpotPipedriveZoho CRM
Free tierAvailable without paymentNoYesNoYes (3 users)
Contact syncCustomer data synchronizationYesYesYesYes
Order historyPurchase data in CRMYesYesYesYes
Abandoned cartCart recovery workflowsVia automationYesVia ZapierVia workflow
Custom fieldsCustom data mappingYesYesYesYes
Bi-directional syncTwo-way data flowYesLimitedLimitedYes

Data based on publicly available information as of February 2026. Features and pricing may vary.

Questions & Answers

Does Shopify integrate with Salesforce?

Shopify doesn't have native Salesforce integration. You'll need third-party connectors like Zapier, Celigo, or dedicated AppExchange apps. Salesforce Commerce Cloud is a separate product from Shopify.

What's the best Shopify Salesforce integration app?

For simple needs, Zapier works well. For enterprise requirements, consider Celigo, Workato, or AppExchange apps like 'Shopify for Salesforce' by CartLogic. Choice depends on data volume and customization needs.

How much does Shopify Salesforce integration cost?

Costs vary widely: Zapier starts at $19/month for basic workflows, middleware platforms run $500-2,000/month, and custom implementations can cost $10,000-50,000+ for initial setup.

What data syncs between Shopify and Salesforce?

Typical integrations sync customers (as Contacts or Accounts), orders (as Opportunities or custom objects), products, inventory, and marketing data. B2B setups often sync company hierarchies and credit terms.