Categories

How To Trigger A Klaviyo Flow After A Customer Completes A Quiz

  • Main
  • How To Trigger A Klaviyo Flow After A Customer Completes A Quiz
< All Topics

When a customer completes your quiz, you may want to send a follow up email that incorporates their quiz responses. This can include their product recommendation, their preferences (for example, if they say that they have dry skin, then send resources for their skin type). 

After you have set up your Klaviyo integration with Prehook, profiles are created when someone completes the quiz and submits an email. Additionally, all quiz responses will be automatically sent to Klaviyo as a Custom Property. 

The process is as follows: 

  • – Integrate with Klaviyo
  • – Set Up an Email capture in your quiz
  • – Create Segments in Klaviyo based on their quiz responses
  • – Build Flows in Klaviyo for each Segment

Step 1: Set Up Prehook integration with Klaviyo

To set up your Klaviyo integration, you will need to add your Public API key to Prehook: 

See more on how to find your Klaviyo Public API key here. 

 

Step 2: Set up email capture in your Prehook Quiz

In order to capture an email lead, you will need to have your customers add their email. 

You can set up the email question like this: 

Step 3: Verify that quiz responses are sent through to Klaviyo

Once someone completes a quiz and enters their email address, a new contact will be created in Klaviyo. 

The quiz responses will also be sent through as Custom Properties. 

You can see the Custom Properties in the Information tab: 

It is a good idea to complete a test quiz and confirm that the data is being sent through properly. 

Step 3: Create Segments In Klaviyo

You can create segments in Klaviyo based on the quiz responses that someone gave. A segment is a dynamic grouping based on a set of conditions. 

So in addition to the quiz responses that someone gave, you can further segment by what a customer has purchased, how active they have been with previous campaigns, how much they have spent in a lifetime, or any number of parameters. 

To create a segment in Klaviyo, go to the Lists & Segments tab, and click “Create List/Segment: 

You can now build segments based on the conditions that you define. For example, you can create a segment based on the recommended product that the customer received. 

Create a segment, and name the segment. 

In the Definition section, you will choose “Properties about someone”, and add the tags or properties from the quiz that you want to target. 

This segment will be dynamically updated to include anyone that meets the criteria that you outlined. 

Step 4: Create a Flow Triggered by the Quiz Results

It is now time to create the Flows that will automatically send the emails to the various segments. 

Go to the Flows tab, and click on Create Flow: 

You will want to create a trigger to start the flow. Start the Flow when someone enters the segment (for example, a segment that has completed the quiz): 

Now you can select the segment that you have already created:

The benefit with just having one flow for everyone who takes the quiz is that it is easier to manage, and you can dynamically insert content based on the recommended product or their quiz responses. 

After you have set up your Flow trigger, you will want to add an Action — which is what happens once someone triggers the flow. 

This is a great opportunity to send an email following up on their quiz experience — with the recommended product, more information based on their persona or segment, or anything else that would be relevant. 

From here, you can continue to build your flow with greater personalization and relevance! 

Table of Contents