{
  "name": "🎥 Analyze YouTube video for summaries, transcripts & content + Google Gemini AI",
  "nodes": [
    {
      "id": "6d96092e-a12e-42e7-9700-63d19c3f2403",
      "name": "Config",
      "type": "n8n-nodes-base.set",
      "position": [
        2760,
        540
      ]
    },
    {
      "id": "4b4373dd-6b54-41c5-a490-91ec78afdb0b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2320,
        760
      ],
      "parameters": {
        "width": 300,
        "height": 600,
        "content": "### Prompt Options\n\n- **default**: Summarizes the video with emphasis on actionable insights, tools, strategies, and resources mentioned.\n\n- **transcribe**: Provides verbatim transcription of all spok"
      }
    },
    {
      "id": "41605c14-9936-43f2-8f06-c411bfddda99",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        420
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Set Workflow Config Variables"
      }
    },
    {
      "id": "fdc9aeb2-35b4-4f33-9438-00a10f0cb0d5",
      "name": "Get Video Audience MetaData",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        540
      ]
    },
    {
      "id": "8cd500b5-7c78-4ae0-be2a-79862e599da3",
      "name": "Compose Prompts",
      "type": "n8n-nodes-base.set",
      "position": [
        2760,
        980
      ]
    },
    {
      "id": "8f80f2f1-c46c-45ef-8468-0eb7dda2814e",
      "name": "Extract MetaData Object",
      "type": "n8n-nodes-base.set",
      "position": [
        3780,
        540
      ]
    },
    {
      "id": "b1065050-1a32-423e-b15f-0cef3f377ae6",
      "name": "Get Prompt by Prompt Type",
      "type": "n8n-nodes-base.code",
      "position": [
        3100,
        980
      ]
    },
    {
      "id": "a66e5240-ad86-47df-8a23-d45eb31e41ce",
      "name": "Define Audience Meta Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        3100,
        540
      ]
    },
    {
      "id": "cdb4ec99-37ac-45ae-9d5c-80851e992488",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        420
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Analyze YouTube Video for Audience MetaData"
      }
    },
    {
      "id": "904938e4-4242-4a90-b124-fe0ba10ee4ec",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        860
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Get YouTube Information by Prompt Type"
      }
    },
    {
      "id": "942789bd-ab7c-432c-9916-f1fdb5344e1e",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3000,
        420
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Define Audience Meta Prompt"
      }
    },
    {
      "id": "4c032c02-3eb7-48d1-8a74-75db0e02fe24",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        420
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Extract MetaData Object"
      }
    },
    {
      "id": "58e23d26-8cb1-4819-9d29-0658e8b7a95b",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        860
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Compose the Prompts with Audience MetaData"
      }
    },
    {
      "id": "ecadd3a9-7ce4-433d-9a04-76ebe4ba3875",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3000,
        860
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Get Prompt by Prompt Type"
      }
    },
    {
      "id": "a00048cb-e30c-4b14-9dd3-b986d2ee5f9c",
      "name": "Get YouTube Information by Prompt Type",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        980
      ]
    },
    {
      "id": "a071b040-9091-4081-aedd-d8e8b9166568",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2320,
        420
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## 👍Try Me!\nYouTube Video Id: wBuULAoJxok"
      }
    },
    {
      "id": "e243fe41-26fe-48d3-b215-20e033a0c0aa",
      "name": "Save to Google Drive as Text File",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3780,
        1320
      ]
    },
    {
      "id": "87ad7860-a364-406a-999b-5b9f9ef356e0",
      "name": "Send to Gmail as HTML",
      "type": "n8n-nodes-base.gmail",
      "position": [
        4120,
        1320
      ]
    },
    {
      "id": "d42e0de6-560e-4aa0-b2a5-8b79d84b660a",
      "name": "Convert Markdown to HTML",
      "type": "n8n-nodes-base.markdown",
      "position": [
        3780,
        980
      ]
    },
    {
      "id": "3f5cac85-ee4d-45a5-9a95-07fc6e195bd8",
      "name": "Provide YouTube Information to User as HTML",
      "type": "n8n-nodes-base.form",
      "position": [
        4120,
        980
      ]
    },
    {
      "id": "8f0ed7d9-9b78-49d2-858a-34418e1ee517",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        320
      ],
      "parameters": {
        "width": 300,
        "height": 100,
        "content": "## Google Generative Language API"
      }
    },
    {
      "id": "271816a9-9e1a-4b4d-afe5-94f3023c9337",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        760
      ],
      "parameters": {
        "width": 300,
        "height": 100,
        "content": "## Google Generative Language API"
      }
    },
    {
      "id": "ba68bd32-0f4b-4ce0-9af6-3dc87b8ae5ea",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        860
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Convert Markdown to HTML"
      }
    },
    {
      "id": "b69d97a9-748e-430a-b1af-5befecb226a3",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        1200
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Save YouTube Information to Google Drive"
      }
    },
    {
      "id": "3a0bca9c-56da-4425-b719-3e2ccb1cd1d8",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4020,
        1200
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Email YouTube Information"
      }
    },
    {
      "id": "004154f2-ac1a-4b79-a5f8-3af0959cc3ce",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4020,
        860
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Provide YouTube Information in Completion Form"
      }
    },
    {
      "id": "f815a2f5-2e12-40bf-8849-30429344afae",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2280,
        -120
      ],
      "parameters": {
        "width": 2080,
        "height": 1660,
        "content": "# 🎥 Analyze YouTube Video for Summaries, Transcripts & Content + Google Gemini"
      }
    },
    {
      "id": "dbbae73b-735b-4bb8-bcad-6266c08d9fae",
      "name": "Start Workflow",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        2420,
        540
      ]
    },
    {
      "id": "c63d236c-99d5-43f6-825e-836ddd41ad6f",
      "name": "Create YouTube API URL",
      "type": "n8n-nodes-base.code",
      "position": [
        3100,
        100
      ]
    },
    {
      "id": "17daf9d1-4bee-4632-b929-0696e71b9fa2",
      "name": "Get YouTube Video Details",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        100
      ]
    },
    {
      "id": "42b45f4c-9447-4ffa-ae7f-ffa68de395ba",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        -20
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Get YouTube Video Details"
      }
    },
    {
      "id": "3f3a5e5a-5c15-42a0-81d5-53248b76495e",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        4100,
        540
      ]
    },
    {
      "id": "377870dd-7dfe-49dc-a444-67017a97e8c8",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3000,
        -20
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## Create YouTube API URL"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Compose Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Config": {
      "main": [
        [
          {
            "node": "Create YouTube API URL",
            "type": "main",
            "index": 0
          },
          {
            "node": "Define Audience Meta Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Workflow": {
      "main": [
        [
          {
            "node": "Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compose Prompts": {
      "main": [
        [
          {
            "node": "Get Prompt by Prompt Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create YouTube API URL": {
      "main": [
        [
          {
            "node": "Get YouTube Video Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract MetaData Object": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Convert Markdown to HTML": {
      "main": [
        [
          {
            "node": "Send to Gmail as HTML",
            "type": "main",
            "index": 0
          },
          {
            "node": "Provide YouTube Information to User as HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Prompt by Prompt Type": {
      "main": [
        [
          {
            "node": "Get YouTube Information by Prompt Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get YouTube Video Details": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Audience Meta Prompt": {
      "main": [
        [
          {
            "node": "Get Video Audience MetaData",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video Audience MetaData": {
      "main": [
        [
          {
            "node": "Extract MetaData Object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get YouTube Information by Prompt Type": {
      "main": [
        [
          {
            "node": "Convert Markdown to HTML",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save to Google Drive as Text File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}