Kaholo plugin for integration with Slack API.
How To Use
In order for this plugin to work properly you need to create a slack app, install it on your workspace and get the Oauth token from the app. It can be either the Bot or User token of the app. The full list of scopes of permissions the app will need is:
- channels:read
- channels:write
- chat:write
- groups:read
- im:read
- mpim:read
- usergroups:read
- usergroups:write
- users:read
Settings
- Access Token (Vault) Required if not in action – Default Slack access token to use for authentication if no other token was provided.
Method: Send Message To Channel
Send a message in the specified channel.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
- Channel (Autocomplete) Required – Send the message to this channel. Learn More
- Text (text) Required – Message content. Learn More
Method: Send Message To User
Send a message to specified user.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
- User (Autocomplete) Required – Send the message to this user. Learn More
- Text (text) Required – Message content. Learn More
Method: Send Incoming Webhook
Send a message to the specified incoming Webhook (No access token required)
Parameters
- Webhook URL (Vault) Required – The URL of the webhook to send the message. Learn More
- Message (String) Required – The message to send. Can either be normal text, or you can pass an object from code. Learn More
Method: Create User Group
Create a new user group
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
- Name (String) Required – Name for the created user group. Learn More
Method: Add Users To User Group
Add the specified users to the user group.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
- Group (Autocomplete) Required – Add the user to the specified group. Learn More
- Users (Autocomplete) Required – The user(s) to add to the group. Can enter multiple values by passing an array of user IDs from code. Learn More
Method: List Channels
List all channels the user has access to in the current workspace.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
Method: List Groups
List all user groups in the current workspace.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More
Method: List Users
List all users in the current workspace.
Parameters
- Access Token (Vault) Required if not in settings – Access token to authenticate. Learn More