Input parameters
Define the input of your flow
|
|||||
|
|
This building block allows you to specify the values that your flow needs to work properly.
This is useful when calling your flow either from your own application via API or from another Ultradox flow by using the Subflow building block.
Make sure to always put the input parameter building block on top of your flow and to add it only once.
Use cases
- Publish your Ultradox flow as an API with defined input and output parameters
- Test your flow by entering dummy data as input parameters
- Improve sub-flow data exchange as only the defined parameters are passed
- Make your flow callable from Zapier
Configuration
Click on the bold part of the title of the building block to open the form dialog.
You can then add or modify your defined input parameters in the same way as if you are creating a form.
When running your flow from the Ultradox editor the values that you have entered into the input parameter form will be loaded. This will greatly help you to test your flow.
When executing the flow by invoking the Ultradox API or when calling it as a sub-flow, the entered data will be ignored.
Clicking on the save button will save the entered values. Make sure to always click on the save button after entering of changing the test data.
Clicking on the clear button will erase the value of all entered test data at once.
Record parameters
It can take quite a while to define all the input parameters, especially if you are passing a lot of complex data with nested arrays.
You can let Ultradox detect the input parameters from the passed data automatically by clicking on the record button in the main toolbar of the building block.
Once clicked the record button will turn red and start blinking to indicate that it is waiting for data. Click the button again to cancel record mode.
Now simply call your flow via the API and pass the data. Ultradox will analyze the provided data and will auto-generate the matching input parameters.
Once the data has been recoded the execution of your flow will be aborted and the record button will turn black again.
The detected input parameters will appear on the left. The provided values will be used as dummy data, so that you can test your flow with the given data right from the Ultradox editor.
Useful combinations
Check out the Subflow building block examples.
Questions and Feedback
If you have any comments on this page, feel free to add suggestions right to the Google document that we are using to create this site.
If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.
Last Updated: 29.07.19