Agent Triggers

Start agent runs from the places your team already works: webhooks, chat apps, messaging channels, or schedules.

Best for

Teams connecting agents to applications, channels, and workflows

Agent Triggers

Agent triggers turn an external event into an agent run. Pick whichever source fits where your users already work — the agent code stays the same.

SourceWhat fires it
WebhookAny HTTP POST carrying a JSON body — CI/CD, monitoring, custom integrations
SlackMentions in a channel, direct messages, or reactions on the bot’s replies
TelegramDirect messages and group mentions
WhatsAppWhatsApp Business Cloud API messages
TeamsMicrosoft Teams Bot Framework messages
ScheduleA cron expression — no inbound request required

For Slack, Telegram, Teams, and WhatsApp the agent’s response is posted back to the same channel automatically — no extra plumbing. Chat history is remembered so the agent picks up where the conversation left off.

How it feels for users

Slack — a teammate mentions the bot in #incidents, the agent investigates and replies in-thread. A 👍 reaction on the reply records a positive score for that run.

Telegram — someone DMs the bot, or @mentions it in a group; the agent answers in the same chat.

Schedule — set 0 9 * * * and the agent runs every weekday at 9am with no human in the loop.

Webhook — your CI pipeline POSTs build metadata, the agent reviews the PR, and the run shows up in the executions list with the right trigger attribution.

Setup, at a glance

  1. Open the Triggers tab on the agent you want to wire up.
  2. Pick a source — Webhook, Slack, Telegram, Teams, WhatsApp, or Schedule.
  3. Add the credentials that source needs (signing secret, bot token, app secret) from your workspace credentials.
  4. Copy the public hook URL into the upstream system, or set a cron expression for schedule triggers.

That’s it. Activate / deactivate the trigger without deleting it whenever you want.

What’s enforced for you

  • Authentication: every public URL carries a unique encrypted token; Slack signatures, Telegram secret tokens, WhatsApp app secrets, and generic-webhook HMACs are all verified before the agent runs.
  • Rate limiting: each trigger is limited per token so a noisy channel can’t drown out the rest of your workspace.
  • SSRF protection: outbound reply URLs are validated against an allowlist of provider hosts.
  • Bot-loop prevention: bot-authored messages never re-trigger the agent.
  • Replay protection: signed requests outside the 5-minute window are rejected in both directions.
  • Horizontal scaling: schedule triggers fire exactly once per interval no matter how many service replicas you run.

Approvals & scoring

Trigger-driven executions go through the same pipeline as anything else, so you can:

  • Pause for human approval before the agent posts a reply (Approvals)
  • Capture emoji reactions on Slack/Telegram replies as evaluation scores (Evaluations)
  • Inspect the full trace, cost, and token usage in the executions list
Technical detailsSDKs and API key scopes

SDKs

Manage triggers from any SDK:

LanguageSurface
Pythonclient.agent_triggers
JavaScriptclient.agentTriggers
Goclient.AgentTriggers

The REST contract for managing triggers is in the API Reference; the public inbound hook URLs sit under /api/v1/hooks/*.

API key scopes

ScopeAllows
agent_triggers:readList and view triggers
agent_triggers:writeCreate, update, and delete triggers

Public hook URLs don’t need an API key — the token in the URL is the credential.