Deprovision active workflows from Slack

BotsRecipe Tools

What it does

When someone runs a stop workflow command in Slack with a workflow ID, this automation halts that workflow in Workato. It replies in Slack so the channel knows whether the workflow stopped or if the ID was missing.

Who it's for

Operations teams who manage integrations and need to halt workflows quickly from Slack.

How teams use this

Stop a runaway workflow from Slack

When a workflow is running unexpectedly, run the stop command with its ID to halt it immediately without logging into Workato. The team gets instant confirmation in the channel.

Let support teams pause workflows

Invite the bot to a support channel so the team can stop workflows that are causing issues for customers. The same flow works and only the channel membership changes.

Add a reason field to the command

Extend the command to include a reason prompt so the team logs why the workflow was stopped. This requires adding a text field to capture and store that reason.

How it works

  1. Run the stop workflow command. Type the stop workflow command with a workflow ID in a Slack channel or direct message to request that the workflow stop immediately.
  2. Check if ID is present. Evaluate whether the workflow ID from the Slack command was provided so the automation knows whether to proceed with stopping the workflow.
  3. Stop the active workflow. When the ID is present, halt that active workflow in Workato so it no longer runs and stops processing data.
  4. Reply with the outcome. Post a message in Slack confirming whether the workflow stopped or if the ID was missing so the channel sees the result.