{
  "name": "YouTube video summarizer with Gemini AI to WhatsApp, Telegram & Google Sheets",
  "nodes": [
    {
      "id": "b804c11e-c49b-45c5-b977-30e674ce58f1",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -144,
        0
      ]
    },
    {
      "id": "0b9cb287-0b77-44dc-9fab-40e72d150624",
      "name": "Message a model",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        192,
        0
      ]
    },
    {
      "id": "1c557373-5268-4cea-945a-8c295c9aa1d5",
      "name": "Update transcript into Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        688,
        0
      ]
    },
    {
      "id": "cb5207e0-a349-4f43-9c59-d78cc80d5cd0",
      "name": "Send message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        688,
        -160
      ]
    },
    {
      "id": "82cb80c5-bde9-44f3-8224-92f1f22df70d",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -144,
        -144
      ]
    },
    {
      "id": "b7c9f43e-dfdb-4a94-940a-e69cfb16df47",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -144,
        160
      ]
    },
    {
      "id": "38dbd639-a631-41fe-a001-6a3898a06101",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        688,
        176
      ]
    },
    {
      "id": "56b12f76-1524-4078-ad6d-222c3eea6ec8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -144
      ],
      "parameters": {
        "width": 432,
        "height": 432,
        "content": "### This workflow can be started in three ways (triggers):\n\n- **WhatsApp Trigger:** The workflow starts automatically when a specific WhatsApp message is received, allowing users to request a summary "
      }
    },
    {
      "id": "3561ea8d-176c-440f-bf0f-559b13069ed9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -160
      ],
      "parameters": {
        "width": 384,
        "height": 432,
        "content": "### The workflow can send results to three main output nodes (end points):\n\n- **WhatsApp Message:** The workflow sends the result (summary or transcript) back as a WhatsApp message—ideal for immediate"
      }
    },
    {
      "id": "bcd694e8-8077-4e7c-a08b-faa21ce2d29a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -608
      ],
      "parameters": {
        "width": 416,
        "height": 736,
        "content": "\n## Purpose: Uses Google Gemini (also PaLM API) for AI processing.\n\nKey Parameters:\n\n- **Model ID:** models/gemini-2.0-flash\n\n- Prompt/Instructions:\n\n- The node instructs Gemini to operate as a YouTub"
      }
    },
    {
      "id": "6cd09189-6aa0-4907-abb1-cfa1d94d7a4c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        224
      ],
      "parameters": {
        "width": 512,
        "height": 256,
        "content": "# Note:\n## The Whatsapp and telegram nodes are deactivated; you can activate them by selecting and pressing D on the keyboard. After that, write down your credentials and you are good to go."
      }
    }
  ],
  "connections": {
    "Message a model": {
      "main": [
        [
          {
            "node": "Update transcript into Sheet",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WhatsApp Trigger": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}