Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Message → Send and Wait

AI-generated

Summary

Send a Teams message to a channel or a user’s direct chat, then pause the workflow until a response arrives or the configured timeout expires. Optionally present Approve and Decline buttons in an approval card.

Inputs

  • Message (required) — Message text to send.
  • Recipient Type (required) — Choose Channel or Chat (Direct Message).
  • Team ID (required) — For a channel recipient, the ID of the team containing the channel.
  • Channel ID (required) — For a channel recipient, the ID of the destination channel.
  • User ID (required) — For a chat recipient, the user’s ID or email address.
  • Timeout (Seconds) — Maximum time to wait for a response; defaults to 300 seconds and accepts 30–3600 seconds.
  • Approval Options — Configure an optional approval card: choose approve-only or approve-and-decline buttons, set their labels and the card title, optionally name the requester, and choose whether to show the request date/time and maximum waiting time. Defaults include an Approve button and both date/time and waiting time.
  • Options — Optional message settings: append n8n attribution (enabled by default), set importance, provide a sensitivity label hint, or pass JSON arrays for mentions, attachments, and hosted contents.

Output shape

A single item containing the received response when the workflow resumes.

The workflow waits for a response up to the configured timeout. The implementation can use Graph change notifications when the webhook is accessible, or a resume link when running in click-to-run mode. Approval buttons are sent as an Adaptive Card when approval options are configured; otherwise the operation sends a message with a resume link. Channel messages require team and channel IDs; direct messages require a user ID or email.

Links

Discussion