---
title: "How do I use reusable dynamic content in Aivie?"
id: "6299"
type: "faq"
slug: "how-do-i-create-dynamic-content-in-mautic"
published_at: "2022-03-29T15:05:07+00:00"
modified_at: "2026-07-16T08:39:29+00:00"
url: "https://aivie.ch/en/faq/how-do-i-create-dynamic-content-in-mautic/"
markdown_url: "https://aivie.ch/en/faq/how-do-i-create-dynamic-content-in-mautic.md"
excerpt: "With reusable dynamic content, you can create content once and then reuse it in different emails. Both static content and dynamic content. How can I create dynamic content? You can use the power of TWIG here with a few exceptions...."
---

With reusable dynamic content, you can create content once and then reuse it in different emails. Both static content and dynamic content.

## How can I create dynamic content?

You can use the power of [TWIG](https://twig.symfony.com/doc/3.x/templates.html#control-structure)
 here with a few exceptions. Here you can find all the options for [TWIG in Aivie](https://aivie.ch/en/faq/which-twig-functions-and-filters-does-aivie-support/)
.

Here we show you some examples:

### Formulate the address differently according to gender

```
<!--{% if contactfield.gender == 'Female' %}-->
Sehr geehrte Frau {{contactfield.lastname}}
<!--{% elseif contactfield.gender == 'Male' %}-->
Sehr geehrter Herr {{contactfield.lastname}}
<!--{% else %}
Guten Tag {{contactfield.firstname}} {{contactfield.lastname}}
<!--{% endif %}-->
```

### Display different content depending on the segment

```
<!-- {% if 'Interested in A' in contactfield.segments %} -->
<a href="#">Link A</a>
<!-- {% elseif 'Interested in B' in contactfield.segments %} -->
<a href="#">Link B</a>
<!-- {% else %} -->
<a href="#">Link default</a>
<!-- {% endif %} -->
```

### Display different content depending on the tags assigned

```
<!--{% if 'verified-email' in contactfield.tags %}-->
You are verified
<!--{% else %}-->
You need to verify
<!--{% endif %}-->
```

## How can I use dynamic content in emails?

You can then use this [dynamic content directly in the email builder](https://aivie.ch/en/faq/how-do-i-use-dynamic-content-reusable-content/)
. Simply drag and drop the block onto the canvas and select the appropriate element.

## Für dich da.

Wir bieten dir lokalen Support und [Services](https://aivie.ch/en/services-marketing-automation/)
.

- Wir unterstützen dich
- Kostenloser Support per [FAQ](https://aivie.ch/en/support-faq/) , Chat oder E-Mail. [VIP Support](https://aivie.ch/product/business-support-aivie-mautic/) per Video Telefonie.
- Umgehende Support-Rückmeldung

![aivie marketing automatin lokaler support adrian schimpf](https://cdn.aivie.ch/media/wp/2022/11/16122426/6.webp "Was ist der Unterschied zwischen Leadgenerierung und Lead Nurturing? 1")
