How to use the search input question type
The Search input type allows the user to search through a given list and choose an answer from the search results.
1. Editing search input question
Once you have added the "Search input" question type to your flow, you will have the following options:
- Type: Allows you to easily change the type of question.
- Category: Allows you to give the question a certain category.
- Question: The actual question you want to ask your users.
- Text: Extra text for the question. This can be useful to explain various things.
- Show in product matches list: when enabled, it shows the selected answer of the user on the result page as a match label.
- Search placeholder: A placeholder to use for the search input.
- Search list: A newline separated list of items for the user to search through.
2. Manual list vs. dynamic list
There are two types of search lists. Manual and dynamic lists.
- Manual list allows you to add a newline separated list of items manually for the user to search through as shown in the image above.
- Dynamic list allows you to select a feed property and to use all unique values of that property.
In the example below, we want to use the unique brands in our product feed dynamically for our search list. In other words; a user can search through all unique brands that are currently in our product feed.
You can use additional match rules to only match a value if the match rule is met.
For example, we only want to include unique brands when a product is in stock of that brand.
3. Matching products to search input question
Once you are ready with editing your manual search list or dynamic search list, you can match the right products from your feed to the searched input.
Go to 'matching > data matching' and select the answer of your search input question you want to match. Add a match rule and match the right feed products to the answer using 'input' as a match value.
The 'input' match value corresponds to a users selected answer from you search list.
Documentation