> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stockful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Teams

> Post alerts to a channel in Microsoft Teams

Choose **Microsoft Teams** on an alert to post it to a channel in your team.

## What you need

An active Stockful account on a Shopify store, and permission to add an app to the team you want alerts in. Stockful is on the [Shopify App Store](https://apps.shopify.com/stockful-inventory-management).

## Connecting

Teams is connected once for your whole store, not per alert, and the same connection delivers scheduled reports. Connect it under **Settings → Integrations**, or straight from the alert with **Connect**.

There is no sign-in step, because a Teams app is added from inside Teams and an install carries no store context. A pairing code supplies the missing half:

<Steps>
  <Step title="Add Stockful in Teams">
    In Teams, open **Apps**, search for Stockful and add it to the team you want alerts in.
  </Step>

  <Step title="Get a code">
    In Stockful, go to **Settings → Integrations** and select **Connect** on Microsoft Teams. It gives you a message to send, with a code that lasts 15 minutes.
  </Step>

  <Step title="Send it in the channel">
    Paste that message into the channel. It mentions the bot, which matters: in a channel, Stockful only receives messages that **@mention** it.
  </Step>
</Steps>

Until a code is sent, the app is inert. It holds no store data and posts nothing.

A code works once. If you get **That code has expired or has already been used**, generate a fresh one rather than resending the old message.

## Picking a channel

Each alert chooses its own channel inside that team. Only channels the bot can see and post in are listed, so if one is missing, check its permissions in Teams rather than reconnecting.

## What arrives

Each alert arrives as a card carrying the numbers that triggered it, with buttons for the obvious next steps: create a purchase order, view the product, open it in Stockful, or snooze that SKU. A [summary](/user-guide/alerts/index) instead lists everything caught over the period with a link to the alert's history.

## Talking to the bot

Send **help** to the bot, in a channel or a direct message, and it tells you what it does and which commands it takes. It answers two: `connect <code>` pairs the channel with your store, and `help` shows that message.

## When it stops working

If the app is removed from the team, or loses access to the channel, the alert is recorded as failing rather than going quiet, and the cooldown stops it retrying on every stock change. Restoring access is enough, and the alert itself stays as it is.

Disconnecting Teams leaves your alerts switched on and holding their channels. They simply have nowhere to send until you reconnect, at which point they resume.

## Getting help

Stuck on any of this? [Contact us](https://docs.stockful.app/support).
