Archive activities on a schedule with Google Sheets

Recipe ToolsDocument/FileDeveloper ToolAPI Integration

What it does

When a scheduled time arrives, this automation queries Google Sheets for rows matching specific criteria. For each matching row, it sends an HTTP request to disable the activity so records stay current.

Who it's for

Operations teams who need to disable activities on a schedule without manual intervention.

How teams use this

Disable expired activities daily

Run this automation each morning to find all activities with an end date in the past and disable them via HTTP request. Records stay current without manual cleanup.

Disable activities by status change

Query Google Sheets for rows where status equals inactive, then disable those activities. Add a filter condition to check only rows updated in the last 24 hours.

Disable seasonal or project activities

Set the schedule to run at the end of each quarter or project phase, then disable all activities tagged for that period. Change the query to match project naming conventions.

How it works

  1. Run on a specified interval. This automation starts at the scheduled time set, like every day at 9 AM or every Monday at noon.
  2. Find rows matching criteria. Search Google Sheets for spreadsheet rows that match the query defined, so only the right activities are disabled.
  3. Disable each activity via HTTP. For each row found, send an HTTP request to disable the activity. The loop repeats until all matching rows are processed.