Webhook triggers are a planned feature. The database schema exists but the webhook management API is not yet built. RunTools currently receives webhooks from WorkOS and Stripe internally.
Trigger agents automatically when external events occur — GitHub PRs, Stripe payments, custom webhooks, and more.
Triggers vs Tools: Triggers are inbound — external events that start your agent. Tools are outbound — actions your agent takes during execution. For example, a GitHub trigger starts your agent when a PR opens, while the GitHub tool lets your agent create PRs. Connecting a service enables both.
Configure triggers in the dashboard or via SDK/CLI — both stay in sync.
const trigger = await rt.triggers.create({ deployment: 'my-bot', source: 'webhook', secret: 'my-webhook-secret', // Optional});// Requests must include X-Webhook-Signature header// HMAC-SHA256 of body with secret