# Event

#### What

A temporary variable created while a flow is running.\
It exists only for the duration of that flow.

#### Why

Useful for short-term data storage—like session IDs, one-time calculations, or intermediate results that don’t need to be saved after the flow ends.

#### How to use

* Create them inside your flow steps.
* Use to get the event properties as variable
* Access them with `{{event.variableName}}`.

#### Example

You received an **event trigger** `NewOrder` with a property `value = 74.32`.

```
NewOrder {
"id": 453,
"value": 74.32,
"item": "Phone Case"
}
```

You want to calculate the amount **before taxes (15%)**.

Create a new event variable event.orderValueBeforeTax:

```
event.orderValueBeforeTax = {{event.value}} / 1.15
```

Now your flow has:

* `event.value = 74.32`
* `event.orderValueBeforeTax = 64.64`

You can use these variables in a confirmation SMS, for example:

```
Hi {{contact.firstName}}, just to confirm your order #{{event.Id}}  
at the price of {{event.orderValueBeforeTax}} +tx  
for a total of {{event.value}}.
```
