{
  "openruna_format": "flow-graph-v1",
  "title": "Telegram AI Langchain bot",
  "slug": "telegram-ai-langchain-bot-2",
  "source_filename": "1808_HTTP_Telegram_Automate_Webhook.json",
  "nodes": [
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Telegram",
      "name": "Telegram",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Correct errors",
      "name": "Correct errors",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Listen for incoming events",
      "name": "Listen for incoming events",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Send back an image",
      "name": "Send back an image",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "add response field",
      "name": "add response field",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Dall-E 3 Tool",
      "name": "Dall-E 3 Tool",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    },
    {
      "id": "Generate image in Dall-E 3",
      "name": "Generate image in Dall-E 3",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "AI Agent",
      "to": "Telegram"
    },
    {
      "from": "Telegram",
      "to": "Correct errors"
    },
    {
      "from": "Send back an image",
      "to": "add response field"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Generate image in Dall-E 3"
    },
    {
      "from": "Generate image in Dall-E 3",
      "to": "Send back an image"
    },
    {
      "from": "Listen for incoming events",
      "to": "AI Agent"
    }
  ]
}