Save to state
With the Save to State action you can save temporary values to the State. This is useful when you want to use the same value in multiple steps of your workflow.
The saved value is available as {{state.<key>}}
in all actions and components.
First, create a variable to store the value you want to save, make sure to select a proper variable type.
Then, use the Value field to pass the data you want to save.
Saving a result of the previous step:
Additionally, you can save state values in the Code action:
read with the state.getValue
method:
reset a variable to the initial value:
or reset all variables:
Also, you can adjust the data before saving it.
Add additional values
The created_at
column must exist in the table schema, otherwise it will not be sent.
Change the values
Delete unwanted values
alternatively:
Join array values
Use default values
Last updated