Bindings
A binding names the agent to run, the provider the event comes from, the trigger type, and the source that identifies which events match. For GitHub, you describe the source in parts and the platform assembles it:--repo makes the binding org-wide. For other systems, use --provider generic_webhook and set --trigger-source directly.
Payload format
A webhook binding accepts either a CloudEvents 1.0 structured event or plain JSON. A body withspecversion: "1.0" and string id, type, and source attributes is stored as the event; anything else is wrapped as the data of an envelope the platform builds from the binding. Either way, every recorded event is a CloudEvent.
The CloudEvent id de-duplicates: a second delivery with the same id on the same binding is recorded as a duplicate and starts no run. If you can, have the sender set a stable id per event so retries are safe.
Signing
Webhook deliveries are verified in one of two ways. The default is HMAC-SHA256 over the raw body with a shared secret.--auth-scheme standard_webhooks uses Standard Webhooks instead: the server generates a whsec_ secret, prints it once, and verifies the webhook-id, webhook-timestamp, and webhook-signature headers with a five-minute replay window.
jstm trigger test sends a test delivery signed by the server using the real secret. The secret never leaves the backend, so the test exercises the true signature path rather than a mock.
Input mapping
An incoming payload rarely matches an agent’s declared inputs.--input-mapping bridges them:
Rate limits
Each binding can carry its own rate limit. The limit counts events that requested a run, per value of a chosen payload field within a window, and across the binding within the last hour:rate_limited and starts no run. The sender still gets a 2xx, so it does not retry.
Inputs from a skill’s interview
When a skill asks its user questions — an interview rather than a fixed input list — those questions become fields in the agent’s input schema. They show up as fields on the run form in the web app, and a webhook binding fills them through--input-mapping like any other input.
Mode and version
Every trigger has its own mode and is pinned to one version of the agent. Both are set when the trigger is created (--mode simulation|run, and --version, the latest by default). A new build does not move a trigger. Change either later:
Events
Every delivery is recorded, whether or not it produced a run.Enabling and disabling
Disabling preserves the binding, its secret, and its event history:See also
- Trigger an agent — walkthrough.
jstm trigger— full reference.- Scheduling agents with cron — for time-based runs.