Welcome to the new Sesami Help Portal with AI capabilities. Search your question and get your answer instantly!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Klaviyo Transactional SMS

This setup allows Sesami to send transactional SMS notifications through Klaviyo for booking-related events such as confirmations, reminders, cancellations, and reschedules.

Important: This setup is for Transactional SMS, not SMS Marketing.

Prerequisites

Before starting the setup, make sure the Klaviyo account has:

  • A paid Klaviyo SMS plan — required for Transactional SMS.

  • SMS enabled in Klaviyo.

  • An active SMS sending number that supports the customer's region.

  • A Private API Key with the required permissions.

Klaviyo requires SMS to be enabled and an appropriate sending number configured for the customer's region.


1. Sesami App → Flows

Once the Klaviyo preset is enabled, the Flow Body in Sesami must include the customer's phone number using the phone_number field.

Add the following to the Flow Body:

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

2. Klaviyo → Flow

Create a Flow using the desired metric as the trigger. Follow this step

Example: Flow structure: Sesami Appointment Created → Transactional SMS Consent → Wait 5 minutes → SMS Message

1. Add a Webhook as the first action.

2. Configure the Webhook details using the settings below.

  • Webhook name: Enter a name for the webhook, for example Sesami - Transactional SMS

  • Settings:

    • Destination URL: copy the below:

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

  • Headers

Create the following "Key" and "Value"

JSON body Copy the following:

4. SMS Message

After the consent webhook:

  1. Add a 5-minute delay.

  2. Add the SMS action.

  3. Configure the booking notification.

  4. Set the SMS as Transactional status.

  5. Set the Flow Live.

Transactional consent and Transactional status are separate:

  • Transactional consent = the customer's permission to receive transactional SMS.

  • Transactional status = the classification of the SMS message as transactional.

A profile with only transactional consent can receive transactional SMS, but not marketing SMS.

5. Test

Create a new booking in Sesami and verify:

  • Transactional consent webhook completes

  • Profile → Transactional SMS: Subscribed

  • Flow continues after the 5-minute delay

  • SMS is received

Klaviyo's subscription API is asynchronous, so allow some time for the subscription result to appear.


Troubleshooting

HTTP 400 — Phone region

If Klaviyo reports that the phone number is not supported for the account, check: Klaviyo → Settings → Text Messaging

Make sure the account has an active sending number for that customer's country/region.

Flow does not trigger

Check the Flow trigger and trigger filters first.

  • The trigger must be a Sesami metric

  • Remove any filter referencing an event property

Transactional SMS is not available

Confirm that the merchant has a paid Klaviyo SMS plan.

The Free plan does not support applying Transactional status to SMS messages.


Final Checklist

Klaviyo Account

  • Paid SMS plan

  • SMS enabled

  • Sending number configured

  • Sending number supports customer region

  • Private API Key with required permissions

Sesami

  • Events API webhook configured

  • Phone included

Klaviyo Flow

  • Trigger = Sesami Appointment Created

  • No invalid trigger filters

  • Transactional SMS Consent webhook

  • {{ person.phone_number }}

  • SUBSCRIBED transactional consent

  • 5-minute delay

  • SMS has Transactional status

  • Flow Live

Last updated

Was this helpful?