> 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-tr/otomasyonlar/sesami-flows-and-klaviyo/klaviyo-transactional-sms.md). Agents can also search and read this documentation through its [MCP server](https://help.sesami.co/~gitbook/mcp).

# Klaviyo İşlemsel SMS

Bu kurulum, Sesami'nin rezervasyonla ilgili olaylar için onaylar, hatırlatmalar, iptaller ve yeniden planlamalar gibi işlemsel SMS bildirimlerini Klaviyo üzerinden göndermesine olanak tanır.

{% hint style="info" %}
**Önemli:** Bu kurulum şunun içindir **İşlemsel SMS, SMS Pazarlaması değil**.
{% endhint %}

### Önkoşullar

Kuruluma başlamadan önce, Klaviyo hesabında şunların olduğundan emin olun:

* **Ücretli bir Klaviyo SMS planı** — İşlemsel SMS için gereklidir.
* **SMS etkin** Klaviyo'da.
* **Etkin bir SMS gönderim numarası** müşterinin bölgesini destekleyen.
* Bir **Özel API Anahtarı** gerekli izinlere sahip.

{% hint style="info" %}
Klaviyo, SMS'nin etkinleştirilmesini ve müşteri bölgesi için uygun bir gönderim numarasının yapılandırılmasını gerektirir.
{% endhint %}

***

### 1. Sesami Uygulaması → Akışlar

Bir kez [Klaviyo ön ayarı etkinleştirildiğinde](https://help.sesami.co/help-center-live-tr/otomasyonlar/sesami-flows-and-klaviyo.md#step-2-choose-a-klaviyo-preset), Sesami'deki Akış Gövdesi **müşterinin telefon numarasını içermelidir** şunu kullanarak `phone_number` alanı.

Akış Gövdesine aşağıdakini ekleyin:

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

### 2. Klaviyo → Akış

İstenen metriği tetikleyici olarak kullanarak bir Akış oluşturun. Şunu izleyin [bu adım](https://help.sesami.co/help-center-live-tr/otomasyonlar/sesami-flows-and-klaviyo.md#step-1-create-a-flow-in-klaviyo)&#x20;

Örnek: \
**Akış yapısı:** `Sesami Randevu Oluşturuldu → İşlemsel SMS Onayı → 5 dakika bekle → SMS Mesajı`

### 3. İşlemsel SMS Onayı

1\. Bir **Webhook** ilk eylem olarak ekleyin.

<figure><img src="https://2104700079-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\. Yapılandırın **Webhook ayrıntılarını** aşağıdaki ayarları kullanarak.

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

* **Webhook adı:** Örneğin webhook için bir ad girin `Sesami - İşlemsel SMS`&#x20;

* **Ayarlar:**
  * **Hedef URL: aşağıdakini kopyalayın:**

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

* **Başlıklar**

**Aşağıdaki "Key" ve "Value"yu oluşturun**

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

<figure><img src="https://2104700079-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 gövdesi**\
Aşağıdakini kopyalayın:

```
{
  "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://2104700079-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 Mesajı

Onay webhook'undan sonra:

1. Bir **5 dakikalık gecikme**.
2. SMS eylemini ekleyin.
3. Rezervasyon bildirimini yapılandırın.
4. SMS'i şu olarak ayarlayın **İşlemsel durum**.&#x20;
5. Akışı Canlıya alın.

<div><figure><img src="https://2104700079-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://2104700079-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" %}
İşlemsel onay ve İşlemsel durum birbirinden ayrıdır:

* **İşlemsel onay** = müşterinin işlemsel SMS alma izni.
* **İşlemsel durum** = SMS mesajının işlemsel olarak sınıflandırılması.

Yalnızca işlemsel onaya sahip bir profil, işlemsel SMS alabilir ancak pazarlama SMS'i alamaz.
{% endhint %}

### 5. Test

**Sesami'de yeni bir rezervasyon oluşturun ve şunları doğrulayın:**

* İşlemsel onay webhook'u tamamlanır
* Profil → İşlemsel SMS: **Abone oldu**
* Akış, 5 dakikalık gecikmeden sonra devam eder
* SMS alınır

Klaviyo'nun abonelik API'si eşzamansızdır, bu nedenle abonelik sonucunun görünmesi için biraz zaman tanıyın.

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

***

### Sorun Giderme

#### HTTP 400 — Telefon bölgesi

Klaviyo telefon numarasının hesap tarafından desteklenmediğini bildiriyorsa, şunu kontrol edin: **Klaviyo → Ayarlar → Metin Mesajlaşması**

Hesabın, o müşterinin ülkesi/bölgesi için etkin bir gönderim numarası olduğundan emin olun.

#### Akış tetiklenmiyor

Şunu kontrol edin **Önce akış tetikleyicisini ve tetikleyici filtrelerini**.

* Tetikleyici bir [**Sesami metriği**](https://help.sesami.co/help-center-live-tr/otomasyonlar/sesami-flows-and-klaviyo.md)
* Olay özelliğine referans veren herhangi bir filtreyi kaldırın

#### İşlemsel SMS kullanılamıyor

Şunun bir **ücretli Klaviyo SMS planı**.

Ücretsiz plan, SMS mesajlarına İşlemsel durum uygulamayı desteklemez.

***

### Son Kontrol Listesi

**Klaviyo Hesabı**

* Ücretli SMS planı
* SMS etkin
* Gönderim numarası yapılandırıldı
* Gönderim numarası müşteri bölgesini destekliyor
* Gerekli izinlere sahip Özel API Anahtarı

**Sesami**

* Events API webhook'u yapılandırıldı
* Telefon dahil edildi

**Klaviyo Akışı**

* Tetikleyici = `Sesami Randevu Oluşturuldu`
* Geçersiz tetikleyici filtreleri yok
* İşlemsel SMS Onay webhook'u
* `{{ person.phone_number }}`
* `ABONE OLDU` işlemsel onay
* 5 dakikalık gecikme
* SMS'in İşlemsel durumu var
* Akış Canlı


---

# 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-tr/otomasyonlar/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.
