Slack: Get Slack Id By Questetra Account User
Retrieves the ID from the Slack user profile. The user profile is identified using the Questetra account email address as the key. You can post a message with mentions using your ID.
Download
2022-03-14 (C) Questetra, Inc. (MIT License)
https://support.questetra.com/bpmn-icons/slack-get-id/
The Add-on import feature is available with Professional edition.
Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.
Notes
- Gets an ID from the user profile on Slack, the business communication tool
- You can use the retrieved ID when posting a mentioned message to Slack
- Example of specifying a mention: “<@XXXXXXXX>” (“XXXXXXXX” should be the ID)
- You need to create a “Slack app” in advance
- For creating a new app click Create New App in [Settings & administration] > [Manage apps] > [Build]
- Setting example
- (Wizard)
- App Name: BPMS Notification
- Pick a workspace to develop your app in: (Select your workspace)
- Basic Information
- Make a note of the “Client ID” and “Client Secret” in App Credentials
- (These will be used HTTP Authorization Setting in Questetra)
- OAuth & Permissions
- Bot Token Scopes: Add “users:read”, “users:read.email”
- Redirect URLs: Add “https://s.questetra.net/oauth2callback”
- (Wizard)
Capture


Appendix
- For detailed specifications of Slack, refer to the Slack documentation
- Token Types
- Scopes and permissions
- API Methods
