{
  "name": "Create debug breakpoints and logs with Slack interactive messages",
  "nodes": [
    {
      "id": "eee9f55d-ab30-43b8-978b-865cc119f36e",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1180,
        -380
      ]
    },
    {
      "id": "ab85c1d8-19d2-4b27-8de7-98cf44b2515f",
      "name": "Breakpoint",
      "type": "n8n-nodes-base.slack",
      "position": [
        -260,
        -300
      ]
    },
    {
      "id": "669dbd64-bb46-4c14-a32d-98addb8e855b",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        0,
        -80
      ]
    },
    {
      "id": "a612f161-5c67-4472-beca-c28656be5253",
      "name": "No Operation, do nothing1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        60,
        -400
      ]
    },
    {
      "id": "f20ab72a-1514-42e9-9433-128f199a62fe",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -700,
        -380
      ]
    },
    {
      "id": "ed5ad713-1e17-4ca3-a52d-da090b12fbc4",
      "name": "10 Random Data Items",
      "type": "n8n-nodes-base.debugHelper",
      "position": [
        -920,
        -380
      ]
    },
    {
      "id": "fb5bcccd-4c88-45e4-9b8f-72418ef2f3f6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -660
      ],
      "parameters": {
        "width": 1480,
        "height": null,
        "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 persona"
      }
    },
    {
      "id": "9a428e72-6132-4da0-9195-7951e8c7caa1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -460
      ],
      "parameters": {
        "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"
      }
    },
    {
      "id": "38e36175-f9d9-47a6-8e94-47cba3abfd28",
      "name": "If Loop is 4",
      "type": "n8n-nodes-base.if",
      "position": [
        -520,
        -280
      ]
    }
  ],
  "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 ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "10 Random Data Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}