Jump to:
About
Use the Slack node to integrate Slack into your workflow. Lamatic has built-in support for a wide range of Slack features On this page, you'll find a list of operations the Slack node supports and links to more resources.
What is this for?
Available Functionality
Available Triggers
✅ When a /ask
command is used
❌ When a user messages to the bot
❌ When user replies to a thread created by bot
Available Response
✅ Send message in a channel
❌ Send message to a person
❌ Send message in a thread
Setup Steps
- Drag / Select the Node as the Trigger node.
- Fill All the required parameters.
- Build the desired Workflow
- Deploy the Project
- Click
Setup
on the workflow editor to get the automatically generated instruction and add it in your application.
Configuration
- Name - Display Name for the Node
- Slack Credentials - Install Lamatic Integration into your Slack workspace
- Trigger / Action - Select the Trigger or Action Type
- Channel - Channel to receive / Send message to Options - From list, By Channel ID, By Channel Name
- Immediate Response - Immediate Response to be sent after sending / command
- Slash Command - Slash Command to be used for trigger
- Text - Message Being Sent as response ( Markdown Style )
LowCode Config
// Explanation of Trigger Section
triggerNode:
nodeId: "Unique identifier for the Slack node that listens for incoming Slack commands."
nodeType: "Type of the node, which is a Slack node in this case."
nodeName: "Name of the node for identification, here it's named Slack Ask."
values:
command: "The Slack command that triggers the workflow, in this case '/ask'."
channelName: "The Slack channel where the command is triggered, represented by 'xyx'."
credentials: "The credentials required for connecting to the Slack API."
immediateResponseData: "A message shown to the user indicating that the query is being processed, using the user's input: '{{slackNode_rgufywcsse.output.text}}'."
// Explanation of Action Section
nodes:
- nodeId: "Unique identifier for the Slack action node that posts the response."
nodeType: "Specifies the type of node, which is a Slack node used for sending a message."
nodeName: "Name of the action node, in this case simply 'Slack'."
values:
text: "The content of the Slack message that will be posted, including dynamic variables:"
Example Workflow Setup
Output
// Trigger
{
"token": "sampleToken123",
"team_id": "T12345678",
"team_domain": "sample-domain",
"channel_id": "C12345678",
"channel_name": "sample-channel",
"user_id": "U12345678",
"user_name": "sample.user",
"command": "/ask",
"text": "what is meditation?",
"api_app_id": "A12345678",
"is_enterprise_install": "false",
"response_url": "https://hooks.slack.sample-url",
"trigger_id": "1234567890123.123456"
}
// Action
{
"ok": true,
"channel": "C12345678",
"ts": "1234567890.123456",
"message": {
"user": "U12345678",
"type": "message",
"ts": "1234567890.123456",
"bot_id": "B12345678",
"app_id": "A12345678",
"text": "*:mag: Question aske...",
"team": "T12345678",
"bot_profile": {},
"blocks": []
},
"warning": "missing_charset",
"response_metadata": {
"warnings": []
}
}
Troubleshooting Common Issues
‣
‣
‣
‣
Built with this
New Template
New Template
Docs Answerbot
Docs Answerbot