Available translations

Slack Bot

social-bots.png
slack-bot.png
The Slack Bot node is used for defining the configuration for a Slack Bot. This bot allows Superalgos to send announcements to a Slack channel or Direct Message. Use the Getting Started guide in the Slack API Documentation for more details.
In order to use the Slack Bot, follow the Slack API documentation to create a new app. Edit the App Manifest and add chat:write to the oauth_config > scopes > bot section.
Parameters:
- token - required - Get this from the Oauth & Permissions menu in the Slack app configuration page.
- conversationId - required - the #channel or Conversation ID obtained from Slack
- format - optional - allows custom formatting of the message being sent into Discord.
Recognized Format Variables:
- `%{EXCHANGE}` the exchange which is operating, i.e. Binance
- `%{MARKET}` the market which is operating. i.e. BTC/USDT
- `%{MESSAGE}` the text being sent
An example format is:
 "%{EXCHANGE} %{MARKET}: %{MESSAGE}"
Which results in a final message in Slack that looks like:
 "Binance BTC/USDT: Backtesting Session 'Lightning Strike' is starting."
Initial Values
These are the Initial Values for Slack Bot configuration:
 {
    "token": "BotUserOauthToken",
    "conversationId": "#channelOrDmId"
}
Examples
This is a list of properties featured by the Slack Bot configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Slack Bot Menu
The Slack Bot node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • actionFunction: uiObject.configEditor.activate
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
  • actionProject: Foundations
The Send Slack Test Message menu item has the following properties:
  • action: Send Slack Test Message
  • label: Send Slack Test Message
  • iconPathOn: test-entity
  • iconPathOff: test-entity
  • actionFunction: payload.executeAction
  • actionProject: Social-Bots
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Slack Bot Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Slack Bot with other nodes:
Compatible Types: