> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/main-features/expressions/sample-use-cases/transaction-on-birthday.md).

# Transaction on Birthday

Birthday campaigns are triggered only on the customer birthday- no additional triggers are needed or possible to add.

However, we might want to reward the users for activities at their birthday. Using the similar expression to the previous one, we can say:

```
customer.birthDate.format("d-m") === transaction.purchasedAt.format("d-m")
```

This way, a reward will be given to the members who made any transaction at their birthday, and we can always follow up with other conditions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.openloyalty.io/main-features/expressions/sample-use-cases/transaction-on-birthday.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
