onTrigger handler receives a typed event object with the payload.
Integration triggers
GitHub
| Trigger | Event type | Description |
|---|---|---|
GitHub.onPROpened() | GithubPRInputEvent | A pull request is opened |
GitHub.onPush() | GithubPushInputEvent | Code is pushed to a branch |
GitHub.onIssueCreated() | GithubInputEvent | An issue is created |
repo parameter.
Slack
| Trigger | Event type | Description |
|---|---|---|
Slack.onMessage() | SlackMessageEvent | A message is posted in a channel |
Slack.onDm() | SlackMessageEvent | A direct message is received |
Linear
| Trigger | Event type | Description |
|---|---|---|
Linear.onIssueCreated() | LinearEvent | An issue is created |
Linear.onIssueUpdated() | LinearEvent | An issue is updated |
Attio
| Trigger | Event type | Description |
|---|---|---|
Attio.onRecordCreated() | AttioRecordInputEvent | A record is created in a list |
Jira
| Trigger | Event type | Description |
|---|---|---|
Jira.onIssueCreated() | JiraEvent | A Jira issue is created |
Jira.onIssueUpdated() | JiraEvent | A Jira issue is updated |
Gmail
| Trigger | Event type | Description |
|---|---|---|
Gmail.onNewEmail() | GmailEvent | A new email is received |
Figma
| Trigger | Event type | Description |
|---|---|---|
Figma.onFileComment() | FigmaCommentEvent | A comment is added to a Figma file |
WorkOS
| Trigger | Event type | Description |
|---|---|---|
WorkOS.onEvent() | WorkOSInputEvent | A WorkOS event occurs |
user.created, organization.created, organization_membership.created, invitation.created, etc.).
System triggers
Schedule
| Trigger | Event type | Description |
|---|---|---|
Schedule.cron() | CronJobInputEvent | Fires on a cron schedule |
Webhook
| Trigger | Event type | Description |
|---|---|---|
Webhook.onRequest() | WebhookEvent | Fires when an HTTP request hits the generated webhook URL |
Common event interface
All events implement a shared interface:event.formatForAgentRunner() to get a string representation suitable for including in prompts. In Python, use event.formatted_content.