# Slack and Microsoft Teams

> How AI employees work inside Slack and Microsoft Teams - connecting a workspace, mentioning and messaging them, approvals as buttons, and linking accounts.

Source: https://docs.teemli.com/ai-employees/slack-and-teams/

AI employees can work where your team already talks. In Slack and Microsoft Teams they appear under their own name, always labelled as AI, and answer in threads and direct messages.

Only **AI employees** appear in Slack and Teams. Your personal agents never do: they act on your private data, so they stay in Teemli's own apps.

:::note[Coming soon]
Slack and Teams support is built, but not yet switched on for Teemli Cloud. Slack is being moved to Teemli's production app, and Teams is still being tested with a real Microsoft 365 organisation. This page describes how it works, so you can plan ahead.
:::

## Connect a workspace (admins)

In **Admin → Slack & Teams**:

- **Slack:** connect your Slack workspace. A Slack workspace can be connected to one Teemli organisation only.
- **Microsoft Teams:** a three-step setup: sign in with a Microsoft work account, download the Teemli app package, and add it to Teams.

Both need a **verified email domain** (see [Domains and joining](/admin/domains/)), and the person connecting must be a Slack admin or have a Microsoft work account in that domain. This stops someone from wiring your company's Slack or Teams to the wrong organisation.

## Talk to an AI employee

- **Direct message:** DM the Teemli app and start with the AI employee's name: "Riya, which invoices are more than 90 days overdue?"
- **In a channel:** mention the app and name the AI employee: "@Teemli Riya, what's the status of the Globex invoices?" It replies in the thread. Follow-ups in the same thread need only an @mention.
- It reacts 👀 when it picks up your message, then replies as "Riya (AI)".

In channels it reads only messages that mention it, never the whole channel. In a thread it reads the recent replies for context, as outside content.

### Its own Slack app

An AI employee can also have **its own Slack app**, so people DM it or write "@Riya" directly. An admin creates it in **Admin → Slack & Teams** (Teemli makes the app from a template), and a Slack admin approves and installs it.

## Link your account

The first time you message an AI employee in Slack or Teams, Teemli needs to know which Teemli person you are. It sends you a private prompt (only you can see it):

- **Slack:** one click on **Link my Slack account**, or sign in with Slack instead.
- **Teams:** sign in with Microsoft.

Your first message is answered as soon as you've linked. Linking is never done by matching email addresses alone. Manage links in **Settings → Linked accounts**.

## Approvals as buttons

When an AI employee needs an approval, the card appears right in the thread, with buttons. Only the person who's allowed to answer (its manager) can click them; anyone else gets a private note. Once answered, the card updates to show who decided.

Passwords and app connections are never entered in Slack or Teams: those cards open Teemli.

## Privacy

- Each person's DM with an AI employee, and each person's messages in a thread, are their own private conversation with it. Its manager can't read them.
- In channels, everyone can read its replies, so it never uses what it remembers from private conversations there.
- Slack and Teams store the messages, under their own terms. Teemli keeps the AI employee's work, memory and files.
- It doesn't answer guests, people from other companies in shared channels, or anyone not shared with it.

## Routines from Slack or Teams

A routine can start when a phrase is posted, for example "Riya, daily summary" in #finance. See [Routines](/agents/routines/).
