# Send survey feedback to Segment

Send survey answers to Segment, then on to your connected tools. Each completed response includes the survey title, answers, extra response details and a linked order ID when available.

## Connect an HTTP source

1. In Segment, create or open an **HTTP API** source. Copy its **Write Key** and check the source's region.
2. In Shopoll, open **Integrations → Product analytics** as a workspace owner or admin. Choose **Segment** and select the matching region.
3. Enter the source write key and choose **Connect project**. Configure the receiving destinations in Segment.
4. Finish a published survey. Open the source debugger in Segment and look for **Survey Completed**.

## Use answers and participant traits

Shopoll sends a **Track** message for the completion. Read `properties.answers` by question ID. When a customer or external participant ID is available, the message includes a `userId`.

For an identified survey, Shopoll includes an **Identify** message in the same batch. A valid phone answer sets the reserved `phone` trait in international format. Other available traits include the person’s email address, handle and participant metadata. Each anonymous completion uses its own ID and sends only Track. Answers retain the values people submitted.

## Check a delivery

**Refresh status** in Shopoll shows queued and failed completions and the last accepted event. An accepted event has reached the Segment source. Check each connected tool’s delivery view to confirm it arrived there too.

Segment limits each message to 32 KB. Oversized events can be rejected. The full answer is still available in Shopoll.

Shopoll reuses the same message IDs for retries and limits Segment retries to the first 24 hours after completion. Use **Change project** when switching sources and **Disconnect** when collection should stop. [Segment HTTP API](https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/server/http-api)
