> 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/help-center-live-nl/automatiseringen/sesami-flows-and-klaviyo/klaviyo-transactional-sms.md).

# Klaviyo transactionele sms

Met deze configuratie kan Sesami transactionele sms-meldingen verzenden via Klaviyo voor boekingsgerelateerde gebeurtenissen zoals bevestigingen, herinneringen, annuleringen en verplaatsingen.

{% hint style="info" %}
**Belangrijk:** Deze configuratie is voor **Transactionele sms, niet sms-marketing**.
{% endhint %}

### Vereisten

Voordat je de configuratie start, zorg ervoor dat het Klaviyo-account het volgende heeft:

* **Een betaald Klaviyo-sms-abonnement** — vereist voor transactionele sms.
* **Sms ingeschakeld** in Klaviyo.
* **Een actief sms-verzendnummer** dat de regio van de klant ondersteunt.
* Een **Private API-sleutel** met de vereiste rechten.

{% hint style="info" %}
Klaviyo vereist dat sms is ingeschakeld en dat er een geschikt verzendnummer is geconfigureerd voor de regio van de klant.
{% endhint %}

***

### 1. Sesami-app → Flows

Zodra de [Klaviyo-voorinstelling is ingeschakeld](https://help.sesami.co/help-center-live-nl/automatiseringen/sesami-flows-and-klaviyo.md#step-2-choose-a-klaviyo-preset), moet de Flow Body in Sesami **het telefoonnummer van de klant bevatten** met behulp van de `phone_number` veld.

Voeg het volgende toe aan de Flow Body:

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

### 2. Klaviyo → Flow

Maak een Flow aan met de gewenste metric als trigger. Volg [deze stap](https://help.sesami.co/help-center-live-nl/automatiseringen/sesami-flows-and-klaviyo.md#step-1-create-a-flow-in-klaviyo)&#x20;

Voorbeeld: \
**Flow-structuur:** `Sesami-afspraak aangemaakt → Toestemming voor transactionele sms → Wacht 5 minuten → Sms-bericht`

### 3. Toestemming voor transactionele sms

1\. Voeg een **Webhook** toe als eerste actie.

<figure><img src="https://3601549086-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\. Configureer de **Webhook-details** met de instellingen hieronder.

<figure><img src="https://3601549086-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>

* **Webhooknaam:** Voer een naam in voor de webhook, bijvoorbeeld `Sesami - Transactionele sms`&#x20;

* **Instellingen:**
  * **Doel-URL: kopieer onderstaande:**

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

* **Headers**

**Maak de volgende "Key" en "Value" aan**

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

<figure><img src="https://3601549086-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**\
Kopieer het volgende:

```
{
  "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://3601549086-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-bericht

Na de toestemmings-webhook:

1. Voeg een **vertraging van 5 minuten**.
2. Voeg de sms-actie toe.
3. Configureer de boekingsmelding.
4. Stel de sms in als **transactionele status**.&#x20;
5. Zet de flow live.

<div><figure><img src="https://3601549086-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://3601549086-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" %}
Transactionele toestemming en transactionele status zijn gescheiden:

* **Transactionele toestemming** = de toestemming van de klant om transactionele sms te ontvangen.
* **transactionele status** = de classificatie van het sms-bericht als transactioneel.

Een profiel met alleen transactionele toestemming kan transactionele sms ontvangen, maar geen marketing-sms.
{% endhint %}

### 5. Test

**Maak een nieuwe boeking aan in Sesami en controleer:**

* De webhook voor transactionele toestemming is voltooid
* Profiel → Transactionele sms: **Geabonneerd**
* De flow gaat verder na de vertraging van 5 minuten
* Sms wordt ontvangen

De abonnement-API van Klaviyo is asynchroon, dus geef het resultaat van de abonnementaanmelding wat tijd om zichtbaar te worden.

<div><figure><img src="https://3601549086-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://3601549086-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://3601549086-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://3601549086-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>

***

### Problemen oplossen

#### HTTP 400 — Telefoonregio

Als Klaviyo aangeeft dat het telefoonnummer niet wordt ondersteund voor het account, controleer dan: **Klaviyo → Instellingen → Sms-berichten**

Zorg ervoor dat het account een actief verzendnummer heeft voor het land/de regio van die klant.

#### Flow wordt niet geactiveerd

Controleer de **flow-trigger en triggerfilters eerst**.

* De trigger moet een [**Sesami-metriek**](https://help.sesami.co/help-center-live-nl/automatiseringen/sesami-flows-and-klaviyo.md)
* Verwijder elk filter dat naar een gebeurteniseigenschap verwijst

#### Transactionele sms is niet beschikbaar

Controleer of de merchant een **betaald Klaviyo-sms-abonnement**.

Het gratis abonnement ondersteunt het toepassen van transactionele status op sms-berichten niet.

***

### Laatste checklist

**Klaviyo-account**

* Betaald sms-abonnement
* Sms ingeschakeld
* Verzendnummer geconfigureerd
* Verzendnummer ondersteunt de regio van de klant
* Private API-sleutel met vereiste rechten

**Sesami**

* Events-API-webhook geconfigureerd
* Telefoonnummer inbegrepen

**Klaviyo-flow**

* Trigger = `Sesami-afspraak aangemaakt`
* Geen ongeldige triggerfilters
* Webhook voor transactionele sms-toestemming
* `{{ person.phone_number }}`
* `SUBSCRIBED` transactionele toestemming
* vertraging van 5 minuten
* Sms heeft transactionele status
* 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/help-center-live-nl/automatiseringen/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.
