AACFlow

Slack Connector

Sync channel messages from Slack into your knowledge base

The Slack connector synchronizes messages from Slack channels into your knowledge base.

Authentication

OAuth — requires scopes:

  • channels:read
  • channels:history
  • groups:read
  • groups:history
  • users:read

Configuration

FieldTypeRequiredDescription
ChannelSelector / InputYesChannel name or ID
Max MessagesInputNoMaximum messages (default: 1000)

How It Works

  1. Channel Resolution — Looks up channel by name (via conversations.list) or ID (via conversations.info)
  2. Message Fetching — Uses conversations.history with cursor pagination (200 per page)
  3. User Resolution — Resolves user IDs to display names with caching in syncContext
  4. Formatting — Messages rendered chronologically with resolved usernames

Document Format

[ISO timestamp] User Name: message text
[ISO timestamp] Other User: reply text

Metadata Tags

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

Slack API Behavior

Slack returns HTTP 200 even for errors. The connector checks the ok field in the response body to detect failures. Error details are in the error field.

Channel Types

Supports both public channels and private channels (if the bot has access). Archived channels are excluded.

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