This setup ensures that whenever a contact unsubscribes from your email marketing in Klaviyo, they are also automatically unsubscribed in Retently. This prevents sending surveys to contacts who have opted out of communication.
How it works
A contact unsubscribes in Klaviyo
Klaviyo triggers a flow
The flow sends the contact’s email to Retently via webhook
Retently marks the contact as unsubscribed
The contact will no longer receive surveys
Step-by-step setup
1. Create a new flow in Klaviyo
Go to Flows
Click Create Flow
Choose Build from scratch (or use a template if preferred)
2. Configure the trigger
Select a trigger such as:
Unsubscribed from Email Marketing
Optional:
Create a separate flow for SMS (or combine both if needed)
This trigger determines when the automation runs.
3. Add a webhook action
Add a Webhook step to the flow
The webhook will send the contact’s email address to Retently
No complex payload setup is needed, Klaviyo already passes the profile email
4. Create a webhook in Retently
Click Create webhook
Configure:
Scope: Unsubscribed Contact
Type: Generic webhook
Save and copy the generated webhook URL
5. Connect Klaviyo to Retently
Go back to Klaviyo
Paste the Retently webhook URL into the webhook step
Save the flow
6. Activate the flow
Review your setup
Turn the flow ON
Result
From now on:
Any contact who unsubscribes in Klaviyo will automatically be marked as unsubscribed in Retently
Retently will stop sending surveys to that contact
Notes & best practices
You can create separate flows for:
Email unsubscribes
SMS unsubscribes
Make sure the webhook is correctly scoped to Unsubscribed Contact
Test the flow with a sample profile before enabling it for all users
