Microsoft Teams Trigger icon

Microsoft Teams Trigger

Triggers workflows in n8n based on events from Microsoft Teams, such as new messages or team updates, using specified configurations.

Microsoft Teams Trigger

AI-generated

Summary

Subscribe to Microsoft Teams events and start the workflow when a new channel, channel message, chat, chat message, or team member is created. Choose the event and, where applicable, select a team, channel, or chat; the trigger creates Microsoft Graph webhook subscriptions and outputs each notification’s resource data (or the full event if resource data is absent).

Inputs

  • Trigger On (required) — Choose New Channel, New Channel Message, New Chat, New Chat Message, or New Team Member. Defaults to New Channel Message.
  • Watch All Teams — For New Channel, New Channel Message, and New Team Member, watch all joined teams. When off, select the required team by list, ID, or URL.
  • Watch All Channels — For New Channel Message with a specific team, watch all its channels. When off, select the required channel by list, ID, or URL.
  • Watch All Chats — For New Chat Message, watch all chats. When off, select the required chat by list, ID, or URL.

Output shape

One workflow item per Microsoft Graph event notification in the webhook request.

Each item’s JSON is resourceData when present, otherwise the complete event notification. Microsoft Graph requires an HTTPS webhook URL. New Chat does not require a team or chat selector.

Links

Discussion