Event = fact name (user.created). Automation = graph with trigger + steps. Trigger with Send event and use Idempotency-Key against duplicates.
In short
- One
trigger step per flow; links in connections
condition step: always "true" and "false" outputs
- Sends in the flow need channel scopes (
email:send, etc.)
Context: Introduction. Scopes: API Key scopes.
Before you start
- Scopes:
events:read, events:write, automations:read, automations:write
- At least one template created (note the IDs)
- Auth:
Authorization: Bearer sk_live_... or x-api-key
- Base URL:
https://api.notifique.dev
1. Register the event
1A, Dashboard
Automations → Events → register the name and payload schema (optional).
1B, API
Scope: events:write.
schemaJson is optional, when present, it validates payload on trigger.
2. Create the automation
Scope: automations:write.
Example: welcome + email after 3 days.
259200000 ms = 3 days. Replace template IDs.
3. Trigger the event
Scope: events:write. Optional header: Idempotency-Key: onboarding-001
Recipient: one of contactId, email, or phone (E.164).
Expected response:
Multiple automations on the same eventName → multiple runs.
4. List runs
Scope: automations:read.
Single run: GET /v1/automations/:automationId/runs/:runId, see Automations and events spec in the menu.
Next steps