1. Create a trigger
Create a trigger with the CLI. Use a--preset to configure authentication and payload parsing for a known provider:
hmac, Nuon generates a signing secret for the trigger — reveal and rotate it with the secret commands below.
--auth-config to supply advanced settings as a JSON object — for example the header to read the signature from, the signature algorithm, or the expected JWT audience.
Common flags:
2. Get the ingress URL
The ingress URL is the secret endpoint external systems POST events to. Reveal it, then configure it in the sending system:3. Route events with rules
Rules decide which events start which targets. Author them in your app config’striggers.toml, where each [[rules]] entry references a trigger by name, matches events, and declares a target.
triggers.toml
app_branch_run target — see Targets below.
Rule fields
A rule must declare at least one of:
event_types, a positive filter, or match_all = true.
Filters
Each filter compares a value from the payload or headers.triggers.toml
op values: eq, neq, in, prefix, suffix, contains, gt, gte, lt, lte, regex, exists, not_exists. Omit value for exists and not_exists. Each filter’s value must encode to at most 4096 bytes.
To discover which payload paths and headers are available to filter on, use nuon triggers events paths against a received event — see Test and inspect events.
Targets
A target is either an install runbook or an app branch run. Run a runbook on a specific install, mapping payload values into runbook inputs. This target requires no app branch:triggers.toml
inputs maps a runbook input name to a singular payload JSONPath. The runbook must be declared in your app config, and install must name an existing install.
Alternatively, run an app branch:
triggers.toml
app_branch must already be declared in your app config — the rule fails to sync if it doesn’t exist.
4. Test and inspect events
List received events for a trigger:--app-config, and select the event with either --last (most recent event for a trigger) or --event <event-id>: