Assign input values with scenarios

Scenarios are sets of values assigned to Start block inputs. With scenarios, you can define values for multiple inputs to suit your current task. For example, scenarios are convenient when you're testing flows that require the same inputs but different values for various test cases.

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 will then use the scenario's values when it runs. To create a scenario, do the following:

  1. Create a new flow.

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

  3. In the right sidebar, select 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. Select Save.

Run a flow using scenario data

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

  1. Select Scenarios Scenarios.

  2. Hover over the scenario you want to use and select 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. Select Scenarios Scenarios.

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

  3. Enter new values in the input fields.

  4. Select Save.

Rename a scenario

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

  1. Select Scenarios Scenarios.

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

  3. Enter a new name.

  4. Select 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. Select Scenarios Scenarios.

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

  3. Select Save.

Delete a scenario

To delete a scenario, do the following:

  1. Select Scenarios Scenarios.

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

Last modified: 2025/03/19