Courier’s Destination for Segment provides a no-code way to send data from Web or Mobile applications into Courier. Data and events flow from your application through Segment’s integration to Courier. In order to use Courier's Segment destination, you must already have Segment installed in your application.

Courier's Segment Integration is available to customers on Courier's Starter, Business and Enterprise plans.

Segment Identify Event → Courier’s Profiles API

Courier’s Segment Destination will automatically ingest calls made to the Segment.io Identify API and pass those events to the Courier Profiles API. You can use Recipient Profile data to customize notifications for any Recipient that has a Courier Profile populated.

Read more about Courier’s Profiles API.

Segment Track Event → Courier’s Send API

Courier’s Segment Destination will automatically ingest calls made to the Segment.io Track API and pass those events to the Courier Send API. Track events will initially show up in your Courier logs with a status of Undelivered. To use a Segment track Event to trigger a Courier Notification, you first need to map the event via Courier Event Settings. Once you map that event to a published Notification, subsequent events sent by Segment will trigger a Notification send.

Track Event by List or List Pattern → Courier’s Send List API

All the information supplied in the section above applies, with additional support for sending via a List or a List Pattern. By including either list or pattern in the `properties` object of the Segment track event, you can override the recipient and instead send to that list or lists that match the pattern supplied.

Example payload using a single List identifier

Example payload using a List Pattern

Read more: Best practices for constructing List identifiers.

Did this answer your question?