Log automation status on a daily schedule

Recipe ToolsMarketing

What it does

When a scheduled time arrives each day at 1:00 AM, this automation retrieves all automations and checks each one. It stops any automation that does not match a specified ID, keeping only the target automation active.

Who it's for

Operations teams who need to ensure only one automation runs at a time without manual oversight.

How teams use this

Prevent multiple automations from running

Stop all automations except one each day so only the target automation executes. This prevents conflicts and ensures predictable behavior without manual intervention.

Enforce a single active automation

Use this for environments where only one automation should be active at any time. The daily check ensures no stray automations remain running from previous days.

Monitor multiple target automations

Extend this automation to stop automations unless their ID matches one of several approved IDs. Add a condition that checks against a list of allowed automation IDs instead of a single one.

Alert when an automation is stopped

Include a notification step after stopping each automation so someone knows which ones were deactivated. This adds visibility to the daily cleanup process.

How it works

  1. Run on a daily schedule. This automation starts every day at 1:00 AM so automations are checked at a consistent time without manual intervention.
  2. Retrieve all automations. Workato App retrieves the full list of automations so each one can be evaluated against the target ID for comparison.
  3. Check each automation ID. For each automation in the list, compare its ID to the target. If the ID does not match, stop that automation from running.
  4. Deactivate non-target automations. Workato App stops any automation whose ID is not the specified one, leaving only the target automation active and running.