Orchestration
...
Native Actions
Variables
3 min
variables support turbine orchestrators by allowing them to collect data, store it, and use it in downstream actions using the create variables and update variables native actions let orchestrators create and/or update variables (without writing code), add variables, and apply properties from the playbook create variables how do you use the create variables native action? first, create your playbook and/or add a trigger for variables to be applied, there must be previous inputs available upstream in the playbook click the action drop down menu and select create variables click configure , then click add variable to see a list of available property types that you can use currently, you can add string, number, boolean, object, array, or attachment if you want to have more than one, just click the same button and select another property type in the variable box, enter a string value or click select a property to open the property drawer the property drawer shows you all the available inputs from upstream playbook, action, and/or event inputs if needed, you can select expression and use that option by using dot notation you can mark the data as sensitive while creating a variable click the ellipsis button next to the select a property and click mark sensitive click +promote if you want the variable accessible outside the playbook go ahead and add your next action, configure, and then under inputs, click select a property the playbook property drawer now shows the available variables now you have variables to use in the playbook update variables do you want to change your existing variable? let's take a look at a configured variable action in the example, there are two variables a string and object to update the inputs from this variable add the update variables action and click configure click select variable to update and the playbook property drawer opens from here, you can select which variable you want to update you can enter new data, choose a playbook property, or write an expression