Trigger an inactive workflow from Slack

Social, UtilitiesUtilities

What it does

When someone runs a command in Slack, this automation retrieves the workflow details and starts an inactive workflow. It posts a reply in Slack so the channel knows whether the workflow started or if an error occurred.

Who it's for

Operations teams who need to start workflows from Slack without logging into the workflow platform.

How teams use this

Start a workflow without logging in

Run the command from Slack to start an inactive workflow and get instant confirmation in the channel. The team stays in Slack and never needs to open the workflow platform.

Let support teams restart workflows

Invite the bot to a support channel so agents can restart workflows when a customer issue requires a process to run again. The same command works across teams.

Add a workflow name parameter

Set up the command to accept a workflow name as input so someone can start any workflow by name without hardcoding it. This makes the automation reusable for multiple workflows.

How it works

  1. Run the start workflow command. Type the command in a Slack channel or direct message to start a workflow by name.
  2. Fetch the workflow details. Look up the workflow in the platform to confirm it exists and retrieve its details before starting it.
  3. Start the inactive workflow. Activate and start the workflow so it begins running immediately when the command is issued.
  4. Reply with the outcome. Post a message in the same Slack conversation to confirm the workflow started or report any error that occurred.