id: org.apache.streampipes.sinks.notifications.jvm.msteams title: MS Teams Sink sidebar_label: MS Teams Sink

MS Teams Sink


The MS Teams Sink is a StreamPipes data sink that facilitates the sending of messages to a Microsoft Teams channel through a Webhook URL. Whether you need to convey simple text messages or employ more advanced formatting with Adaptive Cards, this sink provides a versatile solution for integrating StreamPipes with Microsoft Teams.


Required input

The MS Teams Sink does not have any specific requirements for incoming event types. It is designed to work seamlessly with any type of incoming event, making it a versatile choice for various use cases.


Configuration

Webhook URL

To configure the MS Teams Sink, you need to provide the Webhook URL that enables the sink to send messages to a specific MS Teams channel. If you don't have a Webhook URL, you can learn how to create one here.

Message Content Options

You can choose between two message content formats:

  • Simple Message Content: Supports plain text and basic markdown formatting.
  • Advanced Message Content: Expects JSON input directly forwarded to Teams without modification. This format is highly customizable and can be used for Adaptive Cards.

Choose the format that best suits your messaging needs.

Silent Period

The Silent Period is the duration, expressed in minutes, during which notifications are temporarily disabled after one has been sent. This feature is implemented to prevent overwhelming the target with frequent notifications, avoiding potential spam behavior.


Usage

Simple Message Format

In the simple message format, you can send plain text messages or utilize basic markdown formatting to convey information. This is ideal for straightforward communication needs.

Advanced Message Format

For more sophisticated messaging requirements, the advanced message format allows you to send JSON content directly to Microsoft Teams without modification. This feature is especially powerful when used with Adaptive Cards, enabling interactive and dynamic content in your Teams messages.