Sync Salesforce health checks to Google Sheets

CRMMarketingSalesUtilities

What it does

When a new health check is created in Salesforce with a planned date after August 31, 2017 and a status of Not Initiated, this automation searches for related accounts and contacts. For each contact found, a row is added to Google Sheets so the team has a record to work from.

Who it's for

Sales operations teams who need to track health checks and related records in a spreadsheet.

How teams use this

Track health checks by account and contact

When a health check is created with the right date and status, find all related accounts and contacts, then log them to a sheet. The team can review the spreadsheet to see which customers need attention.

Route health checks to customer success

Invite the automation to run for health checks in a customer success workspace so the team can track planned outreach. Only the Salesforce object and sheet change, the logic stays the same.

Add account name and owner to each row

Extend the sheet columns to include the account name and account owner for each contact so the team knows who to contact at each company. Add those fields to the row that is written to Google Sheets.

How it works

  1. Monitor for new health checks. A new health check is created in Salesforce with a planned date after August 31, 2017 and a status of Not Initiated.
  2. Search for related accounts. Search Salesforce for accounts that match the health check criteria so the team knows which accounts are involved.
  3. Find contacts with a query. Search contacts in Salesforce using a query to identify all related contacts for the health check and prepare them for logging.
  4. Log each contact to the sheet. For each contact found, add a new row to Google Sheets with the contact details so the team has a central record to review.