This guide will introduce you to Smart Products, the easiest way to get the best product recommendations using state of the art AI. You will be able to get your quiz up and running as fast as possible.
How Smart Products work
With Smart Products, the AI will recommend the products at the end based on your prompt. You can use both very simple as well as very detailed prompts. With this, you do not need to set up any logic for the product recommendations, the AI will take care of everything.
How to add a Smart Products block
When you create a new quiz, the Smart Products block will be added by default. However, you can also add a Smart Product block to an existing Custom or Dynamic quiz by going to your results page -> Add block -> Smart Products:
How to write instructions for Smart Products recommendations
Now that you have your Smart Products block, you can click on Products below it to open the instructions field:
Here, you can write your instructions. In this example, we have a very simple quiz with just one question, and we will ask Smart Products to only recommend products from one of these two categories:
Here is a specific short prompt we can use for this:
Tip: you can use variables in your prompt to make it even more specific. You can also use ampersands (&) to insert the exact question titles:
Now, when we test the quiz, here is what the customer will get when they Clothing as their answer:
And when they pick Skincare products:
The AI followed the exact instructions laid out in the prompt! Your instructions do not need to be as simple as the above example, though. You can refer to many more questions, and be much more detailed in regards to what the exact recommendations should be. We will go over some other examples of use cases next.
Best practices when writing your prompt
In order to get the best and most accurate results with Smart Products, here are a few guidelines you should follow:
Keep the prompts simple: Smart Products already use your questions and answers in order to find the best matching products. In order to avoid any conflicts with instructions and the answers provided, try to use a simple and precise prompt. Smart Products will do the rest of the hard work for you!
βUse Ampersands and Variables for the exact question titles and answers: Smart Products works best with exact information. If you need to refer to your questions and answers in your prompt, make sure to use ampersands (&) and variables (@) to autocomplete the exact information needed in your prompt. This will feed the exact data needed into the prompt and will save you work from having to go back to your quiz to copy the information.
Use the exact product titles: As a continuation from the previous point, the more accurate the information, the more precise Smart Products will be with the recommendations. If you need to specify a certain product that will be recommended, make sure to use the full Shopify product title from your catalog, even if you have custom product information set up on the quiz.
Recommending specific variants: If you want Smart Products to recommend specific product variants, use this format: Exact Product Name + Exact Variant Name.
Do not ask Smart Products to output anything: Smart Products only recommends products. It cannot write text or generate other types of content. Make sure to never use a prompt like "output this" to avoid issues with the recommendations. If you need to generate other types of content, you can use Smart Copy.
More use case ideas for Smart Products
Here are some more examples of how to use Smart Products in varying complexity.
Most chosen alternative
In this example, we have a quiz where if the customer selects more answers labeled A, they get a certain result, more answers labeled B, another result, and so on. The quiz is set up with three questions that have A, B, and C answers. Here is the prompt we can use:
β
When testing this by choosing answers A, A, and B, respectively, we can see that we get the correct results as stipulated in the prompt:
By trying to do something similar with advanced logic, the necessary conditionals for this to work would increase exponentially with each question or answer added. With Smart Products, you can have as many questions and answers as you want, and it will still be able to follow the outlined instructions and provide the correct recommendations, with no need for advanced logic.
Multiple question types with a fallback option
In this example, our quiz has three questions:
What type of product are you looking for?
What's your favorite color (free text)?
What's your budget?
And our prompt is the following:
We set up a product that is recommended (the soap) in case no products match the answers that were selected. Let us test this by selecting Clothing, Blue, and a max budget of $100. Here are the products we got:
They are both pieces of clothing, blue, and do not go over the budget! Now, if we try selecting Accessories, Purple, and a budget of $20, no products in our store match those criteria, so we get the soap as instructed: