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 nodenodeName
Slash CommandSlack command that triggers this flowcommand
CredentialsSlack authentication detailscredentials
ChannelTarget Slack channel (List/ID/Name)channelName
Immediate ResponseResponse shown while flow runsimmediateResponseData

Action: Send Message

ParameterDescriptionRequiredConfig Key
NameDisplay name for the nodenodeName
CredentialsSlack authentication detailscredentials
ActionSlack action to executeaction
ChannelTarget Slack channelchannelName
TextMessage contenttext

Low-Code Examples

// Event Trigger Configuration
triggerNode:
  nodeId: triggerNode_1
  nodeType: slackNode
  nodeName: Slack Trigger
  values:
    command: ask
    credentials: New Slack Test
    channelName: C07SZ5BR1E1
    immediateResponseData: 'Fetch your answer about: {{triggerNode_1.output.user_name}}'
 
// Action Configuration
nodes:
  - nodeId: slackNode_122
    nodeType: slackNode
    nodeName: Slack
    values:
      credentials: 'cred'
      action: 'postMessage'
      channelName: '{ your-slack-channel }'
      text: '{your-slack-message}'
    needs:
      - triggerNode_1

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