Sync Salesforce opportunities to Google Sheets

CRMMarketingSalesUtilities

What it does

When an opportunity is created or updated in Salesforce, this automation retrieves the account and contact details. If the stage contains Won, it adds a row to Google Sheets so someone sees the closed deal in the spreadsheet right away.

Who it's for

Sales operations teams who track closed opportunities in a shared Google Sheets without manual entry.

How teams use this

Track closed deals in a shared sheet

Sync only Won opportunities to Google Sheets so the team has a live record of closed deals without copying data by hand. Sales operations can monitor pipeline velocity from one place.

Sync all opportunities regardless of stage

Remove the stage condition so every opportunity created or updated in Salesforce flows to Google Sheets. The team gets a complete view of all deals in motion.

Add custom fields to the spreadsheet

Include additional Salesforce fields like deal size, close date, or owner name in the Google Sheets row. Set up column headers for each field so the spreadsheet captures what the team needs to see.

How it works

  1. Opportunity is created or updated. An opportunity record changes in Salesforce, starting this automation to sync the data to Google Sheets.
  2. Retrieve account details. Look up the account information linked to the opportunity in Salesforce so the spreadsheet has the full customer context.
  3. Retrieve contact details. Fetch the contact record associated with the opportunity in Salesforce to include the person's information in the row.
  4. Add row when stage is Won. If the opportunity stage contains Won, add a new row to Google Sheets with the opportunity, account, and contact details so the team tracks closed deals.