Variables actions

shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
action-icon-add-to-variable.webp
Add to Variable
Appends this action’s input to the specified variable, creating the variable if it does not exist. This allows you to make a variable hold multiple items.