Sync Salesforce orders to Sage X3 accounts

CRMMarketingData ParserUtilitiesDatabaseRecipe ToolsDeveloper ToolAPI Integration

What it does

When a new or updated order summary appears in Salesforce, this automation searches for the related account and contact point address. It then prepares the data and routes it to Sage X3 based on the customer code.

Who it's for

Accounting teams who need orders from Salesforce synced to Sage X3 without manual entry.

How teams use this

Sync new Salesforce orders to Sage X3

When someone creates an order in Salesforce, the account and address are automatically sent to Sage X3. The team no longer needs to re-enter order details in the accounting system.

Route orders by customer code

Orders are only sent to Sage X3 when a customer code exists in Salesforce. This ensures only valid customers are synced and prevents incomplete records from reaching the accounting system.

Include billing address in the sync

Add a filter to also search for and include the billing address from Salesforce. The automation will parse and send both shipping and billing addresses to Sage X3 with each order.

Notify on sync failures

Set a condition to check if the Sage X3 request fails and send an alert to a Slack channel. The team can then investigate and manually sync the order if needed.

How it works

  1. Monitor for new or updated orders. Detect when an order summary is created or changed in Salesforce so the sync can begin.
  2. Find the related account. Search Salesforce for the account linked to the order summary using a SOQL query to retrieve customer details.
  3. Retrieve contact point address. Search Salesforce for the contact point address associated with the account using a SOQL query to get shipping details.
  4. Prepare the data. Parse the account and address information into a format Sage X3 can receive.
  5. Send to Sage X3. Route the prepared order and account data to Sage X3 based on the customer code.