Sync Google Sheet contacts to Salesforce by industry
Recipe ToolsMarketingDocument/FileSales EnablementCRM
What it does
When the schedule triggers every 5 minutes, this automation fetches contacts from a Google Sheet and upserts them into Salesforce. Education industry contacts follow one path while others are logged separately, and the sheet is updated to track outcomes.
Who it's for
Sales operations teams who maintain a Google Sheet contact list and need it synced to Salesforce with industry-based routing.
How teams use this
Route Education contacts to Salesforce
Contacts with Industry set to Education are upserted into Salesforce every 5 minutes. Other industries are logged but not synced, keeping the focus on Education leads.
Expand routing to multiple industries
Add conditions to route Healthcare and Government contacts to Salesforce as well. Only those three industries sync; the rest are logged and skipped.
Sync all contacts without filtering
Remove the industry condition so every contact in the Google Sheet is upserted to Salesforce on the 5-minute schedule. The sheet still tracks success and failure.
Check contacts before syncing to Salesforce
Add a validation step to filter out incomplete contact records before upsert. Only contacts with required fields are sent to Salesforce; others are marked as invalid in the sheet.
How it works
- Run every 5 minutes. This automation starts on a 5-minute schedule to keep the Google Sheet and Salesforce in sync.
- Fetch contacts from the sheet. Retrieve all rows from the Google Sheet so each contact can be processed and sent to Salesforce with industry routing.
- Upsert contacts by industry. For each contact, check the Industry field. If it equals Education, upsert to Salesforce. Otherwise, log the contact and skip the upsert to keep focus on Education leads.
- Mark the row as processed. Update the Google Sheet row to show whether the contact was upserted to Salesforce or skipped, and log any errors encountered to the job report.