Create Shopify order from Salesforce opportunity
CRMMarketingSalesEcommerce
What it does
When an opportunity in Salesforce reaches Closed Won and has no order number, this automation searches for the products, contacts, and customer details. It creates a customer in Shopify if one does not exist, so the order can be fulfilled.
Who it's for
Sales operations teams who need to sync closed deals from Salesforce to Shopify for fulfillment.
Apps used
How teams use this
Sync closed deals to fulfillment
When a sales rep marks an opportunity Closed Won in Salesforce, the order appears in Shopify ready to ship. The team no longer enters orders twice.
Prevent duplicate customers in Shopify
The automation checks if a customer already exists in Shopify before creating one, so the same buyer is not added twice across multiple deals.
Route orders by opportunity type
Add a condition to filter which opportunities sync based on a custom field, so only certain deal types create Shopify orders. This keeps internal deals out of fulfillment.
Include line item details and pricing
Set the order line items with product names, quantities, and prices from the opportunity line items so Shopify has the full deal scope. This requires mapping each line item field.
How it works
- Monitor for closed opportunities. Watch Salesforce for a new or updated opportunity with a stage of Closed Won and no order number yet.
- Gather opportunity products and contacts. Search Salesforce for the opportunity products, opportunity contact roles, and contact details tied to that deal.
- Find or create the customer. Search Shopify for a customer matching the contact from the opportunity. Create the customer in Shopify if none exists so the order has a buyer.
- Create the order in Shopify. Create a Shopify order with the products and customer from the opportunity so fulfillment can begin.