Transitioning messages from Slack to Zoho.
-
Create an app
-
Under
Features
go toOAuth & Permissions
-
Add following permissions to
User Token Scopes
channels:history
channels:read
groups:history
groups:read
im:history
im:read
mpim:history
mpim:read
users:read
-
Install the app to workspace
-
Copy the
User OAuth Token
which is something likexoxs-123...
-
Test the token with following command
curl -X POST -H 'Authorization: Bearer xoxp-123..' -H 'Content-type: application/json;charset=utf-8' https://slack.com/api/auth.test
python3 slack/slack_export.py --token xoxp-123... --publicChannels 20-30
- publicChannels: Export the given Public Channels
- groups: Export the given Private Channels / Group DMs
- directMessages: Export 1:1 DMs with the given users
A directory named date-token
containing concat.json
in each sub-directory
A file named users.json
- Go to https://api-console.zoho.eu/
- Create a
Server-based Application
- set both
Homepage URL
andAuthorized Redirect URIs
to https://example.com - Complete config.yaml file
- Put
users.json
andconcat.json
in zoho directory