Skip to main content
calcom.onEvent subscribes to every event delivered by the selected managed Cal.com webhook scope.
automations/on-event.automation.ts

Scope

Omit scope for the connected user’s personal webhook. Personal and team scopes exclude the four organization-only delegation credential events. Use a team scope for one team-owned Collective or Round Robin event type:
Use an organization scope for organization-wide events, including delegation credentials:
Team scope requires a Cal.com Teams plan or higher and an API key owned by a team admin or owner. Organization scope requires an organization admin with webhook permissions; Cal.com marks organization webhooks as an Essentials feature for platform customers.

Event

The signal is a discriminated union. Narrow triggerEvent before reading variant fields. Most variants use createdAt and a nested payload; meeting start and end variants expose booking fields at the event root. Automate.ax creates and maintains the scoped Cal.com webhook, verifies x-cal-signature-256, and deduplicates provider retries. Use calcom.onEvent when one automation should receive every event supported by its selected scope.