Sync Oracle BTS data to Salesforce accounts daily

Recipe ToolsMarketingDatabaseUtilitiesCRMData Parser

What it does

When a scheduled time arrives each day, this automation pulls Back To School data from Oracle and syncs it to Salesforce accounts in bulk. It parses the data, matches records, and updates Salesforce so the sales team always has current information.

Who it's for

Sales operations teams who need Oracle data reflected in Salesforce without manual uploads or data entry.

How teams use this

Keep Salesforce accounts current daily

Run the sync every morning so the sales team opens Salesforce to accounts with the latest Back To School data from Oracle. No manual steps are needed.

Sync to a different Oracle table

Point the automation to a different Oracle table or view so other datasets can flow to Salesforce on the same schedule. The rest of the flow stays the same.

Add a filter for specific accounts

Include a condition to update only accounts in a certain region or segment so the sync targets the right records. This requires adding a filter step after the Salesforce search.

Set up notifications after each sync

Add a Slack notification step at the end so the team receives a summary with the count of updated accounts and any errors that occurred during the run.

How it works

  1. Run the sync daily. The automation starts every day at 4:00 AM to pull the latest Back To School data from Oracle and update Salesforce accounts.
  2. Fetch BTS data from Oracle. Select rows from the APPS.XXCL_BTS_DATA_V table in Oracle to retrieve all current Back To School records for the sync.
  3. Search Salesforce accounts in bulk. Query Salesforce using SOQL to find matching accounts by name or ID so the data can be linked to the right records.
  4. Parse and organize the data. Convert the Oracle data into a structured format and match it with Salesforce accounts so updates can be applied in bulk.
  5. Update accounts in Salesforce. Push the parsed Back To School data to Salesforce in bulk so all account records reflect the latest information from Oracle.