{
  "id": "o8HjmolfMilbaEkk",
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:57.865247",
    "updatedAt": "2025-09-29T07:07:57.865254",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Telegram echo-bot",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "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,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "9f64943e-35a4-4d9f-a77e-ff76cae8bb84",
      "name": "Listen for incoming events",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1040,
        340
      ],
      "webhookId": "322dce18-f93e-4f86-b9b1-3305519b7834",
      "parameters": {
        "updates": [
          "*"
        ],
        "additionalFields": {}
      },
      "typeVersion": 1,
      "notes": "This telegramTrigger node performs automated tasks as part of the workflow."
    },
    {
      "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"
        }
      },
      "typeVersion": 1.1,
      "notes": "This telegram node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-b5d9870a",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "saveDataSuccessExecution": "all",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "versionId": "14d0925e-4b1b-4183-8584-04c9ab715998",
  "connections": {
    "9f64943e-35a4-4d9f-a77e-ff76cae8bb84": {
      "main": [
        [
          {
            "node": "error-handler-9f64943e-35a4-4d9f-a77e-ff76cae8bb84-c8cfd743",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b890d30-f47e-4cf0-9747-ae9eb14cedff": {
      "main": [
        [
          {
            "node": "error-handler-5b890d30-f47e-4cf0-9747-ae9eb14cedff-622d7688",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "description": "Automated workflow: Telegram echo-bot. This workflow integrates 4 different services: telegramTrigger, stickyNote, telegram, stopAndError. It contains 5 nodes and follows best practices for error handling and security.",
  "notes": "Excellent quality workflow: Telegram echo-bot. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}