📡 HTTP
Module: HTTP → Make a request (Klaviyo Events API)
URL:
https://a.klaviyo.com/api/events/
Method:
POST
Headers:
Authorization: Klaviyo-API-Key YOUR_PRIVATE_KEY
Content-Type: application/json
revision: 2024-02-15
Body (JSON):
{
"data": {
"type": "event",
"attributes": {
"metric": {
"data": {
"type": "metric",
"attributes": {
"name": "Shipment Delayed"
}
}
},
"profile": {
"data": {
"type": "profile",
"attributes": {
"email": "{{iterator.email}}"
}
}
},
"properties": {
"OrderNumber": "{{iterator.name}}",
"OrderDate": "{{formatDate(iterator.created_at; 'D MMMM YYYY')}}",
"TrackingURL": "{{iterator.fulfillments[].tracking_url}}",
"DaysDelayed": 5
}
}
}
}
Private API key: in Klaviyo → Account → Settings → API Keys → Create Private Key (scopes: Events write). Nooit opslaan in Claude-geheugen — in Make.com als versleutelde variabele bewaren.