Emit event
emit_eventEmit a customer event to auto-enroll contacts into any matching sequence.
Instructions
Emit a customer event. Any published sequence whose trigger is event.matches and matches name will auto-enroll the contact. The response includes the enrollments array (empty when no sequence was listening — that's fine and not an error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dot-namespaced event name (e.g. "subscription.cancelled"). | |
| No | |||
| traits | No | ||
| userId | No | ||
| occurredAt | No | ISO timestamp. Defaults to now. |