Microsoft Teams

Microsoft Teams

Automate Teams channels and chats

With emma's Microsoft Teams integration, you can manage teams, channels, and chats. Send messages, retrieve history, and automate your Teams communication workflow.

Features

Teams_Operator supports the following 7 tools:

CategoryTools
Teams1
Tool NameDescription
teams_list_teamsList teams you've joined
Channels3
Tool NameDescription
teams_list_channelsList channels in a team
teams_get_channel_messagesGet channel message history
teams_send_channel_messageSend a message to a channel
Chats3
Tool NameDescription
teams_list_chatsList user's chats
teams_get_chat_messagesGet chat message history
teams_send_chat_messageSend a message to a chat

Main Parameters

ParameterDescription
team_idTeam ID
channel_idChannel ID
chat_idChat ID
contentMessage content

Prerequisites

  • emma account
  • Microsoft 365 account
  • Microsoft Graph API access token

Setup

1. Install the package

npm install @duzzle/teams-integration

2. Initialize

import { DuzzleTeams } from '@duzzle/teams-integration';

const teams = new DuzzleTeams({
  apiKey: process.env.DUZZLE_API_KEY,
  teamsToken: process.env.TEAMS_ACCESS_TOKEN
});

3. Send Message

// Send a message to a channel
const message = await teams.sendChannelMessage({
  team_id: 'team-123',
  channel_id: 'channel-456',
  content: 'Hello from emma!'
});

console.log('Message sent:', message.id);

© 2026 Duzzle Inc. All rights reserved.