AACFlow

Microsoft Teams Connector

Sync channel messages from Microsoft Teams into your knowledge base

The Microsoft Teams connector synchronizes messages from Microsoft Teams channels via Microsoft Graph API.

Authentication

OAuth — requires scopes:

  • ChannelMessage.Read.All
  • Channel.ReadBasic.All

Configuration

FieldTypeRequiredDescription
TeamSelector / InputYesThe Microsoft Teams team
ChannelSelector / InputYesChannel name or ID
Max MessagesInputNoMaximum messages (default: 1000)

How It Works

  1. Channel Resolution — Resolves channel name to ID via Microsoft Graph
  2. Message Fetching — Fetches messages using $top pagination with @odata.nextLink
  3. HTML Handling — Converts HTML message bodies to plain text
  4. System Filtering — Only messageType: 'message' (no system events)

Document Format

[ISO timestamp] username: message text
[ISO timestamp] otheruser: reply text

Metadata Tags

TagTypeDescription
Channel NameTextThe Teams channel name
Message CountNumberNumber of synced messages
Last ActivityDateMost recent message timestamp

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started