Triggers
What starts an agent: you, a schedule, a webhook, an alert, or a Slack event, and what each one hands the steps after it.
The trigger is the first step of every agent. It decides when the agent runs and what the steps after it start with. Each agent has exactly one, chosen with Choose a trigger on an empty canvas. It only fires once the agent is published and Active.

| Trigger | Starts the agent when | Steps read |
|---|---|---|
| Manual | You press Run now on its runs page | Nothing |
| Schedule | The time comes round | Nothing |
| Webhook | Something POSTs to its URL | {{ $trigger.body }}, .headers, .query |
| Alert | One of its chosen alerts fires | {{ $trigger.alert }}, {{ $trigger.value }} |
| Slack events | Slack sends a matching event | {{ $trigger.event }} |
A trigger is free. Every other step that runs uses an Execution; see Plans and billing.
Manual
For agents you run by hand, and for trying an idea before you give it a real trigger. Any agent, whatever its trigger, can also be run by hand with Run now.
Schedule
Pick Every 15 minutes, Every hour, Every day, Every weekday, Every week, Every month, or Custom for a cron expression such as 0 9 * * 1. Then the time, the days, and a timezone. It starts in the timezone your browser is in.
Use it for digests, nightly checks and weekly reports, for example a Lucid step that asks what changed in error rate since yesterday? and a Slack step that posts the answer.
Webhook
Once the agent is saved, the trigger shows its Webhook URL. POST JSON to it and the agent starts; the call returns 202 with the run's execution_id.
curl -X POST "<your webhook URL>" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: deploy-4812" \
-d '{"service": "checkout", "version": "4.2.0"}'- The URL is the credential. It contains the agent's secret, so anyone who has it can start a run. Keep it like a password.
- Require a signature makes the agent accept only signed requests. Sign the raw body with HMAC-SHA256 using the Signing secret the trigger shows, and send it as
sha256=<hex>in the Signature header (X-Hub-Signature-256by default). Idempotency-Keyheader: a second request with the same key within 24 hours doesn't start another run. It returns the first run's ID instead.
Steps read the request as {{ $trigger.body }}, {{ $trigger.query }} and {{ $trigger.headers }}.
Alert
Pick one or more alerts. Each time any of them fires, the agent runs once. An alert's list shows how many agents it starts, and its history shows what they did.
This is how a threshold becomes an action. The alert decides when; the agent decides what to do. The steps get everything the alert knows:
| Field | What it is |
|---|---|
$trigger.alert.name, .id | Which alert fired |
$trigger.alert.scope, .measure, .aggregation, .filter | What it watches: runs, spans or an eval, and how it measures them |
$trigger.alert.operator, .threshold, .window_seconds | The condition it crossed |
$trigger.alert.eval_lineage_id, .eval_name | For an eval alert, which eval |
$trigger.value, $trigger.sample_size | The value that crossed the threshold, and how many items it was measured over |
$trigger.fired_at | When it fired |
The common next step is Lucid → Investigate an alert into issues, which reads the failures behind the alert and files or updates an issue. Start from the Triage alerts into issues template.
Slack events
A message, a mention or a reaction in Slack can start an agent. Slack must be connected for your organization first; see Slack.
| Trigger | Fires when |
|---|---|
| Slack: On bot app mention | Someone @-mentions the Trodo bot |
| Slack: On new message in channel | A person posts in the chosen channel or DM |
| Slack: On reaction added | An emoji reaction is added, optionally only a chosen one |
| Slack: On file shared | A file is shared in the chosen channel or DM |
| Slack: On any event | Any event Slack sends for the chosen channel or DM |
| Slack: On new public channel created | A public channel is created |
| Slack: On new user | Someone joins the workspace |
Steps read the Slack event as {{ $trigger.event }}, for example {{ $trigger.event.text }} for a message's text. Messages, mentions and reactions from the Trodo bot itself don't start an agent, and when Slack delivers an event twice the agent runs once.
GitHub and Linear don't start agents. To act on their events, point their webhooks at a Webhook trigger.
Build & publish
Start an agent with Lucid, from scratch or from a template, build its chain of steps, test the draft, publish it, and read its runs.
Steps
Every step you can add to an agent: Lucid, AI Agent, LLM, Decide, hand to a coding agent, data and dataset steps, Python, flow control, and Slack, GitHub and Linear actions.