Explore more
...
Scenario inputs and outputs
Create the structure of scenario inputs or outputs
1 min
before using {{scenario singular lowercase}} inputs or {{scenario singular lowercase}} outputs, you need to define their structure when creating the {{scenario singular lowercase}} input structure, you can set any parameter as required, which allows you to validate the structure of the input data you can also add a description to each input parameter to document the data the parameter contains you can add {{scenario singular lowercase}} inputs and outputs anytime to do that in the scenario builder , click the {{scenario singular lowercase}} inputs and outputs icon select the scenario inputs or scenario outputs tab and click add item i n the name field, enter the name of the input or output item this field is mandatory you can't use spaces or special characters in the name you can use letters, numbers, and the underscore symbol you can not start with a number or an underscore followed by a number optional in the description field, add information about the input or output item for example, how it is used in the {{scenario singular lowercase}} or what information it contains in the type field, select the https //help make com/scenario inputs and outputs#scenario input and output types from the dropdown menu this field is also mandatory if you use the type array , set the type of the array items in the nested type field if you use the type collection , you can set the structure of the collection in the specification field {{product name}} validates the input data against the specification if you keep the specification empty, {{product name}} will accept any collection for the input data if you use the type select , add options for the dropdown selection in the options field if you use the type dynamic collection , you can map a collection or a json string to the output field the return output module parses the json and returns it as output bundles you can use the create json module to create a custom data output optional in the default field, enter the default value that is used if the value is missing in the original input under required , select whether this input is required or not to start your {{scenario singular lowercase}} under multi line , select how you want your text to be displayed if you selected text , array , collection or json as the item data type selecting yes shows multiple lines of text selecting no shows only one line of text repeat the process if you need to add more items click save in the scenario inputs box and save your {{scenario singular lowercase}} to work with {{scenario singular lowercase}} inputs, you should use the scenarios > start scenario module to work with {{scenario singular lowercase}} outputs, you should use the scenarios > return output module