Microsoft Teams
Chat with your Studio agent from a Teams tab, and let it read your channels and chats and post for you.
Swarmix for Teams adds a Swarmix tab to Microsoft Teams. You chat with your own Studio agent without leaving Teams. With your Microsoft 365 account, the agent reads your teams, channels, chats and the files shared in them, and posts for you when its role allows it.
Before you start
Your Teams admin adds Swarmix to your organization's Teams apps, and a Swarmix admin turns on Swarmix for Teams on the role of the agents you want to reach. See Add-ins and Hub.
Add Swarmix in Teams
- For yourself: in Teams, open Apps → Built for your org, choose Swarmix, and click Add.
- In a channel or group chat: add a tab with +, choose Swarmix, sign in and connect to your Studio, choose a project under Link a Swarmix project, and click Save.
A channel or group chat tab opens on its project's agents for each member of the channel or chat. Each person still chats with their own agent. The first time, connect the tab to your Studio as in Connect an add-in and chat.
Each place keeps its own chat: your personal tab, each channel and each group chat. Opening a channel tab leaves your personal tab's chat unchanged.
Give your agent your Microsoft 365 account
Above the chat, the tab shows what the agent can use, for Teams and for files:
| The tab shows | What to do |
|---|---|
| "Teams access: [email protected]" | Ready. The agent uses this account, which can differ from the one you use in Teams. |
| Connect Microsoft 365 | Click it. The Microsoft sign-in opens on your Studio computer, not in Teams. Finish it there. |
| Choose account | Studio opens the agent's settings on your Studio computer. Choose the account there. |
| "This agent can't use Teams" | Its role does not allow Teams. Choose another agent, or ask an admin. |
| "An admin must finish setting up Teams access" | Only your admin can fix this. |
Ask the agent
From the tab, "this channel" and "here" need no names: the agent knows your current channel or chat. For example:
- "Summarise the last two days in this channel."
- "What has been asked of me in this chat that I have not answered yet?"
- "Read the document Ana shared in this thread."
- "Post the summary in #release and mention Ana."
The + menu next to the message box has a Teams section with ready requests for where you are, such as Summarise this channel, What did I miss? and Find messages about…. Choosing one puts the text in the message box. Edit it and send it.
The agent can also take your Teams window to a message it found, and open a chat with up to 50 people and a message ready to send. It does not send that message: you read it and click Send.
What the agent can use in Teams
The agent runs in your Studio. It works in Teams through three parts:
- The tab. The tab uses Microsoft's Teams JavaScript library to know where you are: your personal tab, a channel, a chat or a meeting. The agent asks the tab for your place, and uses the tab to act in your Teams window, as in Ask the agent.
- Studio's Microsoft Teams plugin. With the Microsoft 365 account you give the agent, the plugin lists your teams, channels and chats, reads channels, threads and chats, searches messages, reads other Teams data that Microsoft Graph offers, and posts and replies for you.
- Microsoft 365 Files. With the same account, the agent browses, searches, reads and saves files in OneDrive and SharePoint, including files linked in Teams messages.
The tab adds no context to your messages. The agent also has your project's files, artifacts, Knowledge Center and tasks: for example, ask "Add a task for each open question in this thread." To point at an item, type @ and choose it. See How the add-ins work.
What the agent sees and posts
- The agent sees what your account sees in Teams: your teams, your channels, your chats and the files you can open.
- Reading is a low-risk action. Posts appear under your name and are a medium-risk action. Your organization's rules and your permission mode decide whether Studio asks for your approval. See Approving agent actions.
- With Data Shield on, names and emails reach the agent masked. The tab shows you the real values.
Best practices
- Link each channel tab to the project the channel works on. The tab then opens on the right agents for each member.
- Keep a permission mode that asks before posts. You read each post before it goes out under your name.
- Use the ready requests in the + menu to start from a prompt that fits the place.
FAQ
Your Teams admin has not added Swarmix, or has not made it available to you yet. Ask your Teams admin.
Your organization has not allowed the Microsoft Teams plugin in Swarmix. Ask your Swarmix organization admin.
Your organization has not finished the sign-in setup for Microsoft 365. Ask your Swarmix organization admin.
An admin turns on Swarmix for Teams on an agent role in Studio. Agents in a crew are not listed.
The agent works from your Studio. You connect its Microsoft account in Studio.