Sync Google Sheet contacts to Salesforce every 5 minutes

Recipe ToolsMarketingDocument/FileSales EnablementCRM

What it does

Every 5 minutes, this automation fetches rows from a Google Sheet and enriches each contact with postal code data. It upserts contacts to Salesforce only when the industry is Education and a last name is present, then updates the sheet to mark completion.

Who it's for

Sales operations teams who maintain a Google Sheet contact list and need it synced to Salesforce automatically.

How teams use this

Sync education contacts to Salesforce

Automatically upsert contacts from the Google Sheet to Salesforce every 5 minutes when the industry field is Education and a last name exists. The sheet updates to show which rows were synced.

Expand sync to other industries

Retarget this automation to sync contacts from any industry by removing or changing the Education condition. The same 5-minute schedule and postal code enrichment apply to all records.

Add phone validation before sync

Extend the automation to include a phone number validation step that checks if a phone field is present before upserting to Salesforce. Only contacts with valid phone data sync to the CRM.

Filter by region using postal codes

Add a condition to sync only contacts whose postal code lookup result matches a specific region or state. The enrichment step feeds the region filter so only relevant contacts reach Salesforce.

How it works

  1. Run every 5 minutes. This automation starts on a 5-minute schedule to keep the contact data current in Salesforce.
  2. Fetch rows from Google Sheet. Retrieve all rows from the spreadsheet so each contact can be processed and enriched before syncing to Salesforce.
  3. Enrich with postal code data. Search the US Postal Codes lookup table for each contact to add location information before upserting to Salesforce.
  4. Upsert contacts when conditions match. Create or update each contact in Salesforce when the industry is Education and a last name is present, then log errors to the job report.
  5. Mark rows as synced. Update each row in the Google Sheet to record that the contact was processed and sent to Salesforce.