Popular use cases in Klaviyo
This article covers popular use cases that showcase how the integration can be applied effectively. The examples outlined here provide practical ways to make the most of Klaviyo and help guide you in setting up relevant workflows for your brand.
In this article
Implementation of major use-cases
- Using Lists and Segments
- Using Quick actions in Klaviyo
- Creating an upcoming order notification template
- Adding customer portal login button to email template
- Customer portal login multilingual support
Implementation of major use-cases
Using Lists and Segments
Lists: Unlike dynamic segments, lists are static. They include anyone who has subscribed to join the list and will only grow as people subscribe.
Segments: Unlike traditional subscriber lists, are defined by a set of conditions. For example, a segment could include customers who are active subscribers or opened a specific email. Segments are dynamic and will grow or shrink based on customer behavior, providing a more targeted approach to marketing.
In this business case, the brand aims to create a segment of users who have cancelled their subscriptions. Based on this segment, they plan to run a reactivation campaign, sending targeted emails with special offers to encourage these users to reactivate their subscriptions.
- Brands will create a segment using the "Loop subscription cancelled" event.
- You can add additional conditions, to filter the segment based on specific use case requirements.
Using Quick actions in Klaviyo
Quick action URLs are powerful magic links that enable customers to take specific subscription-related actions seamlessly, without needing to navigate through the customer portal. These links can be leveraged in marketing integrations like Klaviyo to enhance customer engagement and improve subscription retention. This section will walk you through how to use quick action URLs within Klaviyo, followed by some case studies on how you can leverage the integration to boost engagement, AOV & customer LTV.
Event based quick actions: Event action URLs are triggered automatically when a specific event occurs, enabling seamless automation of subscription-related actions. Here is how you can use it in Klaviyo.
In this business case, the brand wants to include an “Add other product” CTA in the Loop subscription started notification sent using Klaviyo, allowing subscribers to add the product to their upcoming subscription order. To achieve this, the Add product quick action can be utilized.
- Navigate to Loop admin > Retain > Quick actions > Event actions > Click on create new action button.
- Open Klaviyo and navigate to your email flow or campaign where you want to include the event quick action URLs.
- Edit the email template and insert the newly created quick action URL key in the button as per the requirement.
- Save and activate your email flow. Before going live, test it with a sample subscription to ensure it functions as expected.
Campaign based quick actions: Campaign action URLs can be used in email or sms campaigns on any marketing platform of your choice. Here is how you can use it in Klaviyo.
In this business case, the brand wants to run a campaign targeting inactive subscription users to encourage them to reactivate their subscriptions, offering a free gift as an incentive upon completion of the action.
- Navigate to Loop admin > Retain > Quick actions > Campaign actions > Click on generate quick actions button.
- Once the campaign action list is synced successfully in Klaviyo, click on the "view list on klaviyo" link.
- In Klaviyo, you can head to the targeted customer profiles & verify the campaign action key is now present.
- Now create the campaign in Klaviyo & send it to the newly created list "Reactivation campaign"
- Edit the email template & add the CTA as the campaign action key. Before going live, test it with a sample subscription to ensure it functions as expected.
Creating an upcoming order notification template
In this business case, brands want to show unique products with their quantities as line items in the upcoming order email. Additionally, they want to display the subtotal, shipping charges, discounts, and the final price. The image below illustrates the desired format.
Follow these steps to complete the process:
- Navigate to Klaviyo and open the upcoming order email template.
- Open the editor, drag and drop the HTML code block in the template.
- Add the below given HTML code in the left side editor
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; font-family: sans-serif;">
<tbody>
{% for item in event.line_items %}
<tr>
<td style="padding: 4px;width:40%;">
{% if item.image %}
<img src="{{ item.image }}" alt="{{ item.name }}" width="60%" style="display: block; border-radius: 4px;" />
{% else %}
No Image
{% endif %}
</td>
<td style="padding-right: 11em !important;width:100%; vertical-align: middle;">{{ item.name|default:"" }}</td>
<td style="padding-right:2.375em; vertical-align: middle;">X{{ item.quantity|default:"1" }}</td>
<td style="padding: 8px; padding-right: 1.375em; vertical-align: middle;">${{ item.discounted_price|floatformat:2|default:"0.00" }}</td>
</tr>
{% endfor %}
</tbody>
</table>
- To add subtotal, shipping charges, discounts, and the final price, add 4 different table type blocks in a row as shown below.
- Against each configured text, add the following text.
Subtotal: {{ event|lookup:'$total_line_item_base_price'|floatformat:2|default:'' }}
Shipping: {{ event|lookup:'$shipping_price'|floatformat:2|default:'0' }}
Discount: {{ event|lookup:'$total_amount_saved'|floatformat:2|default:'' }}
Total: {{ event|lookup:'$total_line_item_discounted_price'|floatformat:2|default:'' }}
- Preview the newly created template and save.
Adding customer portal login button to email template
In this business case, the merchant wants to add a customer portal CTA in the welcome email template. The goal is for subscribers to be redirected to Loop's customer portal when they click the action button, where they can view all subscription-related details.
- Navigate to Klaviyo and open the create flow screen.
- Define the trigger for the flow "Loop subscription started" and create a conditional split based on the country. (Let's say Italy in our case)
- In the email template, select the desired template or design the template to match the brand’s tone, and add a button block as shown.
- Click on the "Preview and test" button.
- Copy the "loop_customer_portal_subscription_link" event by clicking on it.
- In the email template editor, paste the copied event ID into the button link address and Save the template.
Customer portal login multilingual support
In this business case, the merchant is using Klaviyo to direct customers to their customer portal. However, customers are always redirected to the English version of the portal, regardless of their language preference. The merchant needs a solution to dynamically redirect customers to the correct language version of the portal (example- English or Italian) based on the language preference.
Assuming merchants want to send the customer portal login link using the trigger "Loop send customer portal login link", a flow needs to be created based on a split condition. The flow will be triggered when the specified condition is met.
- Navigate to Klaviyo and open the create flow screen.
- Define the trigger for the flow "Loop send customer portal login link" and create a conditional split based on the country. (Let's say Italy in our case)
- For subscribers based in Italy, the merchant needs to add the following link as the button CTA to allow customers to log in.
https://samplewebsite.com/it/a/loop_subscriptions/customer/+{{ person|lookup:"$loop_external_customer_id"|default:'' }}+?sessionToken={{ person|lookup:"loop_session_token"|default:'' }}
- For subscribers outside of Italy, where the email is in English, the merchant can add the following link as the button CTA.
https://samplewebsite.com/a/loop_subscriptions/customer/+{{ person|lookup:"$loop_external_customer_id"|default:'' }}+?sessionToken={{ person|lookup:"loop_session_token"|default:'' }}
Related articles
Here are some related articles that may offer additional insight and context.
Need help?
No worries - we're here for you!
If you have any questions or need assistance, feel free to email us at support@loopwork.co or chat with us using the support beacon at the bottom right of your screen.
Regards,
Loop Subscriptions Team 🙂
Updated on: 22/09/2025
Thank you!