---
title: Macro expressions
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Macros are text expressions that the system evaluates and resolves into values. For more information about macro usage, see [Macro syntax](https://docs.kentico.com/documentation/developers-and-admins/configuration/macro-expressions/macro-syntax.md).

## Macro availability

In the current version of Xperience by Kentico, macro expressions are usable in:

- the source code of [Email templates](https://docs.kentico.com/documentation/developers-and-admins/digital-marketing-setup/email-templates.md)
- the **Modules** application when defining default values for the editing forms of [object types](https://docs.kentico.com/documentation/developers-and-admins/customization/object-types.md)

## Development considerations

Developers and administrators need to consider macros when deploying content and other data between different instances of Xperience, for example using [Continuous Integration](https://docs.kentico.com/documentation/developers-and-admins/ci-cd/continuous-integration.md) or [Continuous Deployment](https://docs.kentico.com/documentation/developers-and-admins/ci-cd/continuous-deployment.md). To ensure that all functionality relying on macros works correctly in these scenarios, macros must have valid signatures for their current environment. See the [Macro signatures](https://docs.kentico.com/documentation/developers-and-admins/configuration/macro-expressions/macro-signatures.md) page to learn more.
