
Summarize YouTube Videos with Gemini AI, Google Sheets & WhatsApp/Telegram Automation
Description
Categories
🤖 AI & Machine Learning
Nodes Used
n8n-nodes-base.telegramn8n-nodes-base.whatsAppn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.formTriggern8n-nodes-base.googleSheetsn8n-nodes-base.telegramTriggern8n-nodes-base.whatsAppTrigger
PriceGratis
Views0
Last Updated11/28/2025
workflow.json
{
"id": "EHgalKjspdiaryVb",
"meta": {
"instanceId": "3caab7a077d6a24bf913833250143556c3033c05ff2ea30885e13d0164c0cec2",
"templateCredsSetupCompleted": true
},
"name": "Summarize YouTube Videos with Gemini AI, Google Sheets & WhatsApp/Telegram Automation",
"tags": [],
"nodes": [
{
"id": "b804c11e-c49b-45c5-b977-30e674ce58f1",
"name": "On form submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
-144,
0
],
"webhookId": "c6dd6bc2-d514-4b76-8633-f846ed6af94e",
"parameters": {
"options": {},
"formTitle": "Youtube video summerizer",
"formFields": {
"values": [
{
"fieldLabel": "YouTube Link",
"placeholder": "Paste YouTube Link",
"requiredField": true
}
]
}
},
"typeVersion": 2.3
},
{
"id": "0b9cb287-0b77-44dc-9fab-40e72d150624",
"name": "Message a model",
"type": "@n8n/n8n-nodes-langchain.googleGemini",
"position": [
192,
0
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "models/gemini-2.0-flash",
"cachedResultName": "models/gemini-2.0-flash"
},
"options": {},
"messages": {
"values": [
{
"role": "model",
"content": "=You are YouTube Summarizer AI, an assistant specialized in analyzing YouTube videos and returning clear, English-only outputs.\nYou have two modes of operation:\n\nSummarize Video – Provide a structured, concise, and well-written summary of the video in English, regardless of the original language (Hindi, English, or mixed).\n\nHighlight key points, insights, or steps in the video.\n\nKeep summaries clear, neutral, and accurate.\n\nFull Transcript – Provide the complete transcript of the video, translated into English.\n\nMaintain the meaning and tone of the original content.\n\nKeep formatting clean and readable.\n\nRules & Constraints:\n\nInput video: {{ $json['YouTube Link'] }}\n\nMaximum video length: 30 minutes. Do not process videos longer than this.\n\nAlways output in English only, no matter the source language.\n\nBe accurate, concise, and neutral (no personal opinions or assumptions).\n\nFor summaries: keep them structured with bullet points or sections for clarity.\n\nFor transcripts: ensure coherent translation (not word-by-word literal). "
},
{
"content": "=Please provide the YouTube video link (max 30 minutes). \nI will return the full transcript of the video translated into English. \n\n👉 Enter YouTube Link here:{{ $json['YouTube Link'] }}\n"
}
]
}
},
"credentials": {
"googlePalmApi": {
"id": "sSV7NS6JXz0qjL2i",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "1c557373-5268-4cea-945a-8c295c9aa1d5",
"name": "Update transcript into Sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
688,
0
],
"parameters": {
"columns": {
"value": {
"row_number": 2
},
"schema": [
{
"id": "summaries",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "summaries",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Full Transcipt",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Full Transcipt",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "number",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"row_number"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/xyz",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1FWNyBdrWpbuheQj26dg3NlD4B-vTmm0jwXMvpJQMqEA",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/xyz",
"cachedResultName": "CONTENT CREATION"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "2cLBwxQBfcaJ1DCN",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "cb5207e0-a349-4f43-9c59-d78cc80d5cd0",
"name": "Send message",
"type": "n8n-nodes-base.whatsApp",
"disabled": true,
"position": [
688,
-160
],
"webhookId": "8302977d-89ed-4cfa-84ef-fa3909d0449d",
"parameters": {
"textBody": "fvv",
"operation": "send",
"additionalFields": {},
"recipientPhoneNumber": "vcv"
},
"credentials": {
"whatsAppApi": {
"id": "vGdfY4x4YcxJfnDt",
"name": "WhatsApp account"
}
},
"typeVersion": 1
},
{
"id": "82cb80c5-bde9-44f3-8224-92f1f22df70d",
"name": "WhatsApp Trigger",
"type": "n8n-nodes-base.whatsAppTrigger",
"disabled": true,
"position": [
-144,
-144
],
"webhookId": "a806a655-3335-443b-a03d-87277d0003b1",
"parameters": {
"options": {},
"updates": [
"messages"
]
},
"typeVersion": 1
},
{
"id": "b7c9f43e-dfdb-4a94-940a-e69cfb16df47",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"disabled": true,
"position": [
-144,
160
],
"webhookId": "1605aa0e-b6f8-4711-9ddc-a4dc4a6726e6",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "5LtO7Czo8SgUF6nj",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "38dbd639-a631-41fe-a001-6a3898a06101",
"name": "Send a text message",
"type": "n8n-nodes-base.telegram",
"disabled": true,
"position": [
688,
176
],
"webhookId": "cbec07cd-d5d2-4726-bc0f-8dd4d0994ec3",
"parameters": {
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "5LtO7Czo8SgUF6nj",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"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 or transcript by messaging your WhatsApp bot.\n\n\n\n- **Form Trigger:** The user submits a form by pasting a YouTube link. This is the primary user-facing entry.\n\n\n\n- **Telegram Trigger:** The workflow is triggered by new messages on Telegram, letting users interact via your Telegram bot and provide YouTube links for summarization."
},
"typeVersion": 1
},
{
"id": "3561ea8d-176c-440f-bf0f-559b13069ed9",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
880,
-160
],
"parameters": {
"color": 3,
"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 sharing with users who triggered via WhatsApp.\n\n\n\n\n- **Google Sheets:** The summary and/or transcript of the YouTube video are stored in a Google Sheet for permanent record-keeping and later reference.\n\n\n\n\n- **Telegram Message:** The summary or transcript is sent as a Telegram message, ensuring users triggering via Telegram get their results directly in the chat.\n"
},
"typeVersion": 1
},
{
"id": "bcd694e8-8077-4e7c-a08b-faa21ce2d29a",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
96,
-608
],
"parameters": {
"color": 6,
"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 YouTube Summarizer AI with two outputs:\n\n**Video Summary:** Summarizes the key points/steps of the video in English, neutral and structured (using bullets or sections).\n\n**Full Transcript:** Provides a translated English transcript, with meaning and tone preserved, not just literal translation.\n\n**Rules:** Only process videos up to 30 minutes, output always in English, concise and neutral.\n\n**Input:** Uses the submitted YouTube link.\n\n**How it works:** The entered YouTube link is sent to Gemini, which responds with either a summary, transcript, or both, according to the user prompt and workflow logic.==="
},
"typeVersion": 1
},
{
"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."
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e6c0c755-17b4-4190-a866-7cd90ddc909f",
"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
}
]
]
}
}
}