Sync CSV contacts from Box to Salesforce

Document/FileMarketingData ParserUtilitiesRecipe ToolsCRM

What it does

When a new CSV file lands in Box, this automation parses it and upserts contacts in bulk to Salesforce. If parsing or the bulk upsert fails, the job stops and logs the error so someone can investigate and fix the file.

Who it's for

Sales operations and Finance teams who import contact lists from Box into Salesforce and need to catch sync failures.

How teams use this

Import a contact list from Box

Upload a CSV file to Box and let this automation parse it and sync all contacts to Salesforce in one batch. The team gets a log entry confirming success or failure.

Catch and report sync errors

If the CSV parse or Salesforce upsert fails, the job stops immediately and logs the error to the job report. Someone can then review what went wrong and fix the file.

Extend to notify on failure

Add a Slack notification step after an error is logged so the team is alerted right away instead of checking the job report manually. Only the error path needs the notification.

Filter contacts by company before sync

Set a condition to filter the parsed CSV so only contacts from a specific company are upserted to Salesforce. This keeps the bulk upsert focused and reduces sync time.

How it works

  1. Detect a new CSV file. A new CSV file arrives in Box. This automation picks it up and begins processing the batch.
  2. Parse the CSV data. Csv Parser extracts and structures the rows from the CSV file. If parsing fails, the job stops and logs the error to the job report so someone can review it.
  3. Upsert contacts in bulk. Contacts are upserted in bulk into Salesforce from the parsed CSV file. If the upsert fails, the job stops and logs the error to the job report.
  4. Log the final result. A completion message is logged to the job report so someone knows the sync finished or encountered an error that needs investigation.