AutomationFlowsSlack & Telegram › Create Debug Breakpoints and Logs with Slack Interactive Messages

Create Debug Breakpoints and Logs with Slack Interactive Messages

ByWyeth @wyeth on n8n.io

How it Works: You can now use the Slack node to create conditional breakpoints! This example shows the loop stop on 4 (of 10) and then you can hit "continue" in Slack when you are ready.

Event trigger★★★★☆ complexity9 nodesSlackDebug Helper
Slack & Telegram Trigger: Event Nodes: 9 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #5490 — we link there as the canonical source.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "hLfk0dRqKZU6LPUA",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "n8n_debug",
  "tags": [],
  "nodes": [
    {
      "id": "eee9f55d-ab30-43b8-978b-865cc119f36e",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1180,
        -380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ab85c1d8-19d2-4b27-8de7-98cf44b2515f",
      "name": "Breakpoint",
      "type": "n8n-nodes-base.slack",
      "position": [
        -260,
        -300
      ],
      "parameters": {
        "select": "channel",
        "message": "Execution halted.. Continue?",
        "options": {
          "limitWaitTime": {
            "values": {
              "resumeUnit": "minutes",
              "resumeAmount": 3
            }
          }
        },
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08ALJ7JM1S",
          "cachedResultName": "n8n_errors"
        },
        "operation": "sendAndWait",
        "authentication": "oAuth2",
        "approvalOptions": {
          "values": {
            "approveLabel": "Continue?"
          }
        }
      },
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "669dbd64-bb46-4c14-a32d-98addb8e855b",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        0,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a612f161-5c67-4472-beca-c28656be5253",
      "name": "No Operation, do nothing1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        60,
        -400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f20ab72a-1514-42e9-9433-128f199a62fe",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -700,
        -380
      ],
      "parameters": {
        "options": {
          "reset": false
        }
      },
      "typeVersion": 3
    },
    {
      "id": "ed5ad713-1e17-4ca3-a52d-da090b12fbc4",
      "name": "10 Random Data Items",
      "type": "n8n-nodes-base.debugHelper",
      "position": [
        -920,
        -380
      ],
      "parameters": {
        "category": "randomData",
        "randomDataType": "email"
      },
      "typeVersion": 1
    },
    {
      "id": "fb5bcccd-4c88-45e4-9b8f-72418ef2f3f6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -660
      ],
      "parameters": {
        "color": 5,
        "width": 1480,
        "content": "## Use Slack for Debug Breakpoints!\nIf you are frustrated with n8n's lack of effective tools for debug print and debug breakpoints, look no further than using the Slack node:\n- Log to your own personal channel in slack\n- Slack volume is free (with company slack account)\n- Slack node now supports interactive prompts, which can be used to create conditional breakpoints"
      },
      "typeVersion": 1
    },
    {
      "id": "9a428e72-6132-4da0-9195-7951e8c7caa1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -460
      ],
      "parameters": {
        "color": 7,
        "width": 340,
        "height": 320,
        "content": "This will message a user or channel and wait to continue. For teams, I suggest you use a var set per-user and your own personal channel.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "38e36175-f9d9-47a6-8e94-47cba3abfd28",
      "name": "If Loop is 4",
      "type": "n8n-nodes-base.if",
      "position": [
        -520,
        -280
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "5db6bf4f-1c31-45de-bab6-63367027889c",
              "operator": {
                "type": "number",
                "operation": "equals"
              },
              "leftValue": "={{ $runIndex }}",
              "rightValue": 4
            }
          ]
        }
      },
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0ce2012e-6988-4b17-903a-c9be291d2358",
  "connections": {
    "Breakpoint": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Loop is 4": {
      "main": [
        [
          {
            "node": "Breakpoint",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "No Operation, do nothing1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If Loop is 4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10 Random Data Items": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No Operation, do nothing": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "10 Random Data Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

How it Works: You can now use the Slack node to create conditional breakpoints! This example shows the loop stop on 4 (of 10) and then you can hit "continue" in Slack when you are ready.

Source: https://n8n.io/workflows/5490/ — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Webhook Slack. Uses theHiveProjectTrigger, stickyNote, httpRequest, theHiveProject. Event-driven trigger; 63 nodes.

The Hive Project Trigger, HTTP Request, The Hive Project +1
Slack & Telegram

Key Features: Direct Case Management: Modify case details such as assignee, severity, status, and more through intuitive form inputs embedded within Slack messages. Seamless Integration: Assumes match

The Hive Project Trigger, HTTP Request, The Hive Project +1
Slack & Telegram

Transform your lead list into an AI-powered calling machine. This workflow automates your entire cold calling process using Vapi's conversational AI to initiate calls, qualify leads, capture detailed

Google Sheets, HTTP Request, Slack
Slack & Telegram

Type in Slack. Walk away. Get a professional PDF report and a structured Excel fix sheet delivered to Google Drive and posted back in your Slack thread — fully automated, zero manual work.

Compression, HTTP Request, Google Drive +3
Slack & Telegram

This workflow automates the full company enrichment pipeline: Simply import CSV company lists to Slack and save time on enrichment and CRM maintenance. It processes uploaded files, extracts company do

Slack Trigger, Slack, HTTP Request +3