Skip to main content
Klaviyo flow action

Create a flow which creates a gift card

B
Written by Brady Thomas
Updated over a week ago

Haven't installed the Klaviyo integration? Please follow this guide.


Klaviyo flows can be used in many ways to create a Wrapped gift card.

In this article we are going to setup a flow "spend over $200, get a $20 gift card".

1. Create a custom flow

2. Set the trigger and condition

3. Using the actions panel on the left, drag on the "Webhook" under the trigger block

4. Complete the webhook settings to create a Wrapped gift card


5. Copy Destination URL from Wrapped admin integrations section.

6. Add header with key "Wrapped-Verification" and copy webhook verification from Wrapped into value field

7. Paste the following code in the JSON body field. Make sure you update the "campaign_name" value to your flow name.

{
"recipient_email": "{{ person.email }}",
"recipient_name": "{{ person.first_name|default:'' }} {{ person.last_name|default:'' }}",
"amount": 20,
"campaign_name": "Spend > $200"
}

8. Press Save. Then in the top right Press Review and Turn On -> Turn on

9. All done.

New gift cards in Wrapped will contain the Klaviyo flow ID in the notes and will be tagged with as a new batch.

Did this answer your question?