AutomationFlowsSlack & Telegram › Telegram Echo Bot

Telegram Echo Bot

Telegram Echo Bot. Uses stickyNote, telegramTrigger, telegram. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesTelegram TriggerTelegram
Slack & Telegram Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆

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
{
  "nodes": [
    {
      "id": "5c7c9e78-60d0-4f6a-929a-a4e77f5e0851",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1000,
        120
      ],
      "parameters": {
        "width": 727,
        "height": 391,
        "content": "## This is a workflow for a Telegram-echo bot\n1. Add your Telegram bot credentials for both nodes\n2. Activate the workflow\n3. Send something to the bot (i.e. a message, a forwarded message, sticker, emoji, voice, file, an image...)\n4. Second node will fetch the incoming JSON object, format it and send back\n\n#### This bot is useful for debugging and learning purposes of the Telegram platform"
      },
      "typeVersion": 1
    },
    {
      "id": "9f64943e-35a4-4d9f-a77e-ff76cae8bb84",
      "name": "Listen for incoming events",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1040,
        340
      ],
      "parameters": {
        "updates": [
          "*"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "5b890d30-f47e-4cf0-9747-ae9eb14cedff",
      "name": "Send back the JSON content of the message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1260,
        340
      ],
      "parameters": {
        "text": "=```\n{{ JSON.stringify($json, null, 2) }}\n```",
        "chatId": "={{ $json.message.from.id }}",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.1
    }
  ],
  "connections": {
    "Listen for incoming events": {
      "main": [
        [
          {
            "node": "Send back the JSON content of the message",
            "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.

About this workflow

Telegram Echo Bot. Uses stickyNote, telegramTrigger, telegram. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →