Setting Up Result Emails with Product Recommendation Quiz¶
A result email brings the customer back to their recommendations, which recovers sales that would otherwise be lost. The RevenueHunt app sends these emails itself, so you do not need an external CRM service, though you can use one.
This article covers the email your customer receives, the notification your administrators receive, and sending result emails through an external CRM service.
Two kinds of email
The app sends two kinds of email:
- The result email your customer receives, holding their answers and recommendations.
- A notification to an address you choose, on every quiz completion.
Recommended: send from your own address
Result emails leave from the RevenueHunt servers by default. Connect your own SMTP server to send them from your own address instead. Deliverability improves, and the email carries your branding.
Email quiz results via RevenueHunt app¶
Result emails can be sent directly from the RevenueHunt app to the email provided by the customer.
Follow the instructions below to activate and edit the result emails the app sends:
- Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz builder.
- Activate the customer email: go to
Quiz settings > Emails to respondentsand checkSend email when someone completes the quiz.
- Email TO: choose which email question supplies the address to send to.
- Edit REPLY-TO: choose the address your customer replies to.
- Email Subject: edit the title of the email your customer receives.
-
Edit Email Content: set up the template for that email.
Warning
Editing the email template takes HTML and Liquid.
-
Personalize the email with quiz metadata such as
{{first_name}}. Liquid can loop through the recommended products, or change the content based on the quiz outcome. -
The template reads the quiz metadata: the response ID, the quiz name, the customer's details, their answers, tags, recommended products and results page content.
Tip
See Editing email templates for the full list.
-
Ready-made snippets sit under the
Email Liquid Templatefield. UseResponses by Block, for example, to list the answers.Tip
Paste a snippet into a large language model such as ChatGPT or Gemini and ask it to style the Liquid template for you.
Note
Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
-
-
Add your SMTP credentials (recommended): result emails leave from the RevenueHunt servers by default. Connect your own instead, for better deliverability and your own branding. Go to
App settings > SMTP settingsand enter your credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Save the changes: click the top-right
Savebutton to update the preview and the live quiz. - Preview the quiz: take it through to the results page, which triggers the email.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz Builder.
- Activate the customer email: go to
Notifications > TO RESPONDENTand toggleSend email when someone completes the quiz.
- Edit REPLY-TO: choose the address your customer replies to.
- Email TO: with more than one email question in the quiz, choose which one supplies the address. With only one, it is selected for you.
- Email Subject: edit the subject line your customer sees. Type
@to recall information such as the customer name or the quiz name. - Edit Email Content: set up the email your customer receives. Choose either the Basic (text) or the Advanced (HTML) format, and switch between them with
switch to advanced HTML messageorswitch to basic text messagein theEmail Text Messagefield.- The Basic text template is the simpler one. Type what the customer should read into the
Email Text Messagefield. Type@to pull in recalled information: the customer name, email, phone number, quiz name, their answers, the recommended products and more. It cannot show images or colors, but it has the best deliverability.
- The Advanced HTML template takes HTML and Handlebars helpers to edit. Personalize it with quiz metadata such as
{{first_name}}, and use Handlebars to loop through the recommended products or change the content by quiz outcome. Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
- The Basic text template is the simpler one. Type what the customer should read into the
- Publish the changes: click the top-right
Publishbutton to update the preview and the live quiz.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz Builder.
- Activate the customer email: go to
Notifications > TO RESPONDENTand toggleSend email when someone completes the quiz.
- Edit REPLY-TO: choose the address your customer replies to.
- Email TO: with more than one email question in the quiz, choose which one supplies the address. With only one, it is selected for you.
- Email Subject: edit the subject line your customer sees. Type
@to recall information such as the customer name or the quiz name. - Edit Email Content: set up the email your customer receives. Choose either the Basic (text) or the Advanced (HTML) format, and switch between them with
switch to advanced HTML messageorswitch to basic text messagein theEmail Text Messagefield.- The Basic text template is the simpler one. Type what the customer should read into the
Email Text Messagefield. Type@to pull in recalled information: the customer name, email, phone number, quiz name, their answers, the recommended products and more. It cannot show images or colors, but it has the best deliverability.
- The Advanced HTML template takes HTML and Handlebars helpers to edit. Personalize it with quiz metadata such as
{{first_name}}, and use Handlebars to loop through the recommended products or change the content by quiz outcome. Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
- The Basic text template is the simpler one. Type what the customer should read into the
- Publish the changes: click the top-right
Publishbutton to update the preview and the live quiz.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz Builder.
- Activate the customer email: go to
Notifications > TO RESPONDENTand toggleSend email when someone completes the quiz.
- Edit REPLY-TO: choose the address your customer replies to.
- Email TO: with more than one email question in the quiz, choose which one supplies the address. With only one, it is selected for you.
- Email Subject: edit the subject line your customer sees. Type
@to recall information such as the customer name or the quiz name. - Edit Email Content: set up the email your customer receives. Choose either the Basic (text) or the Advanced (HTML) format, and switch between them with
switch to advanced HTML messageorswitch to basic text messagein theEmail Text Messagefield.- The Basic text template is the simpler one. Type what the customer should read into the
Email Text Messagefield. Type@to pull in recalled information: the customer name, email, phone number, quiz name, their answers, the recommended products and more. It cannot show images or colors, but it has the best deliverability.
- The Advanced HTML template takes HTML and Handlebars helpers to edit. Personalize it with quiz metadata such as
{{first_name}}, and use Handlebars to loop through the recommended products or change the content by quiz outcome. Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
- The Basic text template is the simpler one. Type what the customer should read into the
- Publish the changes: click the top-right
Publishbutton to update the preview and the live quiz.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz Builder.
- Activate the customer email: go to
Notifications > TO RESPONDENTand toggleSend email when someone completes the quiz.
- Edit REPLY-TO: choose the address your customer replies to.
- Email TO: with more than one email question in the quiz, choose which one supplies the address. With only one, it is selected for you.
- Email Subject: edit the subject line your customer sees. Type
@to recall information such as the customer name or the quiz name. - Edit Email Content: set up the email your customer receives. Choose either the Basic (text) or the Advanced (HTML) format, and switch between them with
switch to advanced HTML messageorswitch to basic text messagein theEmail Text Messagefield.- The Basic text template is the simpler one. Type what the customer should read into the
Email Text Messagefield. Type@to pull in recalled information: the customer name, email, phone number, quiz name, their answers, the recommended products and more. It cannot show images or colors, but it has the best deliverability.
- The Advanced HTML template takes HTML and Handlebars helpers to edit. Personalize it with quiz metadata such as
{{first_name}}, and use Handlebars to loop through the recommended products or change the content by quiz outcome. Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
- The Basic text template is the simpler one. Type what the customer should read into the
- Publish the changes: click the top-right
Publishbutton to update the preview and the live quiz.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP, or Simple Mail Transfer Protocol, is the protocol that lets an app such as RevenueHunt send email through your own mail server.
Connect the app to your SMTP server and the result emails leave from your own account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Add an email question: your quiz needs one before it can send a result email. Add it in the Quiz Builder.
- Activate the customer email: go to
Notifications > TO RESPONDENTand toggleSend email when someone completes the quiz.
- Edit REPLY-TO: choose the address your customer replies to.
- Email TO: with more than one email question in the quiz, choose which one supplies the address. With only one, it is selected for you.
- Email Subject: edit the subject line your customer sees. Type
@to recall information such as the customer name or the quiz name. - Edit Email Content: set up the email your customer receives. Choose either the Basic (text) or the Advanced (HTML) format, and switch between them with
switch to advanced HTML messageorswitch to basic text messagein theEmail Text Messagefield.- The Basic text template is the simpler one. Type what the customer should read into the
Email Text Messagefield. Type@to pull in recalled information: the customer name, email, phone number, quiz name, their answers, the recommended products and more. It cannot show images or colors, but it has the best deliverability.
- The Advanced HTML template takes HTML and Handlebars helpers to edit. Personalize it with quiz metadata such as
{{first_name}}, and use Handlebars to loop through the recommended products or change the content by quiz outcome. Email clients render HTML differently, so write your styles inline rather than as classes. JavaScript does not run in an email client, so leave it out. See Editing email templates.
- The Basic text template is the simpler one. Type what the customer should read into the
- Publish the changes: click the top-right
Publishbutton to update the preview and the live quiz.
Sending result emails with your CRM¶
Your own CRM can send the result emails instead. Connect your quiz to one of the available integrations, and the quiz data reaches your CRM as soon as the customer sees the results page. You then build the email sequence in the CRM itself, following that service's own guide.
Activate email notifications to admin¶
The app can email you every time someone completes the quiz or goes through to the checkout. Send it to whichever address should track the quiz.
Recommended: send from your own address
Notification emails leave from the RevenueHunt servers by default. Connect your own SMTP server to send them from your own address instead, which improves deliverability.
- Activate Emails to self: go to
Quiz settings > Emails to selfand check theReceive an email when someone completes the quizbutton to activate the emails.
- Edit Email to: choose which address receives the notification, such as a company or a personal one.
- Edit Email Subject: edit the subject line of the notification.
-
Edit Email Content: edit the Liquid template for the notification you receive.
- The default liquid template includes all customer answers from the quiz. You can edit this template to include additional information.
-
Use provided
useful code snippetsto add personal information from users. To add personal information, click to copy the template snippet and paste it at the top of your email liquid template. -
You can always reset the email template to default settings.
-
Add your SMTP credentials (recommended): notification emails leave from the RevenueHunt servers by default. Connect your own instead, for better deliverability and your own branding. Go to
App settings > SMTP settingsand enter your credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Save the changes: click the top
Savebutton. - Preview the quiz: take it through to the results page, which triggers the notification.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Open Notifications: go to
Notifications > TO SELFin your quiz dashboard. - Activate the notifications: toggle the button. Choose an email on each quiz completion, on each cart or checkout, or both.

