properties
object passed to the track call, as well as configurable fields for event_name
, idempotency_key
, and external_customer_id
. Orb does not allow specifying a field for timestamp
and will honor the Segment event timestamp
. Defaults are available for certain top level fields:
Orb event field | Default Segment event field | Segment connection settings name |
---|---|---|
event_name | event | Event name field |
idempotency_key | messageId | Idempotency key field |
external_customer_id | No default | External customer ID field |
timestamp | timestamp (Not configurable) |
Properties mapping fields
configuration for your destination will yield the desired event format:
External customer ID field
set to userId
, your ingested event would look like:
Properties mapping fields
, requiring all keys and values in this configuration setting to be strings. In the event that we receive a request with a different type for any of the fields in this setting, we will raise a 400 Request validation error
error and Orb will not ingest the Segment event.