Sync contact status from Google Sheets on function call

Recipe ToolsDocument/FileSales Enablement

What it does

When a function call is made, this automation fetches rows from a Google Sheets spreadsheet and evaluates each contact's status and day count. It updates the sheet based on conditions to keep contact records current.

Who it's for

Operations teams who need to maintain contact status in Google Sheets without manual review.

How teams use this

Keep contact records current automatically

Run the function call to evaluate all contacts in the sheet and update those with a status that needs attention. The team sees fresh data without opening the sheet.

Monitor contacts by age and status

The automation checks both the day count and status field to identify contacts that have not been processed within a specific window. Only those matching both conditions are updated.

Add a notification when contacts are updated

Include a Slack message step after the sheet update so the team is notified when contact records change. Set the message to only send when rows are modified.

How it works

  1. Receive the function call. A function call starts this automation in real time to begin evaluating and syncing contact status across the spreadsheet.
  2. Fetch all spreadsheet rows. Retrieve all rows from the Google Sheets spreadsheet so each contact record can be evaluated against the status and day count conditions.
  3. Update rows that meet conditions. For each row, check if status does not contain processed and day count is between 7 and 21 days. Update matching rows in Google Sheets.