Use this tool to generate webhook configurations you can paste directly into a Klaviyo Flow webhook action. Pick an action, fill in your details, and copy the result.
1
Choose an action
2
Your details
Settings > Technical > API Keys — create one if you don't have it yet
3
Action details
4
Copy and paste into Klaviyo
Settings
Destination URL
https://api.jericommerce.com/v1/programs/your-program-slug/integrations/api/send-push
Headers
Key
api-key
Value
your-api-key
JSON body
[
{
"email": "{{ person.email|default:'' }}",
"header": "",
"body": "",
"link": ""
}
]
Using variables in the JSON body¶
Klaviyo and JeriCommerce both support template variables, but they use the same {{ }} syntax, which can cause conflicts. To avoid this, JeriCommerce supports an alternative syntax:
| System | Syntax | Example |
|---|---|---|
| Klaviyo | {{ variable }} |
{{ person.first_name }} |
| JeriCommerce | <% variable %> |
<% first_name %> |
| On-device (wallet) | %%variable%% |
%%balance%% |
Use Klaviyo's
{{ }} syntax for profile data (email, name) and JeriCommerce's <% %> syntax for loyalty data (balance, tier). See notification delivery strategies for the full list of available variables.