Hello @Anonymous
A great example of when to use a Set variable:
Suppose we initialize a variable called status
Now we have a if condition that will evaluate some data:
in the if true block:
We use set variable Status to True
in the if false block:
We use set variable Status to False
Now outside the if condition we are sending an email with the status.
Now we are able to reference the variable regardless of which branch it went in.
Since set variable Stores the value directly inside the variable.
Now if we used a compose for this. There would be 2 separate compose actions. One in the if true block. And one in the if false block. So we wouldn’t not be able to easily reference the status if we stored it inside of the compose.
this is just one example.