{
  "openruna_format": "flow-graph-v1",
  "title": "Telegram AI multi-format chatbot",
  "slug": "telegram-ai-multi-format-chatbot",
  "source_filename": "1485_Telegram_Stickynote_Automate_Triggered.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": "Correct errors",
      "name": "Correct errors",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Listen for incoming events",
      "name": "Listen for incoming events",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Download voice file",
      "name": "Download voice file",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Combine content and set properties",
      "name": "Combine content and set properties",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Send final reply",
      "name": "Send final reply",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Send error message",
      "name": "Send error message",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Convert audio to text",
      "name": "Convert audio to text",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Send Typing action",
      "name": "Send Typing action",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Determine content type",
      "name": "Determine content type",
      "integration": "switch",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "AI Agent",
      "to": "Send final reply"
    },
    {
      "from": "Send final reply",
      "to": "Correct errors"
    },
    {
      "from": "Download voice file",
      "to": "Convert audio to text"
    },
    {
      "from": "Convert audio to text",
      "to": "Combine content and set properties"
    },
    {
      "from": "Determine content type",
      "to": "Combine content and set properties"
    },
    {
      "from": "Determine content type",
      "to": "Download voice file"
    },
    {
      "from": "Determine content type",
      "to": "Send error message"
    },
    {
      "from": "Listen for incoming events",
      "to": "Determine content type"
    },
    {
      "from": "Listen for incoming events",
      "to": "Send Typing action"
    },
    {
      "from": "Combine content and set properties",
      "to": "AI Agent"
    }
  ]
}