{
  "openruna_format": "flow-graph-v1",
  "title": "Summarize YouTube Videos & Chat About Content with GPT-4o-mini via Telegram",
  "slug": "summarize-youtube-videos-chat-about-content-with-gpt-4o-mini-via-telegram",
  "source_filename": "1533_Telegram_Splitout_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Split Transcript into Segments",
      "name": "Split Transcript into Segments",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Extract YouTube URL from Input",
      "name": "Extract YouTube URL from Input",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Extract Video ID from URL",
      "name": "Extract Video ID from URL",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "gpt-4o-mini",
      "name": "gpt-4o-mini",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Generate Summary with GPT-4o-mini",
      "name": "Generate Summary with GPT-4o-mini",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Concatenate Transcript Segments",
      "name": "Concatenate Transcript Segments",
      "integration": "summarize",
      "kind": "action"
    },
    {
      "id": "Trigger on Telegram Message",
      "name": "Trigger on Telegram Message",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "Extract YouTube Transcript",
      "name": "Extract YouTube Transcript",
      "integration": "n8n-nodes-youtube-transcription-kasha.youtubeTranscripter",
      "kind": "action"
    },
    {
      "id": "Send Summary via Telegram",
      "name": "Send Summary via Telegram",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "Receive YouTube URL via Webhook",
      "name": "Receive YouTube URL via Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Send Response to Webhook",
      "name": "Send Response to Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Telegram Trigger",
      "name": "Telegram Trigger",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Retrieve Transcript from Google Docs",
      "name": "Retrieve Transcript from Google Docs",
      "integration": "googleDocs",
      "kind": "action"
    },
    {
      "id": "Update Transcript in Google Docs",
      "name": "Update Transcript in Google Docs",
      "integration": "googleDocs",
      "kind": "action"
    },
    {
      "id": "Handle User Questions via AI",
      "name": "Handle User Questions via AI",
      "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": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Google Docs2",
      "name": "Google Docs2",
      "integration": "googleDocsTool",
      "kind": "action"
    },
    {
      "id": "Send AI Response via Telegram",
      "name": "Send AI Response via Telegram",
      "integration": "telegram",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Telegram Trigger",
      "to": "Handle User Questions via AI"
    },
    {
      "from": "Extract Video ID from URL",
      "to": "Extract YouTube Transcript"
    },
    {
      "from": "Send Summary via Telegram",
      "to": "Send Response to Webhook"
    },
    {
      "from": "Extract YouTube Transcript",
      "to": "Split Transcript into Segments"
    },
    {
      "from": "Trigger on Telegram Message",
      "to": "Extract YouTube URL from Input"
    },
    {
      "from": "Handle User Questions via AI",
      "to": "Send AI Response via Telegram"
    },
    {
      "from": "Extract YouTube URL from Input",
      "to": "Extract Video ID from URL"
    },
    {
      "from": "Split Transcript into Segments",
      "to": "Concatenate Transcript Segments"
    },
    {
      "from": "Concatenate Transcript Segments",
      "to": "Generate Summary with GPT-4o-mini"
    },
    {
      "from": "Concatenate Transcript Segments",
      "to": "Retrieve Transcript from Google Docs"
    },
    {
      "from": "Receive YouTube URL via Webhook",
      "to": "Extract YouTube URL from Input"
    },
    {
      "from": "Generate Summary with GPT-4o-mini",
      "to": "Send Summary via Telegram"
    },
    {
      "from": "Retrieve Transcript from Google Docs",
      "to": "Update Transcript in Google Docs"
    }
  ]
}