Skip to main content
teams.onChatEvent subscribes to Microsoft Graph change notifications.

Example

automations/teams-on-chat-event.automation.ts

Options

Pass { chatId: "chat-id" }. chatId is the opaque provider ID. Optional account selects a Microsoft binding.

Event

Runs when a chat is updated. The event includes changeType, resourceType, resourceId, contextual team/channel/chat IDs, and normalized data when Graph still exposes the resource. Deletions are ID-only tombstones. Teams subscriptions are short-lived and Automate.ax renews them automatically.