Skip to main content

Create variable


Intro

Using this node you can save a variable that can be easily accessed and updated later in your endpoint using the following syntax: koxy.var.{var_name}.


How this node works

This node will take the variable you give it and save it as a key-value in the memory, so the variable can be accessed later from any node property that supports using dynamic variables using the koxy.var.{var_name} syntax where var_name is the key of the variable. if a variable with the giving key already exist its value will be updated with the new one.


Node properties

  • name: Node names should be unique and can't be changed.

  • Variable key: The name or key of the variable that can be used later to access or update it.

  • Variable value: The value of the variable to be saved. this can be any type of data such as strings, numbers, and boolean values but however arrays and objects are not recommended yet.

  • Next: The action that will be triggered after saving the variable. click on the next input to get a list of available triggers.


Dynamic variables support

You can use Dynamic variables in the following properties:

  • Variable value.