Skip to content

Triggers

Run an agent on a schedule, on a webhook, or on an event in a connected app.


On this page

A deployed agent normally waits to be mentioned. A trigger runs it without anyone asking: every weekday at 9am, when a webhook arrives, or when something happens in an app you have connected.

Triggers live on the Event Triggers tab of an agent.

Before you begin#

  • An agent with at least one channel connected, so its output has somewhere to go.
  • For app events, the relevant tool connected on the Tools tab. The trigger picker recommends events from apps the agent already uses.

Creating a trigger#

Select Add Event Trigger and choose when it should run:

TypeWhen it fires
On ScheduleA recurring cadence: hourly, daily, weekly, or monthly
One-timeOnce, at a date and time you pick
HTTP / WebhookWhenever a request arrives at the generated URL
App eventWhen the chosen event happens in a connected app

Then write what the agent should do when it fires. The trigger carries a prompt, so the same agent can behave differently depending on what woke it up: a Monday digest, a reply to an incoming ticket, an alert summary.

App-event triggers also accept a filter, so the agent runs only on the events that matter rather than on every one the app emits.

Limits#

Each plan allows a number of triggers per organization and a number of trigger runs per day. The tab shows both counts against your limits, and the Add Event Trigger button is disabled once the trigger limit is reached.

  • Tools — connect the app whose events you want to use
  • Channels — where a triggered run posts its result
  • Traces API — inspect what a triggered run did