Slack Send Message Tool

The Slack Send Message Toolhelps your agents to send automated notifications, alerts, or data summaries directly to a Slack channel. This tool is essential for workflows that require real-time team collaboration or status updates triggered by agentic logic.

Before you begin

Prior to configuring the tool in HCL UnO Agentic AI Builder, ensure you have completed the following in your Slack environment:

  • Access Requirements: You must have administrative or app-installation permissions for your target Slack Workspace.

  • Create a Slack App: Navigate to the Slack API Portal, create a new app, and navigate to OAuth & Permissions.

  • Configure Scopes: Add the following Bot Token Scopes:

    • chat:write: Required to allow the agent to send messages.

    • chat:write.public: (Optional) Allows the agent to post in any public channel without being manually invited.

  • Install App: Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-).

  • Channel Membership: If not using chat:write.public, you must manually invite the bot to your private channels by typing /invite @[BotName] in Slack.

Note: Before configuring this tool, ensure you have added your API key in the Credentials section of the library.
Field Description
*Indicates mandatory field
Name* A unique, user-defined name for this tool instance (for example, slack_notification_service). This identifier is used by the agent's logic to call the tool.
Description* A short explanation describing the role or purpose of this tool instance. This helps clarify what kind of information the agent should post (for example, Use this tool to post incident reports to the #ops-alerts channel).
Credentials to connect with* Select a pre-configured Slack credential from the Credential Library. If none exist, click Create + to add your xoxb- token.
Note: Refer to the Adding a Credential section for steps to configure this.