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.
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.
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:
Add one or more inputs to your Start block. The Manage & run scenarios button appears next to the Run button.
Select Manage & run scenarios > Create a scenario or 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.
Enter data for each input field, or use the placeholder data.
Select Save.
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:
Select Manage & run scenarios.
Hover over the scenario you want to use and select Run.
You can change and save the values in a scenario. To edit a scenario, do the following:
Select Manage & run scenarios.
Select the scenario you want to edit.
Enter new values in the input fields.
Select Save.
Select Manage & run scenarios.
Hover over the scenario you want to delete and select More actions > Delete.
Last modified: 2024/10/02