> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/de/automatisierungen/sesami-flows-and-klaviyo/klaviyo-transactional-sms.md).

# Klaviyo-Transaktions-SMS

Mit diesem Setup kann Sesami transaktionale SMS-Benachrichtigungen über Klaviyo für buchungsbezogene Ereignisse wie Bestätigungen, Erinnerungen, Stornierungen und Umbuchungen senden.

{% hint style="info" %}
**Wichtig:** Dieses Setup ist für **Transaktionale SMS, nicht SMS-Marketing**.
{% endhint %}

### Voraussetzungen

Stellen Sie vor dem Start des Setups sicher, dass das Klaviyo-Konto Folgendes hat:

* **Einen kostenpflichtigen Klaviyo-SMS-Plan** — erforderlich für transaktionale SMS.
* **SMS aktiviert** in Klaviyo.
* **Eine aktive SMS-Absendernummer** die die Region des Kunden unterstützt.
* Ein **Privater API-Schlüssel** mit den erforderlichen Berechtigungen.

{% hint style="info" %}
Klaviyo erfordert, dass SMS aktiviert ist und eine passende Absendernummer für die Region des Kunden konfiguriert ist.
{% endhint %}

***

### 1. Sesami-App → Flows

Sobald das [Klaviyo-Voreinstellung aktiviert ist](https://help.sesami.co/de/automatisierungen/sesami-flows-and-klaviyo.md#step-2-choose-a-klaviyo-preset), muss der Flow-Body in Sesami **die Telefonnummer des Kunden enthalten** unter Verwendung des `phone_number` Felds.

Fügen Sie Folgendes zum Flow-Body hinzu:

```
"profile": {
  "data": {
    "type": "profile",
    "attributes": {
      "email": "{{CustomerEmail}}",
      "phone_number": "{{CustomerPhone}}"
    }
  }
}
```

### 2. Klaviyo → Flow

Erstellen Sie einen Flow mit der gewünschten Metrik als Trigger. Befolgen Sie [diesen Schritt](https://help.sesami.co/de/automatisierungen/sesami-flows-and-klaviyo.md#step-1-create-a-flow-in-klaviyo)&#x20;

Beispiel: \
**Flow-Struktur:** `Sesami-Termin erstellt → Zustimmung für transaktionale SMS → 5 Minuten warten → SMS-Nachricht`

### 3. Zustimmung für transaktionale SMS

1\. Fügen Sie einen **Webhook** als erste Aktion hinzu.

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FK7d2OYgrdyEy81NmyNAW%2FScreenshot%202026-10-28%20at%2012.04.08.png?alt=media&amp;token=148df9e9-af71-4feb-8617-d3b94c5dd86a" alt=""><figcaption></figcaption></figure>

2\. Konfigurieren Sie die **Webhook-Details** mithilfe der unten stehenden Einstellungen.

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FclCTHD8fZAwXs24fU6ud%2FScreenshot%202026-10-28%20at%2012.06.18.png?alt=media&amp;token=acba24ca-f1da-4fdd-a61e-e5f8378cdfbd" alt=""><figcaption></figcaption></figure>

* **Name des Webhooks:** Geben Sie einen Namen für den Webhook ein, zum Beispiel `Sesami - Transaktionale SMS`&#x20;

* **Einstellungen:**
  * **Ziel-URL: kopieren Sie die folgende:**

`https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs`

* **Header**

**Erstellen Sie die folgenden „Key“ und „Value“**

```
Content-Type application/json
revision 2026-07-15
Authorization Klaviyo-API-Key YOUR_PRIVATE_API_KEY
```

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FaMIfqgjLlugG9b487td2%2FScreenshot%202026-10-28%20at%2012.15.23.png?alt=media&amp;token=f20c0e05-35c7-453e-b682-bea1fd839509" alt=""><figcaption></figcaption></figure>

**JSON-Body**\
Kopieren Sie Folgendes:

```
{
  "data": {
    "type": "profile-subscription-bulk-create-job",
    "attributes": {
      "profiles": {
        "data": [
          {
            "type": "profile",
            "attributes": {
              "email": "{{ person.email }}",
              "phone_number": "{{ person.phone_number }}",
              "subscriptions": {
                "sms": {
                  "transactional": {
                    "consent": "SUBSCRIBED"
                  }
                }
              }
            }
          }
        ]
      }
    }
  }
}
```

<figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FVyDh22hfdQxWoEyPFaNU%2FScreenshot%202026-10-28%20at%2012.18.18.png?alt=media&amp;token=de7ac4fe-67cc-43d8-872f-5ff2469b681e" alt=""><figcaption></figcaption></figure>

### 4. SMS-Nachricht

Nach dem Zustimmungs-Webhook:

1. Fügen Sie eine **5-minütige Verzögerung**.
2. Fügen Sie die SMS-Aktion hinzu.
3. Konfigurieren Sie die Buchungsbenachrichtigung.
4. Setzen Sie die SMS auf **Transaktionsstatus**.&#x20;
5. Schalten Sie den Flow live.

<div><figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FgVT6xv8dSen0Rg0JzgEd%2FScreenshot%202026-10-28%20at%2012.19.54.png?alt=media&amp;token=6598bdf7-d27a-443b-ba9f-e6c033f171da" alt=""><figcaption></figcaption></figure> <figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FmYlOGy0AgC2QnRw7TZ8R%2FScreenshot%202026-10-28%20at%2012.20.28.png?alt=media&amp;token=d0d530f7-24b1-44a7-8c77-458d7b5f3939" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
Transaktionszustimmung und Transaktionsstatus sind getrennt:

* **Transaktionszustimmung** = die Erlaubnis des Kunden, transaktionale SMS zu erhalten.
* **Transaktionsstatus** = die Einstufung der SMS-Nachricht als transaktional.

Ein Profil mit nur transaktionaler Zustimmung kann transaktionale SMS erhalten, aber keine Marketing-SMS.
{% endhint %}

### 5. Test

**Erstellen Sie eine neue Buchung in Sesami und überprüfen Sie:**

* Webhook für transaktionale Zustimmung wird abgeschlossen
* Profil → Transaktionale SMS: **Abonniert**
* Der Flow setzt nach der 5-minütigen Verzögerung fort
* SMS wird empfangen

Klaviyos Abonnement-API ist asynchron, daher lassen Sie etwas Zeit, bis das Abonnementsergebnis angezeigt wird.

<div><figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FYBJh3teX9nGdtObpWCDn%2F1%20webhook%20.png?alt=media&amp;token=917ee541-2e35-4a1a-8160-1e8250fd1714" alt=""><figcaption></figcaption></figure> <figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FAQy7tJdnr5jmYIIZwKRS%2F2%20subscribed.png?alt=media&amp;token=d4d84723-1ade-4285-8ec8-0369727e0302" alt=""><figcaption></figcaption></figure> <figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2FjzLj0OEVJKK4WGw9g3hS%2F3%20delay%20.png?alt=media&amp;token=0c778095-b752-4d7c-b84d-92dc95fbd8bd" alt=""><figcaption></figcaption></figure> <figure><img src="https://2497819641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDgiM1CWSLWRIbhORANO%2Fuploads%2F8G5SlULFgjuofWHFi4xO%2F4%20Message%20Appointment%20Confirmation-.png?alt=media&amp;token=670ac409-edb2-40c5-ac8a-164eb565cf04" alt=""><figcaption></figcaption></figure></div>

***

### Fehlerbehebung

#### HTTP 400 — Telefonregion

Wenn Klaviyo meldet, dass die Telefonnummer für das Konto nicht unterstützt wird, prüfen Sie: **Klaviyo → Einstellungen → Textnachrichten**

Stellen Sie sicher, dass das Konto eine aktive Absendernummer für das Land/die Region dieses Kunden hat.

#### Flow wird nicht ausgelöst

Prüfen Sie zuerst den **Flow-Trigger und die Trigger-Filter**.

* Der Trigger muss eine [**Sesami-Metrik**](https://help.sesami.co/de/automatisierungen/sesami-flows-and-klaviyo.md)
* Entfernen Sie alle Filter, die auf eine Ereigniseigenschaft verweisen

#### Transaktionale SMS sind nicht verfügbar

Bestätigen Sie, dass der Händler einen **kostenpflichtigen Klaviyo-SMS-Plan**.

Der kostenlose Plan unterstützt das Anwenden des Transaktionsstatus auf SMS-Nachrichten nicht.

***

### Abschluss-Checkliste

**Klaviyo-Konto**

* Kostenpflichtiger SMS-Plan
* SMS aktiviert
* Absendernummer konfiguriert
* Absendernummer unterstützt die Kundenregion
* Privater API-Schlüssel mit den erforderlichen Berechtigungen

**Sesami**

* Events-API-Webhook konfiguriert
* Telefonnummer enthalten

**Klaviyo Flow**

* Trigger = `Sesami-Termin erstellt`
* Keine ungültigen Trigger-Filter
* Webhook für transaktionale SMS-Zustimmung
* `{{ person.phone_number }}`
* `ABONNIERT` transaktionale Zustimmung
* 5-minütige Verzögerung
* SMS hat Transaktionsstatus
* Flow live


---

# 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://help.sesami.co/de/automatisierungen/sesami-flows-and-klaviyo/klaviyo-transactional-sms.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.
