Sync Salesforce leads to Google Sheets conditionally

CRMMarketingDocument/FileSales Enablement

What it does

When a new lead enters Salesforce, this automation searches Google Sheets for that lead. If found, it updates the row; if not found, it adds a new row so the sheet stays current.

Who it's for

Sales operations teams who maintain a Google Sheets database of Salesforce leads.

How teams use this

Keep a lead database in sync

New Salesforce leads automatically appear in Google Sheets as new rows, and changes to existing leads update those rows. The sheet becomes a live mirror of Salesforce lead data.

Route leads to a shared tracker

Invite team members to the Google Sheet so they see incoming leads from Salesforce in real time. The same automation works for any sheet the team uses to track leads.

Add lead source to the sheet

Extend the automation to include the lead source field from Salesforce so each row in Google Sheets shows where the lead came from. Only the field mapping needs to change.

How it works

  1. Monitor for new leads. A new lead is created in Salesforce and this automation starts immediately to check Google Sheets.
  2. Search the sheet for that lead. Search Google Sheets for rows that match the lead name so the automation knows whether to add or update the record.
  3. Add or update based on results. If no matching rows exist, add a new row in Google Sheets with the lead details. If a match is found, update that row with the latest information.