# Create a basic discount

> Once you have learned what our Rule Builder is, you can build your first rules.

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

In a [standard campaign](/docs/product/campaigns/overview#standard-campaigns), let's
create a simple [promotion rule](/docs/product/rules/overview.md#promotion-rules) to provide
customers with a discount when the value of their cart reaches a certain amount.

Remember that, in order to build rules for your campaigns, you can use the data sent
through your Talon.One integration to choose from a series of attributes contained in [the
Rule Builder](/docs/product/rules/overview#attribute-selector).

## Issue a discount on the session total when the cart items total reaches a minimum value

Let's build a rule for the customers to receive a 5% discount on the total value of their
session when they have items worth at least 500 in their cart.

Let's name it `5% discount`. It has one condition and one effect.

### Condition

**Check attribute value**:

- Attribute is **Cart items total (Current session)**.
- **Is greater than or equal to** `500`.

### Effect

**Discount session total**: **Name** is `5% off` and **Discount value** is `[Session.Total]*5%`.

## Related pages

- [Cart item filters](/docs/product/rules/cart-item-filters/overview.md)
- [Use conditions](/docs/product/rules/conditions/overview.md) and [effects](/docs/product/rules/effects/overview.md)
