Deprovision automations on a schedule

Recipe ToolsMarketing

What it does

When a scheduled time arrives each day, this automation finds all active automations in the workspace. It stops those with a matching name, or someone can run it manually to stop automations right away.

Who it's for

IT teams who need to pause automations on a schedule without logging into the platform.

How teams use this

Pause automations before maintenance

Stop all active automations at 5 PM each day so maintenance work does not conflict with running integrations. The team knows automations will pause without manual intervention.

Stop automations with a specific name

Filter automations by a keyword in the name so only certain integrations pause on schedule. Other automations keep running while the filtered ones stop.

Run the stop manually during incidents

Trigger this automation by hand during an incident to stop integrations right away instead of waiting for the scheduled time. The same steps run either way.

Deprovision automations by team or environment

Add a filter to check if the automation name includes a team prefix or environment tag, so only automations for that group stop on schedule. This requires adding a condition to the name filter step.

How it works

  1. Run on a daily schedule. This automation runs every day at 5 PM. Someone can also run it manually whenever automations need to stop without waiting for the scheduled time.
  2. Find all active automations. Search the workspace and return a batch list of every active automation so the next step can loop through each one and evaluate it.
  3. Filter automations by name. Loop through each automation and check if the name contains a keyword. Skip this filter to stop all active automations in the workspace instead.
  4. Stop matching automations. Stop each active automation that matched the name filter, or stop all automations if no filter was set in the previous step.