When a visitor answers a mini quiz in your Alia popup, such as "What's your main health concern?" or "What are you shopping for?", Alia saves their answer to their Attentive profile as a custom attribute. You can use that attribute to build dynamic segments in Attentive and send each group a tailored SMS.
Before you start
Make sure:
Your popup has a mini quiz or another Survey question.
Attentive is connected on the Integrations page in Alia.
Some visitors have answered the quiz and signed up, so there's data to segment.
How quiz answers reach Attentive
Each answer is saved as a custom attribute named after the question. The name comes from the Survey question's Question container setting, such as "What's your main health concern?".
The value is the answer the visitor picked, from the answer's Answer field.
Alia also records an Alia Poll Answered event, with the question and answer.
Only visitors who give an email address or phone number reach Attentive. If a visitor answers before signing up, Alia holds the answer and sends it once they subscribe.
For a question that allows more than one answer, only the first answer is saved.
Find the question name in Alia
Open the popup in the editor and go to the step with the quiz.
In the element tree, select the Survey question element (it has a question mark icon).
Copy the name in its Question container setting. This is the attribute name you'll search for in Attentive.
[Screenshot: Survey question element and its Question container setting, from the Notion draft]
Create the segment in Attentive
In Attentive, go to Segments and click Create Segment.
Select Create Dynamic Segment. A dynamic segment updates as subscribers start or stop matching.
For the condition, choose A subscriber's characteristics.
Paste the question name you copied from Alia into the search. Select it under Profile.
Choose the answer you want to segment by, such as "Gut health".
Save the segment.
đĄ Tip: Copy the question name exactly from Alia. The attribute name in Attentive has to match it exactly.
Example
Say your popup asks "What's your main health concern?" with these answers:
Joint & muscle pain
Gut health
Sleep & recovery
Energy & focus
You could create four segments, one for each answer, and send each group an SMS campaign featuring the most relevant products.
Things to keep in mind
If you rename the question or an answer in Alia, new answers arrive under the new name. Update your Attentive segments to match.
Visitors who answer the quiz but never give an email or phone number aren't sent to Attentive.
FAQ
I can't find my quiz attribute in Attentive
Check that:
Attentive shows as connected on the Integrations page in Alia.
At least one visitor has answered the quiz and signed up since you added it.
You're searching for the exact question name from the Question container setting.
Still have questions?
Start a chat from inside the Alia app, or use the chat in our Help Center.





