Archive active workflows on a schedule

Recipe ToolsMarketingDatabaseUtilitiesData Parser

What it does

When the clock triggers every 1 hour, this automation searches for all active workflows and archives each one. Someone can see the status of each archived workflow in the result list.

Who it's for

Operations teams who need to halt active workflows on a schedule without manual intervention.

How teams use this

Archive workflows during maintenance

Run this automation on a schedule to archive all active workflows before planned maintenance, then review the result list to confirm each one halted. The team avoids manual stops and has a complete audit trail.

Halt workflows in production

Deploy this automation to a production instance so active workflows archive on schedule without someone logging in manually. The result list becomes the compliance record for all archived workflows.

Add a Slack alert when workflows archive

Extend this automation to send a Slack message with the result list after all workflows are archived, so the team is notified immediately. Include the status and count of each archived workflow in the message.

How it works

  1. Run every 1 hour. The automation starts on a schedule every hour to check for and archive active workflows.
  2. Fetch all workflows from the list. Retrieve all workflows stored in Workato Smart List so the automation can identify which ones are active and ready to archive.
  3. Filter for active workflows only. Query the list to find only those marked as active, narrowing the scope before archiving each one.
  4. Archive each active workflow. Loop through the filtered workflows and archive each one, capturing the status of each in a result list for review.
  5. Store the result list. Save the status of all archived workflows in Workato Smart List so someone can review what was archived and confirm success.