Sync Salesforce leads to Google Sheets conditionally
CRMMarketingDocument/FileSales Enablement
What it does
When a lead is created or updated in Salesforce, this automation searches Google Sheets for a matching row. If none exists, it adds a new row; if one exists, it updates that row so the sheet stays accurate.
Who it's for
Sales operations teams who track Salesforce leads in Google Sheets and need them to stay in sync.
Apps used
How teams use this
Keep a lead pipeline sheet current
Every new Salesforce lead automatically appears in Google Sheets, and updates to that lead sync back to the sheet. The team sees one source of truth without manual entry.
Prevent duplicate rows in the sheet
The conditional logic checks whether a lead row already exists before adding a new one, so the sheet never duplicates a lead record even if Salesforce fires multiple updates.
Add a filter to sync only qualified leads
Modify the automation to check the lead status in Salesforce and only sync rows when the status equals qualified. Unqualified leads stay out of the sheet until they meet the condition.
Sync leads to a different sheet by source
Set up multiple instances of this automation, each pointing to a different Google Sheet based on where the lead came from. Leads from web go to one sheet, leads from events go to another.
How it works
- Monitor for new or updated leads. A lead is created or updated in Salesforce, and this automation runs to keep Google Sheets current with the latest lead data.
- Search for a matching row. Search Google Sheets for a row that matches the lead so the automation knows whether to add or update.
- Add a new row if none exists. When no matching row is found in Google Sheets, add a new row with the lead details so the sheet captures every lead.
- Update the row if one exists. When a matching row is found in Google Sheets, update it with the latest lead information so the sheet reflects the current state.