Sync Salesforce opportunities to Google Sheets

CRMMarketingSalesUtilities

What it does

When an opportunity is created or updated in Salesforce, this automation checks if the deal is won. If it is won and has a margin on sale, it adds a row to Google Sheets and sends an email notification.

Who it's for

Sales operations teams who track closed deals in a shared spreadsheet without manual entry.

How teams use this

Track closed deals in one place

When a won opportunity with a margin reaches Salesforce, it flows into Google Sheets automatically. The team sees all closed deals in one spreadsheet without copying data by hand.

Route deals to finance for review

Send the email notification to the finance team instead of sales so they receive closed deals for invoicing and revenue recognition. The Salesforce and Sheets sync stays the same.

Only sync deals above a threshold

Add a condition to check that the deal amount exceeds a minimum value before the row is added to Google Sheets. This filters out small opportunities and keeps the spreadsheet focused on high-value wins.

How it works

  1. Monitor opportunity changes. Detect when an opportunity is created or updated in Salesforce so the automation runs each time the status or details change.
  2. Check if opportunity is won. Evaluate whether the opportunity status is won before proceeding to verify the margin on sale field.
  3. Verify margin on sale exists. Confirm that the margin on sale field is populated so only complete records are synced to Google Sheets.
  4. Add row to Google Sheets. Insert a new row in Google Sheets with the opportunity details so the team has a live record of closed deals.
  5. Send email notification. Notify the team via email that the won opportunity with margin has been added to the spreadsheet so no one misses the update.