Sync Salesforce accounts from Google Cloud Storage every 5 minutes

Recipe ToolsMarketingDirectory ServicesCloud PlatformData ParserUtilitiesCRM

What it does

When the clock triggers every 5 minutes, this automation downloads a CSV file from Google Cloud Storage and parses the account data. Someone can keep their Salesforce accounts in sync with a source file without manual uploads.

Who it's for

Sales operations teams who maintain account records across Salesforce and need regular syncs from cloud storage.

How teams use this

Keep Salesforce accounts current automatically

Run the sync every 5 minutes so account changes in the source file appear in Salesforce without delay. The team never has to manually upload or refresh the data.

Sync accounts from a different cloud bucket

Point this automation to a different Google Cloud Storage bucket or folder so multiple teams can feed account data into Salesforce from their own sources. The sync logic stays the same.

Filter accounts by region before syncing

Add a condition after parsing so only accounts matching a specific region are upserted to Salesforce. This keeps regional instances clean and reduces unnecessary updates.

How it works

  1. Run on a 5-minute schedule. This automation runs every 5 minutes so account data stays current between Google Cloud Storage and Salesforce.
  2. Download the account file. Download the CSV file containing account records from Google Cloud Storage so the data is ready to parse.
  3. Parse the CSV into batches. Parse the CSV file into structured batches so each account record can be processed and matched in Salesforce.
  4. Upsert accounts in bulk. Upsert the account batch into Salesforce, creating new accounts or updating existing ones based on matching fields.