- Inbound Track, Identify, and Group endpoints observe approved traits and events.
- Outbound delivery sends bounded runtime and Guide outcome events through Segment’s Tracking API.
Connect inbound events
- In Dashboard → Settings → Integrations → Segment traits and outcomes, create an inbound source key.
- Copy it immediately. Puntego stores only its SHA-256 digest and cannot display it again.
- Configure the displayed Track, Identify, and Group endpoints in the sending system.
- Use HTTP Basic with the source key as username and an empty password. Include the colon when
encoding the credential:
base64("source-key:"). - Send representative messages, then select only the scalar traits the workspace needs.
messageId under 100 characters.
Track also needs event; Group needs groupId; all messages need userId and/or anonymousId.
A repeated messageId is acknowledged as a duplicate without producing a second record.
Identify and Group write separate provider projections rather than overwriting first-party data:
customer.traits.segment.user.<trait>account.traits.segment.group.<trait>
segment.event.*; Puntego does not imply
that an event property is current user or account state. Selections are prospective.
Connect outbound outcomes
Create a dedicated HTTP source in Segment, choose the matching US or EU region in Puntego, and enter its source Write Key. The key is encrypted and write-only. Keep delivery paused until Test credentials and Send test event succeed. Pseudonymous identity is the default and sends a tenant-keyed pseudonym. Customer external ID is an explicit opt-in for joining outcomes to an existing Segment user. Runtime properties, action inputs, selectors, reasons, model output, and action results are never included. Outbound payloads are assembled immediately before dispatch and are not stored. A stable delivery ID becomes Segment’smessageId. Explicit rate limits and server errors use bounded retry; an
ambiguous network failure after dispatch is marked unknown and is not retried automatically.
Operate safely
- Rotate the inbound key if it may have been exposed; the prior key stops working immediately.
- Re-enter the Write Key when changing region.
- Use delivery diagnostics and the deterministic
messageIdbefore manually handling anunknownresult. - Operational exports omit credentials, raw provider message IDs, anonymous-ID hashes, idempotency keys, lease tokens, payloads, and provider response bodies.