Overview
How Courier API calls work with Segment:- In your application, Segment identifies a user action and creates a track/identify API call.
- The Segment event API call sends the event to Courier
- Segment
propertiesJSON data is passed into the Courier Send API as elements of thedataJSON object - Segment’s
userIdis used to locate the recipient in Courier with the same ID or create a new one when none are found
- Segment
- Courier receives the event from Segment
- The event within Courier triggers any automations linked to it
- The linked automations run send any notifications that are linked to them
Before Starting
Prior to sending notifications with Segment you will need the following:- A Segment account
- A notification template configured with a downstream provider within Courier
- Segment integrated to Courier.
Linking Automations
Linking automations to Segment events allows you to create a flow of actions that will be triggered by specific events. This means that whenever an event occurs in your application and is sent through Segment, any linked Courier automations will trigger a workflow to send a notification with the data passed from the event.- In the Segment integration page, locate the event you want to link, click the + sign on the second column, and select the automation of your choice.
- From an automation template, you can link an automation to a segment event from the dropdown menu.

Courier Automation Segment Dropdown
refs.data.properties