Create bulk Salesforce contacts from Google Sheets
Recipe ToolsMarketingDocument/FileSales EnablementCRM
What it does
When the clock triggers every 5 minutes, this automation reads rows from a Google Sheets spreadsheet and creates or updates contacts in Salesforce. It filters by industry, enriches postal codes with city data, logs errors, and updates the sheet with results.
Who it's for
Sales operations teams who need to sync contact data from Google Sheets into Salesforce without manual entry.
How teams use this
Sync Transportation industry contacts daily
Run the bulk create every 5 minutes to keep Transportation contacts in Salesforce current with the Google Sheets source. The team maintains one list and Salesforce stays synchronized automatically.
Add postal code enrichment for all industries
Extend the lookup table filter to include all industries, not just Transportation, so every contact gets city data added during the sync. Only the condition changes.
Route errors to a Slack channel
Send error logs to a Slack channel so the team sees failed syncs in real time instead of checking the sheet. The sync logic stays the same and only the error destination changes.
Batch sync on demand instead of scheduled
Replace the 5-minute clock trigger with a manual button so someone can run the bulk create when needed. The rest of the flow including enrichment and upsert stays unchanged.
How it works
- Check for new rows every 5 minutes. The automation runs on a schedule every 5 minutes to look for new spreadsheet rows ready to sync.
- Fetch rows from the spreadsheet. Retrieve all rows from the Google Sheets spreadsheet that contain contact data to be processed in this batch.
- Enrich postal codes with city data. For each row where the industry equals Transportation, look up the postal code in the lookup table to add the city information.
- Create or update contacts in Salesforce. Upsert each enriched contact record into Salesforce. If a contact exists, update it; if not, create it as a new record.
- Log results back to the sheet. Update the spreadsheet row with the sync status, error messages if any occurred, and successful transaction counts.