Teams
The Teams node posts a message card to a Microsoft Teams channel using an incoming webhook. Use it to send notifications, alerts, or an agent’s reply into a channel. You find it on the node picker’s Channels — send a reply shelf.
It has two handles: input, which takes the upstream node’s output (available in every field as $prev), and output, which passes the send result to the next node.
Store the webhook URL in a secret and reference it with {!! $secrets->yourSlug !!}. The {!! !!} form matters here: Teams workflow URLs carry query parameters joined with &, which the escaping {{ }} form would corrupt.
Configuration
Section titled “Configuration”

| Field | Type | Default | Description |
|---|---|---|---|
Webhook URL (webhookUrl) | string ✦ (required) | — | The Microsoft Teams incoming-webhook URL to post the message card to. |
Text (text) | string ✦ (required) | — | The body text of the Teams message card. |
Title (title) | string ✦ (optional) | — | An optional title shown at the top of the message card. |
Theme color (themeColor) | string ✦ (optional) | #007bff |
The accent colour of the message card, as a hex code; defaults to #007bff. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
Output
Section titled “Output”On a successful send (Teams answers with status 200) the node emits:
{ "status": "sent", "channel": "teams" }Any other response status fails the node without retrying.
Get a webhook URL
Section titled “Get a webhook URL”In Teams, create an incoming webhook for the target channel (through a Workflows template or the channel’s connectors, depending on your Teams plan) and copy the generated URL. Save it as a secret in Publicus.
Example
Section titled “Example”The Channel / Teams template is a minimal working send: Start → Injector → Teams, with text set to {{ $prev->message }}.
To send an agent’s reply instead, wire Agent → Teams:
- Set
webhookUrlto{!! $secrets->teamsWebhookUrl !!}. - Set
textto{!! $prev->content !!}(the Agent node emits its reply undercontent; the agent’s answer may contain characters that escaping would corrupt). - Optionally set
titleto a heading andthemeColorto an accent colour such as#019247.
When an agent calls this node as a tool, the send is approval-gated by default; see How to add human approval.
Limitations
Section titled “Limitations”- The message posts to the webhook’s fixed channel. To choose a channel per message you need a separate webhook per channel.
- The node sends a legacy MessageCard payload, not an Adaptive Card, so layout options are the card’s
title,text, andthemeColor.
Related
Section titled “Related”- How to build a Teams agent is the full inbound-to-reply setup.
- How to connect an agent to a chat channel
- Slack · Discord · Email
- Secrets stores the webhook URL securely.
- REST Request posts an Adaptive Card or calls Microsoft Graph directly when the message card is not enough.