Sync Salesforce records on a schedule with Cohesity

Recipe ToolsDeveloper ToolAPI IntegrationCRMMarketing

What it does

When a scheduled interval occurs, this automation queries Salesforce using SOQL and batches the results via HTTP requests. Someone can monitor job status throughout the process to ensure the data sync completes.

Who it's for

Data and analytics teams who need to regularly pull Salesforce records for backup or analysis without manual intervention.

How teams use this

Back up Salesforce data daily

Run this automation every night to query all customer records from Salesforce and store them in Cohesity. The team gets a reliable backup without manual steps.

Sync specific record types on demand

Adjust the SOQL query to filter only opportunities or accounts, then run the sync on your schedule. The same workflow handles different data sets.

Add error notifications to the sync

Include a condition to check if the batch job fails, then send an alert to a Slack channel. This requires adding a notification step when job status shows an error.

How it works

  1. Run on a specified interval. This automation starts on a schedule you set, such as daily or weekly, to keep Salesforce data in sync with Cohesity.
  2. Query Salesforce using SOQL. Send an HTTP request to Salesforce with a SOQL query to retrieve the records you need for the batch job.
  3. Create batch and monitor jobs. Add the Salesforce records to a batch job in Cohesity via HTTP, then check the job status until it completes.
  4. Retrieve and confirm results. Once the batch job finishes, retrieve the synced records via HTTP and confirm the data transfer is complete.