Skip to content

feat(chat): add Slack integration with channel resolution and tools#23

Merged
qasim-nylas merged 1 commit intomainfrom
nylas-chat-i002
Feb 14, 2026
Merged

feat(chat): add Slack integration with channel resolution and tools#23
qasim-nylas merged 1 commit intomainfrom
nylas-chat-i002

Conversation

@qasim-nylas
Copy link
Collaborator

Add 6 Slack tools to Nylas Chat: list_slack_channels, read_slack_messages, read_slack_thread, search_slack, send_slack_message, list_slack_users.

Key features:

  • Channel resolution: exact match, prefix match (for Rootly-style suffixes), and search fallback for discovering channel IDs from names
  • Auto thread expansion: read_slack_messages inlines thread replies (matching CLI --expand-threads behavior) with default limit of 500
  • Search fallback: when conversations.history returns too few results, falls back to search.messages API for broader access
  • Approval gating: send_slack_message requires user confirmation
  • System prompt integration: Slack context injected when available

Fixes: channel resolution using ListMyChannels (excludes DMs) instead of ListChannels to avoid pagination exhaustion on large workspaces.

Add 6 Slack tools to Nylas Chat: list_slack_channels, read_slack_messages,
read_slack_thread, search_slack, send_slack_message, list_slack_users.

Key features:
- Channel resolution: exact match, prefix match (for Rootly-style suffixes),
  and search fallback for discovering channel IDs from names
- Auto thread expansion: read_slack_messages inlines thread replies (matching
  CLI --expand-threads behavior) with default limit of 500
- Search fallback: when conversations.history returns too few results, falls
  back to search.messages API for broader access
- Approval gating: send_slack_message requires user confirmation
- System prompt integration: Slack context injected when available

Fixes: channel resolution using ListMyChannels (excludes DMs) instead of
ListChannels to avoid pagination exhaustion on large workspaces.
@qasim-nylas qasim-nylas merged commit c9d6cfa into main Feb 14, 2026
6 checks passed
@qasim-nylas qasim-nylas deleted the nylas-chat-i002 branch February 14, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant