Sync Salesforce parent accounts from BreadCard
Recipe ToolsWorkatoCRMMarketingData ParserUtilities
What it does
When someone calls this automation, it pulls account data from Salesforce and parses a CSV file from BreadCard. For each record, the automation searches Salesforce for the parent account to sync the data, and logs any errors to a job report.
Who it's for
Finance teams who need to keep Salesforce parent accounts in sync with BreadCard data without manual updates.
Apps used
How teams use this
Sync parent accounts on schedule
Run this automation daily or weekly to keep Salesforce parent accounts current with BreadCard data. The sync happens in the background without manual work, and errors are logged for review.
Sync only non-person accounts
Filter the search to exclude person accounts so only company parent accounts are synced from BreadCard. This keeps the Salesforce hierarchy clean and focused on business entities.
Alert on sync failures
Send a notification to a Slack channel or email when the job report shows errors so someone can investigate right away. The automation stays the same and only the error handling changes.
How it works
- Call the sync function. A real-time function call starts this automation to sync parent accounts from BreadCard into Salesforce.
- Fetch accounts from Salesforce. Search Salesforce in bulk using a query to pull the account data that will be compared against BreadCard records.
- Parse the BreadCard CSV file. Parse the CSV file from BreadCard so each line becomes a record ready to match against Salesforce accounts.
- Search for parent accounts. For each parsed line, search Salesforce for the parent account by developer name to find matches and sync the data.
- Log results to job report. Record any errors or sync outcomes to a job report so someone can review whether all parent accounts were synced.