> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/microsoft-teams/send-teams-notification.md).

# Send Teams Notification

Sends one message card to a Microsoft Teams incoming webhook. The card lists, for each inventory you selected, how many assets were collected and their values in the columns you chose with **Edit Columns**. It works like the Slack job [Send Notification (Slack)](broken://pages/9a12b0d1e0dcccef26a97c0706ad4cff224ef837), with a Teams message card instead of a Slack message.

### Before you begin

* A Microsoft Teams incoming webhook URL, entered in **Incoming webhook url**. No other credentials are used.
* Asset types: device and user only. You pick them in the inventory selector at the top of the node form. A new job defaults to `device`.
* Columns: the columns you set per inventory with **Edit Columns** on the canvas toolbar.
* Job defaults: **Incoming webhook url** can be saved in [Action Center Settings](broken://pages/564c12505a07c3e543a27e9e05d3837b603b0e27).

### Settings

| Setting              | Type | Required | Default | Description                                             |
| -------------------- | ---- | -------- | ------- | ------------------------------------------------------- |
| Incoming webhook url | URL  | Yes      | None    | The Teams incoming webhook URL. It must be a valid URL. |

### How it works

* Builds one message card for the whole run, not one per asset. The card has the summary `OctoXLabs Workflow Notifications`, the heading `OctoXLabs Workflow Notification`, the subtitle `Workflow <title>` and one fact named `Asset List:` that holds the asset text.
* For each selected inventory the text is a code block that starts with `<inventory> count: <number>`. With 4 or fewer columns it is a table with aligned columns; with more than 4 columns each asset is a list of `column: value` lines separated by dashes. Empty values show as `null`; list values are joined with commas.
* The job posts the card once and does not check the HTTP status of Teams' answer. A connection error fails the job, but a rejection by Teams (for example an invalid webhook) does not.
* It passes the same assets it received to the next node.

### Example

| Setting                | Value                                                            |
| ---------------------- | ---------------------------------------------------------------- |
| Incoming webhook url   | `https://example.webhook.office.com/webhookb2/YOUR-WEBHOOK-PATH` |
| Inventories            | device                                                           |
| Columns (Edit Columns) | Hostname, IpAddresses                                            |

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/f96e1994ad6a04095adc9a77b7cca350387f5534">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/564c12505a07c3e543a27e9e05d3837b603b0e27">Broken link</a></td></tr><tr><td><strong>Send Notification (Slack)</strong></td><td>The same summary for Slack.</td><td><a href="broken://pages/9a12b0d1e0dcccef26a97c0706ad4cff224ef837">Broken link</a></td></tr><tr><td><strong>Send Mail</strong></td><td>Send the assets by mail.</td><td><a href="broken://pages/71b08cd233bda28d1839ad70c7433b0065ae556d">Broken link</a></td></tr></tbody></table>

{% hint style="info" %}
Available starting from version 2.5.0.
{% endhint %}
