Skip to content

feat(slack): add Slack connector#77

Draft
volod-vana wants to merge 4 commits into
mainfrom
feat/slack-connector
Draft

feat(slack): add Slack connector#77
volod-vana wants to merge 4 commits into
mainfrom
feat/slack-connector

Conversation

@volod-vana
Copy link
Copy Markdown
Member

Adds a Playwright connector for Slack.

Scopes: slack.profile, slack.conversations (channels + DMs index), slack.messages (bodies + thread replies).

How it works:

  • Reads the xoxc token from app.slack.com localStorage.
  • Runs all API calls in-page from the slack.com origin to bypass the app.slack.com service worker (which breaks in-page fetch); the browser supplies the d cookie natively.
  • Auto-skips archived, muted, and non-member channels (no UI for an ignore list).
  • Optional oldestDays input limits history depth.

Tested locally end-to-end in DataConnect: 392 conversations / 99,247 messages / 16,345 threads, 0 errors (~1h43m, Slack rate-limited).

Status: experimental.

Exports slack.profile, slack.conversations, and slack.messages from the
active Slack workspace. Token is read from app.slack.com localStorage;
API calls run in-page from the slack.com origin to bypass the app.slack.com
service worker. Auto-skips archived, muted, and non-member channels.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

Schema Health Check — Non-blocking inherited issues

44/50 scopes consistent | 6 inherited Gateway gap(s) | no new blocking issues in this PR

- artifacts/slack-playwright/slack-playwright-0.1.0.tgz: new bundle
- connector-index.json: append slack-playwright entry, refresh
  sourceTag / sourceCommit / artifactUrl on all entries to this branch's
  HEAD (standard regen side-effect)

The 16 other byte-different artifacts are gtar-version artifacts from
running scripts/generate-connector-index.mjs on macOS (BSD tar lacks
--sort=name; gtar via PATH shim). Functionally identical to main's
artifacts — same bundle contents, different gzip framing.
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