This is a Jitsu.Classic documentation. For the lastest version, please visit docs.jitsu.com. Read about differences here.
Slack
Overview
The Slack Connector pulls the following data via Slack App (Slack bot) from Slack API : Channels, Channel Members, Users, Threads (Channel replies), User Groups, Files, Remote FilesThis source is using singer-tap-slack
tab. Learn more how Singer-based sources work
How to connect
- Go to the creating Slack Apps page
- Choose clear app name (e.g. "Jitsu Sync") and select Slack workspace to download data from
- Go to the "OAuth & Permissions" page of created Slack app
- Add the following Bot Token Scopes: channels:history, channels:join, channels:read, files:read, groups:read, reactions:read, remote_files:read, team:read, usergroups:read, users.profile:read, users:read, users:read.email
- Click "Install to Workspace" in the top of of the OAuth & Permissions page and click "Confirm"
- Save Bot User OAuth Token. It is used as Access Token in Jitsu UI
Connection Parameters
Parameter | Documentation |
---|---|
config.token *string (required) | You can obtain a token for a single workspace by creating a new Slack App in your workspace and assigning it the relevant scopes. As of right now, the minimum required scopes for this App are: channels:history, channels:join, channels:read, files:read, groups:read, reactions:read, remote_files:read, team:read, usergroups:read, users.profile:read, users:read, users:read.email |
config.start_date *isoUtcDate (required; default: 2021-01-01T00:00:00.000Z ) | |
config.exclude_archived boolean (not required) | |
config.join_public_channels boolean (not required) | |
config.private_channels boolean (not required) |