- Add your email address in the
Send email notification tofield. - Publish the changes: click the top-right
Publishbutton.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Open Notifications: go to
Notifications > TO SELFin your quiz dashboard. - Activate the notifications: toggle the button. Choose an email on each quiz completion, on each cart or checkout, or both.

- Add your email address in the
Send email notification tofield. - Publish the changes: click the top-right
Publishbutton.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Open Notifications: go to
Notifications > TO SELFin your quiz dashboard. - Activate the notifications: toggle the button. Choose an email on each quiz completion, on each cart or checkout, or both.

- Add your email address in the
Send email notification tofield. - Publish the changes: click the top-right
Publishbutton.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Open Notifications: go to
Notifications > TO SELFin your quiz dashboard. - Activate the notifications: toggle the button. Choose an email on each quiz completion, on each cart or checkout, or both.

- Add your email address in the
Send email notification tofield. - Publish the changes: click the top-right
Publishbutton.
-
Add your SMTP credentials: go to
App Settings > SMTPand enter your SMTP credentials. Follow how to send result emails from your server using SMTP to learn how to set this up.
Note
SMTP stands for Simple Mail Transfer Protocol. SMTP is a connection protocol that enables third-party apps (e.g. RevenueHunt) to send emails through your email server.
When you connect the RevenueHunt app to your SMTP Server, the notification emails to admin will be sent from your email account.
If you are unsure what credentials to use, search your email provider's documentation for
SMTP, or ask their support team. -
Open Notifications: go to
Notifications > TO SELFin your quiz dashboard. - Activate the notifications: toggle the button. Choose an email on each quiz completion, on each cart or checkout, or both.

