MS Teams Bot Trigger icon

MS Teams Bot Trigger

Receive messages and events from MS Teams via webhook

MS Teams Bot Trigger

AI-generated

Summary

Triggers a workflow when a specified Microsoft Teams event occurs and optionally sends a response.

Inputs

  • events (required) — The Teams event types to listen for (e.g., message, conversationUpdate, etc.).
  • respondWhen — When to send a response back to Teams: immediately, after workflow finishes, or via a Respond to Webhook node.
  • responseData — What data to include in the HTTP response: all entries, first entry JSON, first entry binary, or no body.
  • ignoreBotMessages — If true, messages from bots are ignored.
  • includeRawActivity — If true, the raw Bot Framework activity is included in the output.
  • autoReply — If true, automatically sends a typing indicator in response to messages.

Output shape

A single JSON object representing the received Teams activity (or no body on success).

The workflow receives the activity data; the HTTP response body follows the selected responseData option. Returns no body if configured as 'noData'.

Examples

Example 1: Trigger on new messages and reply immediately with acknowledgement

events: message; respondWhen: immediately; responseData: noData

Discussion