Skip to main content
Solved

Sending Email with custom recommendstions for each user

  • November 2, 2023
  • 1 reply
  • 55 views

Forum|alt.badge.img+2

Hi everyone! Could you please advise how I can implement sending out custom recommendations for each user? I'll give you some details. Right now we are implementing a quiz functionality on the site, after passing which a list of recommended products is generated for each user. After passing the quiz, the customer fills in his name and e-mail, which together with the list of recommended products for him (it will be a list of product IDs) should get into Klaviyo. After that the customer should receive an e-mail with the list of recommended products for him.
I have a few questions:
1. How can we transfer to Klaviyo the list of recommended products for each user?
2. How can I create an email template with a dynamic block to output recommended products?
3. How can I properly set up the flow so that as soon as all the required information is entered into Klaviyo, the emails will be sent to the user?

Best answer by Brian Turcotte

Hi @vtlabsdev!

 

To answer your questions:

  1. Your products should have already been synced to your catalog via your e-commerce integration:

    https://www.klaviyo.com/catalog/items
    ​​​​​​

    You should be able to confirm that your products exist by typing the Product ID or Product Name in the search bar and verifying that they are present.
     
  2. Assuming that your products are appearing in your catalog as mentioned above, you can use a Catalog Lookup function to display them in an email template:

    Catalog Lookup

    If you save the Product IDs as a profile property or event property, you can insert those values into the catalog lookup.
     
  3. Although there are several ways to accomplish this part of the use case, I would suggest creating a custom metric called “Quiz_Submitted” (or something to that effect), using the instructions below:

    Custom metric tracking

    Then, you would include the Product IDs as event properties in the API call that would fire upon completion of the quiz, which you could reference later in a flow triggered by the custom metric.

    Keep in mind, this assumes that you would be able to program an API call to fire when someone submits the quiz.
     

I hope this helps, and thanks for using the Community!

- Brian

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • November 2, 2023

Hi @vtlabsdev!

 

To answer your questions:

  1. Your products should have already been synced to your catalog via your e-commerce integration:

    https://www.klaviyo.com/catalog/items
    ​​​​​​

    You should be able to confirm that your products exist by typing the Product ID or Product Name in the search bar and verifying that they are present.
     
  2. Assuming that your products are appearing in your catalog as mentioned above, you can use a Catalog Lookup function to display them in an email template:

    Catalog Lookup

    If you save the Product IDs as a profile property or event property, you can insert those values into the catalog lookup.
     
  3. Although there are several ways to accomplish this part of the use case, I would suggest creating a custom metric called “Quiz_Submitted” (or something to that effect), using the instructions below:

    Custom metric tracking

    Then, you would include the Product IDs as event properties in the API call that would fire upon completion of the quiz, which you could reference later in a flow triggered by the custom metric.

    Keep in mind, this assumes that you would be able to program an API call to fire when someone submits the quiz.
     

I hope this helps, and thanks for using the Community!

- Brian