- Add your email address in the
Send email notification tofield. - Publish the changes: click the top-right
Publishbutton.
Editing email templates¶
Using metadata
Note
This guide explains how to use quiz metadata like answersByBlock, recommendationsBySlot, and resultContentByBlock in a Liquid-compatible email template.
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
Understanding the data structure
When a customer finishes a quiz, you receive structured metadata with:
firstName,fullName,email: basic user infoanswersByBlock: customer's answers to quiz questionsrecommendationsBySlot: products recommended by the quizresultContentByBlock: dynamic text, tips, and headings from the results page
Quiz Response Metadata Structure

This object holds everything a quiz completion generates: the answers, the product recommendations and the result content. It drives the results page, the follow-up emails and any custom workflow.
Basic information
responseId - Unique ID for this specific quiz response
resultRef - Internal reference to the results layout
quizId - ID of the quiz that was completed
quizName - Name of the quiz
firstName / fullName - Name entered by the user
email - Email address submitted
createdAt - Timestamp of quiz completion (ISO format)
User Answers (answersByBlock)
"answersByBlock": {
"qbc-485600ce": {
"type": "picture_choice",
"value": "Dry and tight all over",
"choicesRefs": ["qbcc-30928613"]
}
}
Each quiz question block is mapped to the user's response.
Fields inside each entry:
type - The kind of question (e.g. multiple_choice, picture_choice, email)
value - The answer selected or typed by the user
choicesRefs - List of selected choice references (used internally)
Example: qbc-485600ce → type: picture_choice, value: "Dry and tight all over", choicesRefs: ["qbcc-30928613"]
Tags
tags - The tags assigned to the customer, often used for segmentation. Empty when none are set.
Product Recommendations (recommendationsBySlot)
"recommendationsBySlot": {
"rsbss-33464eed": {
"type": "product",
"value": "Ordinary Serum",
"variants": [
Each result "slot" contains one or more product recommendations.
Each product object includes: id, title, vendor, handle: Shopify product metadata
variants - Variant ID, price, and image per product
slotHeading / slotDescription - Rich text HTML displayed on results pages
image - URL for the main product image
price - Object with amount and currencyCode
Example: rsbss-33464eed → contains "Ordinary Serum", $45 USD
Variable Scores (variableScores)
Used only if the quiz has a scoring logic. Contains numerical results or score breakdowns.
Result Sections (resultSections)
"resultSections": [
"rsbh-273d9ef6": {
"type": "heading",
"content": "<p>Here's what your skin wants!</p>"
}
]
An ordered array of blocks that make up the results page. Each block can be:
heading
text
products
button
Products blocks have a slots array that contains product lists grouped by slot reference.
Rendered Result Content (resultContentByBlock)
A lookup table of rendered content for each block (used in external templates like email).
Each entry is keyed by the block reference and contains:
type - Type of block (text, heading, products, etc.)
content or slots - The rendered HTML or product data
Using metadata in a Liquid template
Display Their First Name: Hi {{ person.firstName | default: 'there' }}, or Hi {{ person.answersByBlock.qbi-6c4248f5.value | default: 'there' }},
Display Their Answers: You mentioned your skin is mostly: <strong>{{ person.answersByBlock['qbc-485600ce'].value }}</strong>
Tip
You can loop through all answers dynamically too:
Show a link to the quiz results page: add #response-{{ responseId }} to the end of your results page URL.
Show Recommended Products: If your quiz sends recommended products under recommendationsBySlot, you can display them like this:
{% assign products = person.recommendationsBySlot['rsbss-ca4fba94'] %}
{% for product in products %}
<div style="margin-bottom: 30px;">
<img src="{{ product.image.url }}" alt="{{ product.title }}" width="200" />
<h3>{{ product.vendor }} - {{ product.title }}</h3>
<p>{{ product.description }}</p>
<p><strong>{{ product.price.amount }} {{ product.price.currencyCode }}</strong></p>
<a href="https://yourstore.com/products/{{ product.handle }}">Shop now</a>
</div>
{% endfor %}
Show Custom Headings from Results page: You can also pull headings or tips from resultContentByBlock by using a code like {{ person.resultContentByBlock['rsbt-159c2a74'].content }} or loop through result content blocks:
Using metadata
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
For example:
-
Show Customer Name: use the
{{first_name}}handlebar to display the customer's name.It should render as:
-
Recommended Products in Metadata: The most recommended products are listed within the metadata JSON under the
productsproperty.
Using Handlebars
You can use Handlebars to add more functionality to your HTML email template.
For more detailed guidance on using handlebars in your HTML email templates, refer to the following resources:
- Handlebars Built-in Helpers: Handlebars Built-in Helpers
- GitHub Handlebars Helpers: Handlebars Helpers on GitHub
The format for helpers in Notifications might slightly differ from those on GitHub. For instance, to truncate a product name to 7 characters, you should write:
If you want to present specific metadata you should use a special property {{#eq}} ... {{/eq}}
- To target all slot blocks:
- To target a specific block, for example, a block with the ID
A4TeY9:
Specific use cases:
-
List the Recommended Products: If you want to loop through the most recommended products, you can do so like this:
{{#each products as | product |}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} -
List recommended products with Slot Titles: If you want to list the most recommended product with Slot titles, you can do so like this:
{{#each blocks as |block|}} {{#eq block.type "SlotsBlock"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{#eq block.type "ProductsBlock"}} {{#each block.products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/eq}} {{/each}} -
List recommended products separated by Slot Blocks: use this code to recommend a Morning and a Night routine separately. Change the block IDs
A4TeY9andPPT2PGto the ones in your quiz.<h3>Let’s start with your morning routine</h3> {{#each blocks as |block|}} {{#eq block.id "A4TeY9"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}} <br> <h3>Finish the day with your night routine</h3> {{#each blocks as |block|}} {{#eq block.id "PPT2PG"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}}
Using metadata
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
For example:
-
Show Customer Name: use the
{{first_name}}handlebar to display the customer's name.It should render as:
-
Recommended Products in Metadata: The most recommended products are listed within the metadata JSON under the
productsproperty.
Using Handlebars
You can use Handlebars to add more functionality to your HTML email template.
For more detailed guidance on using handlebars in your HTML email templates, refer to the following resources:
- Handlebars Built-in Helpers: Handlebars Built-in Helpers
- GitHub Handlebars Helpers: Handlebars Helpers on GitHub
The format for helpers in Notifications might slightly differ from those on GitHub. For instance, to truncate a product name to 7 characters, you should write:
If you want to present specific metadata you should use a special property {{#eq}} ... {{/eq}}
- To target all slot blocks:
- To target a specific block, for example, a block with the ID
A4TeY9:
Specific use cases:
-
List the Recommended Products: If you want to loop through the most recommended products, you can do so like this:
{{#each products as | product |}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} -
List recommended products with Slot Titles: If you want to list the most recommended product with Slot titles, you can do so like this:
{{#each blocks as |block|}} {{#eq block.type "SlotsBlock"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{#eq block.type "ProductsBlock"}} {{#each block.products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/eq}} {{/each}} -
List recommended products separated by Slot Blocks: use this code to recommend a Morning and a Night routine separately. Change the block IDs
A4TeY9andPPT2PGto the ones in your quiz.<h3>Let’s start with your morning routine</h3> {{#each blocks as |block|}} {{#eq block.id "A4TeY9"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}} <br> <h3>Finish the day with your night routine</h3> {{#each blocks as |block|}} {{#eq block.id "PPT2PG"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}}
Using metadata
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
For example:
-
Show Customer Name: use the
{{first_name}}handlebar to display the customer's name.It should render as:
-
Recommended Products in Metadata: The most recommended products are listed within the metadata JSON under the
productsproperty.
Using Handlebars
You can use Handlebars to add more functionality to your HTML email template.
For more detailed guidance on using handlebars in your HTML email templates, refer to the following resources:
- Handlebars Built-in Helpers: Handlebars Built-in Helpers
- GitHub Handlebars Helpers: Handlebars Helpers on GitHub
The format for helpers in Notifications might slightly differ from those on GitHub. For instance, to truncate a product name to 7 characters, you should write:
If you want to present specific metadata you should use a special property {{#eq}} ... {{/eq}}
- To target all slot blocks:
- To target a specific block, for example, a block with the ID
A4TeY9:
Specific use cases:
-
List the Recommended Products: If you want to loop through the most recommended products, you can do so like this:
{{#each products as | product |}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} -
List recommended products with Slot Titles: If you want to list the most recommended product with Slot titles, you can do so like this:
{{#each blocks as |block|}} {{#eq block.type "SlotsBlock"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{#eq block.type "ProductsBlock"}} {{#each block.products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/eq}} {{/each}} -
List recommended products separated by Slot Blocks: use this code to recommend a Morning and a Night routine separately. Change the block IDs
A4TeY9andPPT2PGto the ones in your quiz.<h3>Let’s start with your morning routine</h3> {{#each blocks as |block|}} {{#eq block.id "A4TeY9"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}} <br> <h3>Finish the day with your night routine</h3> {{#each blocks as |block|}} {{#eq block.id "PPT2PG"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}}
Using metadata
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
For example:
-
Show Customer Name: use the
{{first_name}}handlebar to display the customer's name.It should render as:
-
Recommended Products in Metadata: The most recommended products are listed within the metadata JSON under the
productsproperty.
Using Handlebars
You can use Handlebars to add more functionality to your HTML email template.
For more detailed guidance on using handlebars in your HTML email templates, refer to the following resources:
- Handlebars Built-in Helpers: Handlebars Built-in Helpers
- GitHub Handlebars Helpers: Handlebars Helpers on GitHub
The format for helpers in Notifications might slightly differ from those on GitHub. For instance, to truncate a product name to 7 characters, you should write:
If you want to present specific metadata you should use a special property {{#eq}} ... {{/eq}}
- To target all slot blocks:
- To target a specific block, for example, a block with the ID
A4TeY9:
Specific use cases:
-
List the Recommended Products: If you want to loop through the most recommended products, you can do so like this:
{{#each products as | product |}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} -
List recommended products with Slot Titles: If you want to list the most recommended product with Slot titles, you can do so like this:
{{#each blocks as |block|}} {{#eq block.type "SlotsBlock"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{#eq block.type "ProductsBlock"}} {{#each block.products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/eq}} {{/each}} -
List recommended products separated by Slot Blocks: use this code to recommend a Morning and a Night routine separately. Change the block IDs
A4TeY9andPPT2PGto the ones in your quiz.<h3>Let’s start with your morning routine</h3> {{#each blocks as |block|}} {{#eq block.id "A4TeY9"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}} <br> <h3>Finish the day with your night routine</h3> {{#each blocks as |block|}} {{#eq block.id "PPT2PG"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}}
Using metadata
Each quiz response has metadata which can be used in your emails to personalize them. You can see the metadata from the quiz response on the right hand side of each notification:

The metadata from a quiz response can include various details that are useful for personalizing email communications.
For example:
-
Show Customer Name: use the
{{first_name}}handlebar to display the customer's name.It should render as:
-
Recommended Products in Metadata: The most recommended products are listed within the metadata JSON under the
productsproperty.
Using Handlebars
You can use Handlebars to add more functionality to your HTML email template.
For more detailed guidance on using handlebars in your HTML email templates, refer to the following resources:
- Handlebars Built-in Helpers: Handlebars Built-in Helpers
- GitHub Handlebars Helpers: Handlebars Helpers on GitHub
The format for helpers in Notifications might slightly differ from those on GitHub. For instance, to truncate a product name to 7 characters, you should write:
If you want to present specific metadata you should use a special property {{#eq}} ... {{/eq}}
- To target all slot blocks:
- To target a specific block, for example, a block with the ID
A4TeY9:
Specific use cases:
-
List the Recommended Products: If you want to loop through the most recommended products, you can do so like this:
{{#each products as | product |}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} -
List recommended products with Slot Titles: If you want to list the most recommended product with Slot titles, you can do so like this:
{{#each blocks as |block|}} {{#eq block.type "SlotsBlock"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{#eq block.type "ProductsBlock"}} {{#each block.products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/eq}} {{/each}} -
List recommended products separated by Slot Blocks: use this code to recommend a Morning and a Night routine separately. Change the block IDs
A4TeY9andPPT2PGto the ones in your quiz.<h3>Let’s start with your morning routine</h3> {{#each blocks as |block|}} {{#eq block.id "A4TeY9"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}} <br> <h3>Finish the day with your night routine</h3> {{#each blocks as |block|}} {{#eq block.id "PPT2PG"}} {{#each block.slots as |slot|}} <b>{{slot.title}}</b><br> {{#each products as |product|}} <div style="overflow:hidden; margin-bottom: 10px;"> <img src="{{product.image_url}}" alt="{{product.name}}" width="48" height="48" style="float:left; margin-right: 10px;"/> <span style="height:48px;float:left"> <a href="{{product.url}}" target="_blank">{{product.name}}</a> <br>{{product.price}} USD</span> </div> {{/each}} {{/each}} {{/eq}} {{/each}}
This article explains how the RevenueHunt app sends result emails to your customers, and notifications to an address you choose.