taskstemplates
feedback & roadmap30-day trialbook a demo

Shopify to Salesforce - Orders

This template exports sales orders from Shopify and imports them to Salesforce.

Using this template, you can insert sales orders and line item data from Shopify to Salesforce.

Template

Prerequisites

This template assumes that the following prerequisites are in place:

  • Salesforce user exists for performing the synchronization.
  • Shopify customer has been added as a contact in Salesforce with account information.
  • Because products are uniquely identified with product codes, products from Shopify should be added to Salesforce using the appropriate template before using this template.

Implementation and Usage Notes

This template uses Salesforce queries to get information about orders, contacts and price books. Orders created by this template are matched by their reference number to avoid duplicates. Contact is matched with the customer by the customer's email address. Price book is identified by name, and the entry in the price book is matched by both the price book id and the product code.

Shipping and handling costs are not handled by this template.

Process variables include credential fields for both Salesforce and Shopify.

Error Handling

Each task is followed by an error check. If an error occurs while handling an order or a line item, the handling will stop, and the next order or item will be taken for handling. Any errors encountered will be displayed at the end of the process.

If transient errors are expected, retries for Salesforce and Shopify connections can be enabled from the tasks. Transient errors are not handled.

Template Process Variables

ShopifyBaseUrl The base url for Shopify.
ShopifyAdminToken 🗝The admin token for Shopify.
SalesforceBaseUrl The base url for Salesforce.
SalesforceUser The username for Salesforce account.
SalesforcePassword 🗝The password for Salesforce account.
SalesforceClientId The client id for Salesforce.
SalesforceClientSecret 🗝The client secret for Salesforce.
SalesforceSecurityToken 🗝The security token for Salesforce.