AutomationFlowsSlack & Telegram › Loop

Loop

03-loop. Uses httpRequest, slack. Event-driven trigger; 7 nodes.

Event trigger★★★★☆ complexity7 nodesHTTP RequestSlack
Slack & Telegram Trigger: Event Nodes: 7 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Slack recipe pattern — see all workflows that pair these two integrations.

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
{
  "name": "03-loop",
  "nodes": [
    {
      "id": "00000000-0000-4000-8000-000000000000",
      "name": "Manual trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        300
      ],
      "parameters": {}
    },
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Fetch the list of new leads via HTTP",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.4,
      "position": [
        300,
        300
      ],
      "parameters": {
        "method": "GET",
        "url": "TODO: set request URL (from Relay prompt)",
        "options": {}
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000002",
      "name": "For each lead",
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        600,
        300
      ],
      "parameters": {
        "options": {}
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000003",
      "name": "Send a Slack message about the lead",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.5,
      "position": [
        900,
        500
      ],
      "parameters": {
        "resource": "message",
        "operation": "post",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "TODO: set channel (from Relay prompt)"
        },
        "text": "TODO: set message text (from Relay prompt)",
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000004",
      "name": "Update the lead via HTTP",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.4,
      "position": [
        1200,
        500
      ],
      "parameters": {
        "method": "GET",
        "url": "TODO: set request URL (from Relay prompt)",
        "options": {}
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000005",
      "name": "Post a summary to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.5,
      "position": [
        1500,
        300
      ],
      "parameters": {
        "resource": "message",
        "operation": "post",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "TODO: set channel (from Relay prompt)"
        },
        "text": "TODO: set message text (from Relay prompt)",
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "00000000-0000-4000-8000-000000000006",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -160
      ],
      "parameters": {
        "content": "## \u26a0 Secrets and credentials\n\nEvery credential must be re-entered by hand in n8n. No automation possible.",
        "height": 160,
        "width": 280,
        "color": 1
      }
    }
  ],
  "connections": {
    "Manual trigger": {
      "main": [
        [
          {
            "node": "Fetch the list of new leads via HTTP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "For each lead": {
      "main": [
        [
          {
            "node": "Post a summary to Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send a Slack message about the lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a Slack message about the lead": {
      "main": [
        [
          {
            "node": "Update the lead via HTTP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update the lead via HTTP": {
      "main": [
        [
          {
            "node": "For each lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch the list of new leads via HTTP": {
      "main": [
        [
          {
            "node": "For each lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

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

03-loop. Uses httpRequest, slack. Event-driven trigger; 7 nodes.

Source: https://github.com/syedahmad0786/relay2n8n/blob/main/fixtures/03-loop/expected.n8n.json — 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

This workflow collects a blog brief via an n8n form, uses Anthropic Claude to generate an outline and write each section, saves both outline and article as formatted Google Docs in Google Drive, then

Form Trigger, Google Sheets, HTTP Request +2
Slack & Telegram

This workflow runs a SEEK.com.au job search via Apify on a daily schedule or on-demand form submission, deduplicates new listings, and routes results to Google Sheets, Airtable, a webhook endpoint, an

HTTP Request, Google Sheets, Airtable +5
Slack & Telegram

Vendorbot Form Filler. Uses executeCommand, gmail, telegram, slack. Event-driven trigger; 39 nodes.

Execute Command, Gmail, Telegram +6