Skip to main content

Courier Inbound Events

The CourierJS SDK interfaces with the inbound track API to send client-side application events to Courier that can be used in Automations trigger nodes. You can also send events directly via the REST API:
curl --request POST \
  --url https://api.courier.com/inbound/courier \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "order-placed",
  "type": "track",
  "userId": "user_123",
  "properties": {
    "order_id": "ORD-98765",
    "total": 59.99
  }
}'
The event name matches the trigger node’s event filter in your automation. The properties object is available in the automation context via refs.data.

Segment

With a Segment third-party integration both track and identify are automatically ingested using the Segment trigger node in Automations. Refer to Segment use cases for more information.

Rudderstack

With an existing RudderStack third-party integration both track and identify are automatically ingested into the Rudderstack trigger node in Automations.