{
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:56.177341",
    "updatedAt": "2025-09-29T07:07:56.177354",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "0f5aae97-3819-4704-ada2-abbcf14cea5f",
      "name": "AI Agent",
      "type": "n8n-nodes-base.noOp",
      "position": [
        20,
        380
      ],
      "parameters": {
        "text": "=Respond to this as a helpful assistant with emojis:  {{ $json.message.text }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.8,
      "notes": "This agent node performs automated tasks as part of the workflow."
    },
    {
      "id": "9f828f62-b587-43be-a47f-b2500e36bd9c",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -220,
        380
      ],
      "webhookId": "9bf61652-efa6-47b0-9f52-e0c3362d93e5",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "typeVersion": 1.1,
      "notes": "This telegramTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "abb92991-faee-4678-9038-7555f694acb1",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        380,
        380
      ],
      "webhookId": "5babdcad-dabe-4c8e-8f84-6957e9f1aa15",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "additionalFields": {}
      },
      "typeVersion": 1.2,
      "notes": "This telegram node performs automated tasks as part of the workflow."
    },
    {
      "id": "b20244ba-e15d-4f7f-939f-1c9d8474743a",
      "name": "OpenAI Chat Model",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -80,
        600
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2,
      "notes": "This lmChatOpenAi node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-f99c9be0",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "pinData": {},
  "connections": {
    "9f828f62-b587-43be-a47f-b2500e36bd9c": {
      "main": [
        [
          {
            "node": "error-handler-9f828f62-b587-43be-a47f-b2500e36bd9c-9c598426",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "abb92991-faee-4678-9038-7555f694acb1": {
      "main": [
        [
          {
            "node": "error-handler-abb92991-faee-4678-9038-7555f694acb1-f205c2a7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b20244ba-e15d-4f7f-939f-1c9d8474743a": {
      "main": [
        [
          {
            "node": "error-handler-b20244ba-e15d-4f7f-939f-1c9d8474743a-936a1e66",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "name": "Agent Workflow",
  "description": "Automated workflow: Agent Workflow. This workflow processes data and performs automated tasks.",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Agent Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}