Importing Slack Users ID to SN & Map it to User Record based on email - Part 1 - Generating Slack Token
Below are steps you need to take to import users from slack and store user's slack id on user record.
Getting Slack Token:
1. Login to your slack workspace as admin
2. Go to https://api.slack.com/apps and click on Create New App
3. Enter App Name and select your slack workspace
4. Click on Permissions
5. Add Redirect URLs and hit add than click on save urls.
6. Add users:read scope and hit save changes.
7. Click on Install App and click on Install App to Workspace
8. Once you are on below screen click Authorize
10. Copy oAuth Access Token and store it somewhere. Part 2 - https://community.servicenow.com/community?id=community%5Fblog&sys%5Fid=92e0c69edba5f344f7fca851ca961949
https://www.servicenow.com/community/developer-blog/importing-slack-users-id-to-sn-map-it-to-user-record-based-on/ba-p/2274797