Sync failed jobs from lookup table to Google Sheets

Recipe ToolsData ParserDocument/File

What it does

When a scheduled interval arrives, this automation searches a lookup table for failed jobs. For each job found, it updates an existing Google Sheets row or creates a new one, then marks the job as synced in the lookup table.

Who it's for

Operations teams who track failed jobs and need them reflected in Google Sheets without manual updates.

How teams use this

Keep a live failed jobs sheet

Run this automation daily so Google Sheets always shows the current state of failed jobs from the lookup table. The sheet becomes the single source of truth for the team.

Alert the team on new failures

Add a Slack step after the sheet update so the channel gets notified when a new failed job row is created. The sync stays the same and only the notification changes.

Filter jobs by status before syncing

Add a condition to only sync jobs with a specific status or age so the sheet does not get cluttered with old or resolved failures. Include a status filter in the lookup table search.

How it works

  1. Run on a scheduled interval. This automation starts at a specified time or frequency so failed jobs stay in sync without someone having to run it manually.
  2. Search the Failed Job Tracker. Search the lookup table for all entries marked as failed jobs so the automation knows which ones to sync to the sheet.
  3. Sync each job to the sheet. For each failed job from the lookup table, search Google Sheets for a matching row ID. If found, update that row with current details. If not found, add a new row with the job information.
  4. Mark jobs as synced. Update each entry in the Failed Job Tracker lookup table to mark it as synced so the next run does not duplicate the work.