Sync Google Sheets contacts to Salesforce by industry

Recipe ToolsMarketingDocument/FileSales EnablementCRM

What it does

When the clock triggers every 5 minutes, this automation reads rows from a Google Sheet and searches a lookup table to match each contact's postal code. It upserts contacts into Salesforce only when the industry equals transportation, and logs results to a job report.

Who it's for

Sales operations teams who need to sync Google Sheets contacts to Salesforce based on industry without manual data entry.

How teams use this

Sync transportation contacts to Salesforce

Migrate contacts from Google Sheets to Salesforce when the industry is transportation. The postal code lookup enriches each record before it syncs, so the sales team has complete data.

Expand to other industries

Add more industry conditions so contacts in healthcare, finance, or other sectors also sync to Salesforce. Only the filter logic changes and the rest of the flow stays the same.

Include additional lookup tables

Set up a second lookup table to match company names or regions alongside postal codes. This adds more data points to each contact before it reaches Salesforce.

Alert on sync failures

Add a Slack notification when the job report logs an error so the team can fix bad data in the sheet right away. The automation continues to run on schedule.

How it works

  1. Check for new contacts every 5 minutes. The automation runs on a schedule every 5 minutes to look for new or updated rows in the Google Sheet.
  2. Fetch contact rows from sheet. Retrieve all rows from the Google Sheet spreadsheet so each contact can be processed and enriched in the next steps.
  3. Match postal codes in lookup table. Search the US Postal Codes lookup table for each contact's postal code to enrich the record with location data before syncing.
  4. Upsert transportation contacts to Salesforce. When the industry field equals transportation, upsert the contact into Salesforce. If the industry does not match, the contact is skipped and logged.
  5. Update row status and log outcome. Mark each row as processed in Google Sheets and log the sync outcome to a job report for audit and troubleshooting purposes.