Sync leads from Google Sheets to Salesforce

Document/FileSales EnablementCRMMarketing

What it does

When someone adds a row to a Google Sheets spreadsheet, this automation searches Salesforce for that lead. If the lead exists, it stops. If not, it creates the lead in Salesforce so the two systems stay in sync.

Who it's for

Sales operations teams who manage leads across Google Sheets and Salesforce.

How teams use this

Prevent duplicate leads in Salesforce

Check Salesforce before creating each lead so the same prospect is never added twice. The team stays confident that their lead database is clean.

Sync leads from a campaign sheet

Point this automation at a Google Sheets file where the marketing team logs campaign signups. Leads flow into Salesforce automatically without manual entry.

Enrich leads with extra fields

Add columns to the Google Sheets trigger so each new lead is created in Salesforce with phone, company, and source data. Only the sheet structure needs to change.

Route leads by region

Include a region field in the spreadsheet and set up region-based assignment logic so leads are routed to the correct Salesforce queue. Leads land with the right team from the start.

How it works

  1. Detect a new row. A new row is added to a sheet in Google Sheets in real time, capturing the lead details from each column.
  2. Search for the lead. Search Salesforce for a lead that matches the row data to avoid creating a duplicate record.
  3. Create the lead if new. When no matching lead is found in Salesforce, create a new lead record with the spreadsheet row data.
  4. Log the result. Add a new row to a tracking sheet in Google Sheets to record whether the lead was created or already existed.