Klaviyo Integration

Send Handwritten Cards From Klaviyo

How can I send handwritten cards from a Klaviyo flow? Add a Webhook action to the flow that calls the Simply Noted API.

When someone places an order, joins a segment or reaches a date like their birthday, a Webhook action in your Klaviyo flow sends their name and mailing address to Simply Noted. One of our 220+ robots writes the card with a real ballpoint pen, then we address the envelope by pen, add a real stamp and mail it by USPS First-Class Mail.

  • Works in flows triggered by a metric, list, segment or date property
  • One webhook to Simply Noted’s single card API
  • Klaviyo profile and order data in the message and address
  • USPS tracking and a QR code on every card
Open the API docs
Folded handwritten note card with a real pen message and a hand-addressed, stamped envelope

How to set it up

  1. 1

    Get your Simply Noted API details

    You need your API key and user ID, the ID of the card to send (GET /api/v2/cards) and your sender profile ID (GET /api/v2/sender_profiles). The sender profile holds your return address and handwriting style.

  2. 2

    Add a Webhook action to your flow

    In Klaviyo’s flow builder, drag the Webhook action into a flow triggered by a metric such as Placed Order, a list, a segment or a date property. Klaviyo requires a Manager, Admin or Owner role and two-step authentication to set up webhooks.

  3. 3

    Point it at Simply Noted

    Set the destination URL to Simply Noted’s single card endpoint, then click Add Headers and add x-api-key and x-user-id with your values. Both are shown below.

  4. 4

    Paste the JSON body

    Use the body below with your card and sender profile IDs. Klaviyo fills in the tags for each person, so every card gets their own name, address and message.

  5. 5

    Save and set the action to Live

    Klaviyo checks the webhook when you save, and only a Live action sends. Each time someone reaches the action, we write, address, stamp and mail a card. Writing takes 1–3 business days and USPS delivery 3–5 more.

The webhook body

Replace YOUR_CARD_ID and YOUR_SENDER_PROFILE_ID with your own. Write the message with Klaviyo’s tags, such as {{ first_name }}, not Simply Noted’s message merge tags: Klaviyo fills in every tag in the body before it sends the request. The apartment or suite (Address 2) goes on the street line. The full field list is in the Simply Noted API docs.

Destination URL and headers
https://live.simplynoted.com/api/v2/single_card_mailings

x-api-key: YOUR_API_KEY
x-user-id: YOUR_USER_ID
Body
{
  "single_card_mailing": {
    "card_id": "YOUR_CARD_ID",
    "sender_profile_id": "YOUR_SENDER_PROFILE_ID",
    "message_body": "Hi {{ first_name|default:'there' }}, thank you so much for your order. We hope you love it!",
    "contact": {
      "first_name": "{{ first_name }}",
      "last_name": "{{ last_name }}",
      "street_1": "{{ person|lookup:'$address1' }} {{ person|lookup:'$address2' }}",
      "city": "{{ person.City }}",
      "state": "{{ person.Region }}",
      "zipcode": "{{ person.Zipcode }}"
    }
  }
}

Klaviyo flows that work well

Klaviyo lets you add a Webhook action to flows triggered by a metric, a list, a segment or a date property. These are the moments where a card written by pen stands out.

Flow triggerWhen it firesCard to send
Placed Order (metric)A customer places an orderA thank-you card, such as after a first order or a large order
A VIP segmentA customer joins a segment you pick, such as your top spendersA personal thank-you for their loyalty
A lapsed-customer segmentA customer joins a segment of people who haven’t ordered in a whileA win-back note with an offer
A date propertyA date on the profile comes around, such as a birthdayA birthday or anniversary card

Before you go live

Only send to profiles with an address

Add a flow filter so profiles without a mailing address skip the Webhook action.

Save cards for the orders that matter

On a Placed Order flow, filter on the order value, or split the flow, so only orders over an amount get a card.

Failed calls are retried

If a request gets a 429, 500, 502 or 503 reply, Klaviyo retries it up to 17 times over 24 hours. Every call and reply is listed under View All Activity on the webhook.

Test with your own address first

Run a test profile with your own mailing address through the flow before you turn it on for customers.

Klaviyo webhook or the Shopify app?

If your store runs on Shopify, our free Shopify app can send thank-you, follow-up, abandoned-cart and milestone cards with no webhook to set up. Use the Klaviyo webhook when the card should follow your Klaviyo segments, filters and timing. Teams that want their own sending rules can call the handwritten mail API from their own code.

Tracking and pricing

Every card ships with a USPS Intelligent Mail® Barcode, so you see when it is delivered, and a unique QR code tied to the contact, so you see who scanned it. Point the QR code at a product page or an offer, and time your next email for the day the card lands.

Every integration comes with the Unlimited plan: $497 a month, then $0.99 per note card or $0.84 per postcard, plus postage. See plans and pricing.

FAQ

Klaviyo integration questions

Yes. A Webhook action in a Klaviyo flow sends the person’s name, mailing address and your message to the Simply Noted API, and one of our robots writes the card with a real ballpoint pen. Then we address the envelope by pen, add a real stamp and mail it.
In a flow triggered by Placed Order, add a Webhook action that posts to Simply Noted’s single card endpoint, /api/v2/single_card_mailings, with your x-api-key and x-user-id headers. Paste a JSON body that fills in the customer’s name and address with Klaviyo tags, then set the action to Live.
Any flow that can use a Webhook action: flows triggered by a metric such as Placed Order, by a list, by a segment or by a date property such as a birthday. Events that don’t trigger a flow, such as Unsubscribed from List, can’t be used.
Yes. The webhook body takes Klaviyo template tags, so the message can use the person’s first name and, in flows triggered by an event such as Placed Order, details of that event. Use Klaviyo’s tags rather than Simply Noted message merge tags, because Klaviyo fills in every tag before it sends the request.
The Simply Noted API needs a first name, last name, street address, city, state and ZIP code. Add a filter to the flow so only profiles with a mailing address reach the Webhook action.
Every integration comes with the Unlimited plan: $497 a month, then $0.99 per note card or $0.84 per postcard, plus postage. Your Klaviyo plan is billed separately by Klaviyo.

Add a real pen card to your Klaviyo flows

Set it up today, book a quick call, or see and feel a real handwritten card first. We'll mail you a free sample, no credit card required.

Last updated · By the Simply Noted team