Log temporary redirect status every 5 minutes

Recipe ToolsMarketingDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation runs JavaScript code to evaluate termination status. It logs the result to the job report so someone can monitor redirect activity without manual checks.

Who it's for

Operations teams who need to track temporary redirect status at regular intervals.

How teams use this

Monitor redirect expiration automatically

Check termination status every 5 minutes without manual intervention, and log each result so the team sees when redirects expire. The schedule keeps the team informed.

Alert when redirects need renewal

Extend this automation to send a Slack notification when termination status indicates a redirect is about to expire. Add a condition to check if the expiration date is within 24 hours.

Track redirect metrics in a database

Retarget the logged results to also write termination status to a database table for reporting and analysis. The same 5-minute check feeds both the job report and the metrics table.

How it works

  1. Check status every 5 minutes. The automation runs on a 5-minute schedule to monitor redirect activity continuously.
  2. Execute termination status check. Js Eval runs JavaScript code to evaluate the current termination status and determine if redirects are still active.
  3. Log results to job report. Record the termination status check result in the job report so the team can review redirect activity history.