Docs
Slack

Slack Node Documentation

The Slack node in Lamatic.ai enables seamless integration with Slack workspaces. It supports event triggering based on Slack commands and message sending capabilities, making it ideal for automating communication workflows and implementing AI-powered responses within Slack channels.


Features

βœ… Key Functionalities

  • Command Triggers: Responds to specific Slack commands (e.g., /ask)
  • Message Actions: Sends messages to Slack channels
  • RAG Integration: Supports question-answering using RAG approach

βœ… Benefits

  • Automates Slack communications
  • Enables AI-powered responses
  • Streamlines internal processes

Available Functionality

Event Trigger

βœ… When a /ask command is used ❌ When a user messages to the bot ❌ When user replies to a thread created by bot

Actions

βœ… Send message in a channel ❌ Send message to a person ❌ Send message in a thread


Prerequisites

Before setting up the Slack node, ensure you have:

  • Access to Slack workspace administration
  • Necessary permissions to install apps
  • Lamatic application added to your Slack workspace

Installation

  1. Drag node to the workflow
  2. Click on Add new Credentials
  3. Follow the Install Steps
  4. Once added choose the new credentials

Configuration Reference

Event Trigger: /ask Command

ParameterDescriptionRequiredConfig Key
NameDisplay name for the nodeβœ…nodeName
Slash CommandSlack command that triggers this flowβœ…command
CredentialsSlack authentication detailsβœ…credentials
ChannelTarget Slack channel (List/ID/Name)βœ…channelName
Immediate ResponseResponse shown while flow runsβœ…immediateResponseData

Action: Send Message

ParameterDescriptionRequiredConfig Key
NameDisplay name for the nodeβœ…nodeName
CredentialsSlack authentication detailsβœ…credentials
ActionSlack action to executeβœ…action
ChannelTarget Slack channelβœ…channelName
TextMessage contentβœ…text

Low-Code Examples

// Event Trigger Configuration
{
  "triggerNode": {
    "nodeId": "slackNode_2",
    "nodeType": "slackNode",
    "nodeName": "Slack",
    "values": {
      "command": "ask",
      "channelName": "{your-slack-channel}",
      "credentials": "{your-slack-credentials}",
      "immediateResponseData": "Fetching your answer about {{slackNode_2.output.text}}"
    }
  }
}
 
// Action Configuration
{
  "nodeId": "slackNode_p4j9hxlq88",
  "nodeType": "slackNode",
  "nodeName": "Slack Confirmation",
  "values": {
    "text": "{your-slack-message}",
    "action": "postMessage",
    "channelName": "{ your-slack-channel }",
    "credentials": "{ your-slack-credentials }"
  },
  "needs": [
    "IndexNode_b30vktaxjz"
  ]
}

Troubleshooting

Common Issues

ProblemSolution
Connection FailedVerify Slack credentials and workspace access
Command Not WorkingCheck slash command configuration and permissions
Message Not SendingConfirm channel access and bot permissions
App InstallationEnsure Lamatic app is properly installed in workspace

Debugging Tips

  • Check Lamatic Flow logs for error details
  • Verify Slack workspace permissions
  • Test channel accessibility
  • Confirm command configurations

Was this page useful?

Questions? We're here to help

Subscribe to updates