{
  "openruna_format": "flow-graph-v1",
  "title": "0771_HTTP_Telegram_Create_Webhook",
  "slug": "0771-http-telegram-create-webhook",
  "source_filename": "0771_HTTP_Telegram_Create_Webhook.json",
  "nodes": [
    {
      "id": "Receive Telegram Messages",
      "name": "Receive Telegram Messages",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Voice or Text?",
      "name": "Voice or Text?",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Fetch Voice Message",
      "name": "Fetch Voice Message",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Transcribe Voice to Text",
      "name": "Transcribe Voice to Text",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Prepare for LLM",
      "name": "Prepare for LLM",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "SerpAPI",
      "name": "SerpAPI",
      "integration": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "kind": "action"
    },
    {
      "id": "Structured Output Parser",
      "name": "Structured Output Parser",
      "integration": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "kind": "action"
    },
    {
      "id": "Extract from File",
      "name": "Extract from File",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Prepare Final Output",
      "name": "Prepare Final Output",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Generate Image",
      "name": "Generate Image",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "AI Agent",
      "to": "Generate Image"
    },
    {
      "from": "Generate Image",
      "to": "Extract from File"
    },
    {
      "from": "Voice or Text?",
      "to": "Fetch Voice Message"
    },
    {
      "from": "Voice or Text?",
      "to": "Prepare for LLM"
    },
    {
      "from": "Prepare for LLM",
      "to": "AI Agent"
    },
    {
      "from": "Extract from File",
      "to": "Prepare Final Output"
    },
    {
      "from": "Fetch Voice Message",
      "to": "Transcribe Voice to Text"
    },
    {
      "from": "Transcribe Voice to Text",
      "to": "AI Agent"
    },
    {
      "from": "Receive Telegram Messages",
      "to": "Voice or Text?"
    }
  ]
}