Assign input values with scenarios

Scenarios are sets of values assigned to Start block inputs. You can define multiple scenarios with different values for inputs, and change between scenarios for different use cases. For example, scenarios are convenient when you're testing flow modules or actions that require the same inputs but different values for each test. They're also useful when you want to use different input values for a beta or production deployment.

Start block inputs

You can add inputs to the Start block to receive data from a scenario. The Start block can then pass that data to other blocks as key-value pairs. The key is the input's name and the value is any data received by the input.

Create a scenario

When you add inputs to the Start block, you can assign them values with a scenario. Your flow module or action will then use the scenario's values when it runs. To create a scenario, do the following:

  1. Create a new flow module.

  2. Add one or more inputs to your Start block.

  3. In the right sidebar, click Scenarios Scenarios > Create scenario. The scenario editor appears with editable fields for each input in the Start block.

  4. Enter data for each input field.

  5. Click Save.

Run a flow module or action using scenario data

Once you've created a scenario, you can run the flow module or action using the scenario's data as values assigned to the Start block's inputs. To run a flow module or action using a scenario's data, do the following:

  1. Click Scenarios Scenarios.

  2. Hover over the scenario you want to use and click Run. The flow runs using data defined in the scenario.

Edit a scenario

You can change and save the values in a scenario. To edit a scenario, do the following:

  1. Click Scenarios Scenarios.

  2. Hover over the scenario you want to edit and click Edit.

  3. Enter new values in the input fields.

  4. Click Save.

Rename a scenario

You can change a scenario's name. To rename a scenario, do the following:

  1. Click Scenarios Scenarios.

  2. Hover over the scenario you want to delete and click Options icon the more actions icon > Rename.

  3. Enter a new name.

  4. Click the Return or Enter key.

Duplicate a scenario

You can make a copy of an existing scenario. To duplicate a scenario, do the following:

  1. Click Scenarios Scenarios.

  2. Hover over the scenario you want to delete and click Options icon the more actions icon > Duplicate.

  3. Click Save.

Delete a scenario

To delete a scenario, do the following:

  1. Click Scenarios Scenarios.

  2. Hover over the scenario you want to delete and click Options icon the more actions icon > Delete.

Last modified: 2025/05/15