Slack Workflow

Automated workflow: Slack Workflow. This workflow integrates 13 different services: webhook, stickyNote, httpRequest, code, merge. It contains 54 nodes and follows best practices for error handling and security.

Workflow Structure (30 nodes)
100%
Webhook
Webhook to call for Slack command
Set
Set vars
Set
Set config
Code
Validate webhook signature
If
Validate Slack token
Http Request
Reply to user that command was received
Code
parse command
Switch
Handle other commands
If
if has workflow
Http Request
send help
If
if create thread
Slack
Start thread
Http Request
Send debug url
Http Request
Alert user that thread was created
Slack
Add debug info
Set
Set thread info
Merge
Add thread info
Execute Workflow
Execute target workflow
Http Request
Unknown command
Execute Workflow Trigger
Command workflow trigger
Set
REPLACE ME WITH TRIGGER
If
if has flag
Http Request
Reply to user directly
Postgres
Delete user here for example
Slack
Replying to thread
If
If matches env variable
Slack
Confirm user was deleted
Postgres
Get user here for example
Code
Format data into nice structure
Http Request
Found user
Node Types:
action
http
logic
transform
default
trigger
code
Requires credentials

Prerequisites

Required Credentials (1)

Slack

Used by: Start thread, Add debug info +2 more

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~40 min
Score: 70/100
Custom Code
Conditional Logic
6 Integrations

When to Use This Workflow

Team Notifications

Send automated alerts and updates to your team chat when important events occur.

Never miss critical updates - your team stays informed in real-time.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "nodes": [
    {
      "id": "8e0a3745-348b-42db-82cc-55676c897ad7",
      "name": "Start thread",
      "type": "n8n-nodes-base.slack",
      "position": [
        1260,
        180
      ],
      "parameters": {
        "text": "=๐Ÿงต Got request to `{{ $json.command }}` from @{{$json.user}}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "={{ $json.alerts_channel }}"
        },
        "otherOptions": {
          "link_names": true
...

Workflow Details

Nodes
34
Trigger
Webhook
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Suspicious_login_detection

Automated workflow: Suspiciouslogindetection. This workflow integrates 15 different services: webhook, stickyNote, httpR...

Webhook
Postgres
Http-request
Gmail
43 nodesWebhook

Stickynote Workflow

Automated workflow: Stickynote Workflow. This workflow integrates 12 different services: webhook, stickyNote, httpReques...

Slack
Http-request
Webhook
17 nodesWebhook

Lead Qualification with BatchData

Automated workflow: Lead Qualification with BatchData. This workflow integrates 7 different services: webhook, stickyNot...

Webhook
Http-request
Slack
17 nodesWebhook

AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack

Automated workflow: AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack. This...

Webhook
Schedule
Http-request
Google-sheets
32 nodesWebhook

AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack

Automated workflow: AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack. This...

Webhook
Schedule
Http-request
Google-sheets
32 nodesWebhook

Production Workflow

Production-ready workflow: Production Workflow. This workflow has been optimized for production use with comprehensive e...

Webhook
Mysql
Http-request
Postgres
7 nodesWebhook