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

Example

automations/teams-on-channel-message-event.automation.ts

Options

Pass { team: "Engineering", channel: "General" }. team and channel accept exact display names or provider IDs. Optional account selects a Microsoft binding.

Event

Runs when a channel message is created, updated, or deleted. 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.