Skip to main content
The Novu Microsoft Teams integration enables you to send notifications to Teams channels and direct messages (DMs) across different customer workspaces using a single multi-tenant bot. You create and host a Microsoft Teams bot in your Azure environment, and your customers then approve the app (via Admin Consent) and install it in their Teams tenants. Once a customer connects their workspace, Novu establishes a secure channel connection using your bot’s credentials. You then map specific destinations, whether the destinations involve public channels or individual users to channel endpoints, allowing Novu to route notifications dynamically to the correct tenant and conversation context.
Compose rich Chat step content with the block editor, or keep a plain-text / Liquid body. Novu renders shared cards as Microsoft Teams Adaptive Cards. Provider overrides apply only to messages sent to a Workflows webhook endpoint. Messages that the bot sends to a channel or user endpoint use the Chat step content and ignore provider overrides.

Choose a path

Set up the Azure bot

Create the Entra ID app, Azure Bot, and Teams package, then save credentials in Novu.

Connect tenants and destinations

Run admin consent, install the app, and register channel or user endpoints.

Workflows webhook

Paste a Teams Workflows URL as a Novu channel endpoint.

Agents on Teams

Connect the same bot to a managed or custom-code agent.

File attachments

Novu sends files, such as PDFs or CSVs, with Teams notifications when you pass them in the trigger’s payload.attachments with chat in their channels list. See Chat file attachments for the payload format.
Teams shows a file only when it is stored in Microsoft 365, so Novu stores each file with Microsoft Graph before it posts a file card: If Teams doesn’t accept the file card, Novu posts a link to the stored file instead.

Grant file permissions

Your Azure app needs the Microsoft Graph application permission Files.ReadWrite.All:
  1. In the Azure portal, open your app registration and add the permission under API permissions. See Add Microsoft Graph app permissions.
  2. Have the administrator of each connected tenant grant consent again, so the new permission applies in their tenant. See admin consent.
Files.ReadWrite.All lets your app read and write files across the tenant’s SharePoint sites and OneDrive accounts. Novu uses it only to store the files you send. A recipient’s OneDrive exists only after they first open OneDrive. Until then, Novu can’t store direct-message files for them.

Limits

  • Teams webhooks (workflow webhooks) can’t carry files. For a webhook destination, Novu sends the message and skips the files.
  • Files larger than 250 MB are skipped.
  • Novu sends the message even when its files can’t be sent. The step’s activity log shows Chat files sent, or Chat files not sent with the reason for each file, such as a missing permission.
In the Teams message format, attachments is the field that carries the Adaptive Card. Use payload.attachments with channels: ['chat'] to send files.
You can also share a file without storing it in Microsoft 365:
  • Link to the file. Host the file yourself and add the URL to the message as a link or a link button.
  • Show images by URL. Use the Image block in the block editor, or the Image element in a Framework card. The URL must be absolute and reachable by Teams.

Agent conversations vs. workflow notifications

See agent conversations for capabilities across all providers.

Agents and providers

Connect Teams and other providers to an agent.