Assign input values with scenarios

Scenarios enable you to assign different sets of values to Start block inputs. With scenarios, you can define values for multiple inputs at a time to suit your current task — whether testing a new Flow you are building or running a Flow regularly. Scenarios are especially convenient when you're testing Flows that require specific but different data.

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 where the key is the input's name and the value is any data received by the input. If you are running a Flow with Start block inputs but have not defined a scenario, Flows will generate placeholder data to run the Flow.

Create a scenario

When you add inputs to the Start block, you can assign them values and save those values as a scenario for testing your Flow. To create a scenario, do the following:

  1. Create a new Flow.

  2. Add one or more inputs to your Start block. The Manage & run scenarios button appears next to the Run button.

  3. Select Manage and run scenarios Manage & run scenarios > Create a scenario Create a scenario or Add a scenario Add a scenario. The scenario editor appears with editable fields for each input in the Start block. By default, Flows creates placeholder data for each field when you create a new scenario.

  4. Enter data for each input field, or use the placeholder data.

  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 Manage and run scenarios Manage & run scenarios.

  2. Hover over the scenario you want to use and select Run Run.

Edit a scenario

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

  1. Select Up icon Manage & run scenarios.

  2. Select the scenario you want to edit.

  3. Enter new values in the input fields.

  4. Select Save icon Save.

Delete a scenario

  1. Select Up icon Manage & run scenarios.

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

Last modified: 2024/10/02