Sync Shopify orders to Salesforce opportunities and line items

EcommerceCRMMarketingSales

What it does

When a new order is created in Shopify, this automation searches Salesforce for a matching contact. It creates the contact if needed, then creates an opportunity and adds each order item as a line item.

Who it's for

Sales operations teams who need Shopify orders to flow into Salesforce as opportunities without manual entry.

How teams use this

Sync Shopify orders to Salesforce pipeline

Every Shopify order automatically becomes a Salesforce opportunity with the customer as a contact and each product as a line item. The sales team sees new deals in Salesforce without leaving the platform.

Route orders by product type

Extend this automation to check the product category from each Shopify order and assign the opportunity to different sales teams. Only orders matching certain product types flow into Salesforce.

Link opportunities to existing accounts

Retarget this automation to search for an account in Salesforce instead of just a contact, then link the opportunity to that account. The flow stays the same but opportunities now roll up to accounts.

Set custom fields from order data

Add steps to map Shopify order fields like shipping address or payment method to custom fields on the Salesforce opportunity. This enriches the record with data the sales team needs.

How it works

  1. Monitor for new Shopify orders. When a new order is created in Shopify, the automation starts and pulls the order details including customer name, email, and line items.
  2. Search for the contact in Salesforce. Search Salesforce for a contact matching the customer from the Shopify order so the opportunity links to the right person.
  3. Create the contact if missing. If no contact exists in Salesforce, create one with the customer details from the Shopify order so the opportunity has a contact to link to.
  4. Create the opportunity. Create an opportunity in Salesforce linked to the contact, with the order total as the amount and order details as the name.
  5. Add each order item as line item. For each product in the Shopify order, search Salesforce for the product and price book entry, then create an opportunity line item.