# Build a Klaviyo segment from survey answers

Group Klaviyo customers by their survey answers. First [connect Klaviyo](/docs/integrations/klaviyo.md) and answer a published survey with your own email address. Find the Shopoll event on that Klaviyo profile and check the question handle and answer value. A handle is the stable name used to identify the question.

## Segment by a past response

Create a segment in Klaviyo. Choose a condition for what someone has done, then select the metric named **[Shopoll] Completed Survey** followed by your survey title. Set the count to at least once over your preferred period.

Filter that event by **response_status** equal to **completed** and add a filter for your question handle. For example, use the answer to “How did you hear about us?” to group people who selected “Podcast”. Check the sample profile in the segment preview before saving.

## Segment by the latest answer

Enable **Save answer properties on Klaviyo profiles** in Shopoll. In Klaviyo, use a profile property condition and choose the property beginning with **Shopoll:** followed by the question handle. A later answer to the same question handle can replace the profile value. To group people by what they answered at a particular time, use the event rule above.
