Run Workflow

Reference documentation for using the Run Workflow action

Written By Support Channel

Last updated 8 months ago

Overview of the Run Workflow action

The Run Workflow action allows you to trigger another workflow/block from within the current workflow. The action allows you to pass in arguments as inputs to the triggered workflow, and enables you to use any outputs the workflow provides.

Purpose

Trigger separate workflows/blocks to run from within your workflow

Parameters

Use Workflow ID
A Workflow or a Workflow ID
Workflow Inputs

Output

Workflow Outputs

Understanding the Run Workflow action

This action will wait for the triggered workflow to fully complete before continuing with the next step in the current workflow. This ensures that outputs or changes made by the triggered workflow are available to use in the remaining steps of the main workflow.

Use Workflow ID

Choose a workflow selection method:

  • Unselected : UseWorkflowID = false
    Choose a workflow from a dropdown list of the available workflows.

  • Selected : UseWorkflowID = true
    Specify the workflow to trigger by providing the exact Workflow ID

Workflow

Select which workflow the Run Workflow action should trigger.

Workflow Inputs

Use these to supply input arguments for your selected workflow. Workflow input fields appear below the Workflow selection control once a target workflow is selected. Required inputs are suffixed with: (Required).

Working with the Run Workflow action

Workflow inputs and outputs

Inputs

Workflows may take inputs; the Run Workflow action generates any input fields needed for a workflow once the target workflow is selected. The input fields appear in the action configuration panel, directly below the Workflow selection control. Use these generated, workflow input fields to provide inputs to your selected workflow. Required inputs must have an argument provided or the workflow will error.

Note

Input fields for a target workflow appear in the configuration panel after you select the workflow that you want to be triggered by the Run Workflow action.

Outputs

You can use the outputs from a workflow triggered by your Run Workflow action. You access them via the action outputs of your Run Workflow action, using the Tag Control. Outputs of a triggered workflow are only available downstream of their associated Run Workflow action.

Create and manage Run Workflow actions

Add a Run Workflow action

Add the action

Use the following steps to add the action to your workflow.

Configure the action

Use the following steps to configure the action.

  1. Set values for the Use Workflow ID and either Workflow or Workflow ID, depending on your chosen workflow selection method.

  2. Set values for the workflow inputs. Inputs marked (Required) must be populated.

  3. Click back in the main view to hide the slide-over.

Delete a Run Workflow action

Use the following steps to remove the action from your workflow:

Take care when deleting an action to also remove any logic using its outputs: workflow steps may function incorrectly or break if they attempt to evaluate an output of a deleted action.