Update and archive Google Sheets rows on schedule

Recipe ToolsMarketingDocument/FileSales Enablement

What it does

When a scheduled trigger fires every 5 minutes, this automation searches Google Sheets for rows that match criteria. For each row found, it deletes the data and updates the row so the sheet stays current.

Who it's for

Operations teams who need to maintain Google Sheets data without manual intervention.

How teams use this

Clean up expired data automatically

Run this automation every 5 minutes to find rows with expired dates, delete the old data, and update the status. The sheet stays clean without someone having to do it by hand.

Archive completed tasks in a tracker

Search for rows marked complete, clear the task details, and update the row to show it was archived. This keeps the active task list focused on what is still in progress.

Add a timestamp to updated rows

Include a step that sets a timestamp column when each row is updated so the sheet tracks when data was last modified. This requires adding a timestamp field to the update step.

How it works

  1. Check the sheet every 5 minutes. This automation runs on a schedule, checking every 5 minutes so rows that need processing are found and handled consistently.
  2. Search for rows to update. Search the Google Sheets spreadsheet for rows that match the criteria so only relevant data is processed in the next steps.
  3. Delete data from each row. For each row found, delete the data in Google Sheets so outdated information is removed and the sheet stays clean.
  4. Update the row in the sheet. Update each row in Google Sheets with the new information so the spreadsheet reflects the current state and status.