Which one do I want
The short test: if the outcome is work that happened, you want a trigger. If the outcome is someone finding out, you want an alert.
Triggers
A trigger is a schedule plus an action.cURL
Alerts
An alert is a source plus a condition plus somewhere to send the news.notification_config.channels takes one or more of webhook, slack, and email.
cURL
The seam worth knowing about
execution_mode takes on_ingest, scheduled, or on_demand.
on_ingest is what most alerts want. It rides the ingestion pipeline, so the alert is evaluated against data at the moment that data lands.
Related
Webhooks
Where an alert’s
webhook channel delivers.Change feed
Reading what changed, rather than being told.

