> For the complete documentation index, see [llms.txt](https://docs.codegiganten.de/plugin-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codegiganten.de/plugin-documentation/apps/e-mail-gutschein-zum-geburtstag/konfiguration.md).

# Konfiguration

### Geburtstags-E-Mails

#### Geburtstags-E-Mails aktivieren

Mit dieser Konfiguration wird festgelegt, ob die Geburtstags-E-Mails versendet werden sollen oder nicht. Falls die Option aktiviert wurde, wird alle vier Stunden eine *Scheduled Task* aufgerufen, die Geburtstags-E-Mails versendet. Dabei wird natürlich überprüft, ob Kund:innen heute oder in den vergangenen 350 Tagen bereits eine E-Mail erhalten haben, um Manipulationen zu verhindern.

Diese Option kann auch wie alle weiteren Einstellungen individuell für jeden Verkaufskanal gesetzt werden.

#### E-Mail-Header und -Footer

Hier können der Header und Footer ausgewählt werden, welche an jede Geburtstags-E-Mail angehängt werden. Falls hier kein Wert hinterlegt wurde (was nicht empfohlen wird), versucht die Erweiterung, jeweils einen Standard-Header und -Footer auszuwählen.

### Gutscheine

#### Geburtstagsgutschein aktivieren

Falls diese Konfiguration aktiviert ist, wird für alle Kund:innen mit Geburtstag automatisch ein Gutscheincode auf Basis der nachfolgenden Optionen generiert und der E-Mail angehängt. Die [Rabattaktion ](https://docs.codegiganten.de/plugin-documentation/apps/e-mail-gutschein-zum-geburtstag/rabattaktion-anlegen.md)muss dabei einmalig angelegt werden - anschließend generiert die Erweiterung automatisch Gutscheincodes.

#### Rabattaktion für die Geburtstagsgutscheine

Hier wird die [Rabattaktion ](https://docs.codegiganten.de/plugin-documentation/apps/e-mail-gutschein-zum-geburtstag/rabattaktion-anlegen.md)ausgewählt, mit welcher die Gutscheincodes durch die Erweiterung automatisch generiert werden sollen. Es werden natürlich nur Codes generiert, wenn die vorige Konfiguration aktiviert wurde.

#### Eigenes Gutscheincode-Muster

Mit dieser Konfiguration wird das Muster festgelegt, nach welchem die Gutscheincodes generiert werden sollen. Dieses lässt sich jederzeit ändern und beeinflusst nicht die bereits erstellten Codes.

Beachte Sie bitte, dass nur ein aufeinanderfolgender Satz an Variablen umgewandelt werden kann.

Die möglichen Variablen sind:

* `%d` - Ziffern 0-9
* `%s` - Buchstaben A-Z

Der Standardwert lautet: `BIRTHDAY-%s%s%s%s%s`

Alle Platzhalter-Variablen werden automatisch bei der Gutscheincode-Generierung durch ein Zeichen aus dem entsprechenden Satz ausgetauscht. Dabei wird überprüft, ob der Gutscheincode bereits generiert wurde. `%s` wird etwa durch ein `C` oder `G` ersetzt.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.codegiganten.de/plugin-documentation/apps/e-mail-gutschein-zum-geburtstag/konfiguration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
