# Conditions

> Conditions are available only for promotion rules. They represent the criteria to trigger a given rule effect, following the logic WHEN THEN . They are always specific to your promotional use case.

> For the complete documentation index, see [llms.txt](https://docs.talon.one/llms.txt).

Conditions can be stacked, and they can rely on:

- Internal data generated by Talon.One, such as a coupon code to be validated.
- External data provided by your ecommerce website or any other tool in your business; for
  example, cart information.

Conditions are checked when the Rule Builder receives an **event** related to a customer
session or a customer profile. See [Campaign evaluation](/docs/product/applications/evaluation-order-for-rules-and-filters.md).
Events are a technical concept. Read more about them in the [Developer docs](/docs/dev/concepts/entities/events.md).

:::note Example
**Condition:** `The session total is greater than $500` and `The coupon code is valid`.

If both conditions are true, the
[effect of the rule](/docs/product/rules/effects/available-effects.md) is applied.
In our case, a discount is applied.

Conditions can also have [failure effects](/docs/product/rules/effects/overview.md). For
example, if one of the conditions fails, the discount is not applied and a notification is
displayed instead.

:::

See the [available conditions](/docs/product/rules/conditions/available-conditions.md).

## Related pages

- [Rule types](/docs/product/rules/overview.md)
- [Campaign evaluation](/docs/product/applications/evaluation-order-for-rules-and-filters.md)
- [Events](/docs/dev/concepts/entities/events.md)
