Sync Google Sheets contacts to Salesforce by industry
Recipe ToolsMarketingDocument/FileSales EnablementCRM
What it does
Every 5 minutes, this automation retrieves contact rows from Google Sheets and validates postal codes against a lookup table. It upserts Healthcare contacts to Salesforce and logs all outcomes to a job report.
Who it's for
Sales operations teams who need to migrate contacts from Google Sheets to Salesforce based on industry classification.
How teams use this
Migrate Healthcare contacts to Salesforce
Contacts from Google Sheets with Healthcare as the industry are automatically upserted into Salesforce. The postal code is validated against the lookup table before the sync occurs.
Expand sync to include other industries
Add conditions to upsert contacts from Finance or Technology industries to Salesforce in addition to Healthcare. Only the conditional logic needs to change to include more industry values.
Route non-Healthcare contacts separately
Contacts that do not match Healthcare are logged to the job report. Retarget this automation to send non-matching contacts to a separate Salesforce campaign or queue for manual review.
Alert the team when sync errors occur
Errors during postal code lookup or Salesforce upsert are caught and logged without retry. Set up alerts on the job report to notify the team when errors occur so they can investigate.
How it works
- Run every 5 minutes. This automation starts on a schedule every 5 minutes to check for new contact rows in Google Sheets.
- Fetch unprocessed rows from Google Sheets. Retrieve all unprocessed contact rows from the spreadsheet, including name, email, postal code, and industry fields for each contact.
- Validate postal code in lookup table. Search the US Postal Codes lookup table for each contact's postal code to verify the location data before syncing to Salesforce.
- Upsert Healthcare contacts to Salesforce. When industry equals Healthcare, upsert the contact into Salesforce. Otherwise, log the row to the job report and mark it as processed.
- Mark row as processed in Google Sheets. Update the Google Sheets row to indicate the contact has been synced, whether it was sent to Salesforce or skipped based on industry.