✉️Klaviyo
Last updated
Last updated
Allows Klaviyo users to create multichannel flows with 1send.
Pre-Requisite: Email address is passed as "ref" parameter in subscription link
Go to https://app.1send.net/app/template. Create template like standard campaign broadcast. Copy the broadcastId
to use in webhook body later
Log into Klaviyo and navigate the "Flow" creator. Create a webhook action.
First, start by giving your webhook a name. This is for internal use only
Then, set up the destination URL by entering the URL of 1send's API endpoint:
Next, under the header section, enter the Key / Value pair for your API key. The Key will always have the value x-token
.
The 'Value' field should be your API key. If you don't have an API key, contact 1send.
Use the template format to copy into the JSON Body area.
testSend
Use if you want to test the webhook. There are NO quotes. Remove for live version
broadcastId
ID of the template created on 1send
onesendId
ID of subscriber message will be sent to
message
Text message that will be sent to the subscriber
visualURL
Optional. URL of image to be sent. Overwrites uploaded image in the template. Including if no image was uploaded in template.
Make sure you are subscribed to the page. Go into subscribers and look for yourself. Click in.
Get the ID from the URL. This is your onesendId. This ID is unique per user per FB page. Use this in your webhook body for testing. You can either hardcode it or save it as custom property.
Add this to your Klaviyo profile under custom properties
Include in the JSON body "testSend":true
Remove this in the actual live version
Important: Do this every time before testing
From your FB user profile send a message to your FB page. Message content doesn’t matter.
This is to comply to Meta’s 24 hour rule for Pages to send messages to users without using Marketing Messages
Image max size 8GB
Message max 250 characters