Sync WooCommerce orders to Salesforce opportunities

UtilitiesCRMMarketingSales

What it does

When a new order arrives in WooCommerce after April 1, 2016, this automation searches Salesforce for a matching contact by email. If found, it creates an opportunity and links each product in the order to a price book entry in Salesforce.

Who it's for

Sales operations teams who need WooCommerce orders synced to Salesforce opportunities without manual entry.

How teams use this

Sync orders from WooCommerce to Salesforce

New WooCommerce orders automatically create opportunities in Salesforce with the customer contact and product line items. The sales team sees deals in their CRM without manual data entry.

Route orders to account teams

Opportunities are created and linked to existing contacts so account managers can track WooCommerce revenue alongside other deals. Only the Salesforce view of the order changes.

Filter orders by date range

Adjust the date condition to sync only orders from a specific period, or add a filter to check order status before creating the opportunity. This lets teams control which orders flow into Salesforce.

Include custom fields on the opportunity

Map WooCommerce order fields like shipping address or payment method to custom Salesforce opportunity fields so the sync captures more context about each deal.

How it works

  1. Monitor for new orders. A new order is placed in WooCommerce on or after April 1, 2016, and this automation begins processing that order.
  2. Find the customer contact. Search Salesforce for a contact record matching the order email address. If the email is present, the next step runs.
  3. Create the sales opportunity. Create a new opportunity in Salesforce linked to the contact found in the previous step.
  4. Match products to price book. For each line item in the order, search Salesforce for a product with a matching external ID, then retrieve its price book entry to link to the opportunity.