{
  "name": "Summarize YouTube Videos with Google Gemini 2.5",
  "nodes": [
    {
      "parameters": {
        "content": "## YouTube Video Summarization Workflow\n\n\uc774 \uc6cc\ud06c\ud50c\ub85c\uc6b0\ub294 \ub2e4\uc74c \ub2e8\uacc4\ub97c \ud1b5\ud574 YouTube \uc601\uc0c1\uc758 \uc694\uc57d\uc744 \uc790\ub3d9\ud654\ud569\ub2c8\ub2e4:\n\n1. Form Trigger: \uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 YouTube URL \uc785\ub825\n2. Set (Summary Prompt): AI\uc5d0 \uc804\ub2ec\ud560 \ud504\ub86c\ud504\ud2b8 \uad6c\uc131\n3. HTTP Request: Google Gemini(PaLM) \ubaa8\ub378\uc5d0 \uc694\uccad\n4. Set (Output): \uc751\ub2f5\uc5d0\uc11c \uc694\uc57d \ud14d\uc2a4\ud2b8 \ucd94\ucd9c\n5. No Operation: \uc6cc\ud06c\ud50c\ub85c\uc6b0 \uc885\ub8cc\n\n\u2022 \ubaa8\ub378: Gemini 2.5 Flash\n\u2022 \uc790\uaca9\uc99d\uba85: n8n Credential Manager\uc758 Google Palm API \uc0ac\uc6a9\n\n### \uc81c\ud55c \uc0ac\ud56d\n- \uacf5\uac1c\ub41c YouTube \uc601\uc0c1\ub9cc \ucc98\ub9ac \uac00\ub2a5(\ube44\uacf5\uac1c \ub610\ub294 \ube44\uacf5\uac1c \ub3d9\uc601\uc0c1\uc740 \ucc98\ub9ac\ud560 \uc218 \uc5c6\uc74c).\n- API \ud560\ub2f9\ub7c9 \uc81c\ud55c\uc774 \uc788\uc744 \uc218 \uc788\uc74c(\ubb34\ub8cc \ud2f0\uc5b4\ub294 \ud558\ub8e8 8\uc2dc\uac04. \uc720\ub8cc \ud2f0\uc5b4\ub294 \uc81c\ud55c \uc5c6\uc74c).",
        "height": 380,
        "width": 1140,
        "color": 7
      },
      "id": "07acb4e8-39c1-4dc6-aaac-0b086b5df71f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -260
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "YouTube URL\uc744 \uc785\ub825\ud558\uc138\uc694.\n\n\ud544\uc694 \uc2dc \ub2e4\ub978 \ud2b8\ub9ac\uac70(\uc608: Webhook, Schedule Trigger)\ub85c \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.",
        "height": 100,
        "width": 290
      },
      "id": "8cb5183e-9302-4415-b5c9-bcceab66f608",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        480
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "HTTP Request \ub178\ub4dc\uc5d0 \ubbf8\ub9ac \uc815\uc758\ub41c Google Palm API \uc790\uaca9\uc99d\uba85\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.\n\n\u2022 Endpoint: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent\n\u2022 \uc778\uc99d \uc815\ubcf4\ub294 Credential Manager\uc5d0\uc11c \uad00\ub9ac\ub429\ub2c8\ub2e4.",
        "height": 360,
        "width": 280,
        "color": 3
      },
      "id": "96ba7e22-eb2a-4063-8bec-1131f5f884b7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        140
      ],
      "typeVersion": 1
    },
    {
      "parameters": {},
      "id": "679ce767-271c-4caf-860f-357c4a194824",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1040,
        340
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "formTitle": "YouTube \ub3d9\uc601\uc0c1 \uc694\uc57d",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Youtube URL",
              "placeholder": "\uc720\ud29c\ube0c URL\uc744 \uc785\ub825\ud558\uc138\uc694."
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "e3ea71af-6eaf-4627-9381-147190d38311",
      "name": "YouTube video URL",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        20,
        340
      ],
      "typeVersion": 2.2
    },
    {
      "parameters": {
        "content": "\u261d\ufe0f \uc120\ud0dd\uc0ac\ud56d  \n\ub9cc\uc57d \uc6cc\ud06c\ud50c\ub85c\uac00 \uc5ec\uae30\uc11c \ub05d\ub09c\ub2e4\uba74, \ub2e4\ub978 \uac15\ud654 \uc11c\ube44\uc2a4\uc640 \ud655\uc778\uc744 \uace0\ub824\ud558\uc138\uc694.\n\n\ucd94\uac00 \ud655\uc7a5 \uae30\ub2a5:\n\n\u2022 \uc694\uc57d \uacb0\uacfc\ub97c Notion, Google Sheets \ub4f1\uc5d0 \uc800\uc7a5\n\u2022 \ubc88\uc5ed \ub610\ub294 \uac10\uc131 \ubd84\uc11d \ub178\ub4dc \uc5f0\uacb0\n\u2022 Slack \ub610\ub294 \uc774\uba54\uc77c\ub85c \uc54c\ub9bc \uc804\uc1a1",
        "height": 180,
        "width": 440,
        "color": 4
      },
      "id": "a64e9724-63d7-47b9-842f-b4b673a373cb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        480
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "Summary Prompt \ub178\ub4dc\uc5d0\uc11c \uc9c0\uc815\ud55c \ud504\ub86c\ud504\ud2b8\ub97c \uae30\ubc18\uc73c\ub85c PaLM \ubaa8\ub378\uc774 \ud575\uc2ec \ub0b4\uc6a9\uc744 \ucd94\ucd9c\ud569\ub2c8\ub2e4.\n\nOutput \ub178\ub4dc\uc5d0\uc11c \ucd5c\uc885 \uc694\uc57d \uacb0\uacfc\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.",
        "height": 360,
        "width": 280,
        "color": 5
      },
      "id": "8c886b1c-01c5-4ad2-82e4-917b39e8a25e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        140
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "googlePalmApi",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"contents\": [\n    {\n      \"parts\": [\n        {\n          \"text\": \"{{ $('Summary Prompt').item.json['text'] }}\"\n        },\n        {\n          \"file_data\": {\n            \"file_uri\": \"{{ $('YouTube video URL').item.json['Youtube URL'] }}\"\n          }\n        }\n      ]\n    }\n  ]\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        460,
        340
      ],
      "id": "da54eef9-6757-4cc6-b9ad-85fe6f73c153",
      "name": "HTTP Request",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "b9541a30-c22d-46be-8377-db08a0fcabfd",
              "name": "text",
              "value": "=# \uc5ed\ud560 \ub2f9\uc2e0\uc740 \uc720\ud29c\ube0c \uc601\uc0c1\uc758 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ubd84\uc11d\ud558\uc5ec \ud575\uc2ec \ub0b4\uc6a9\ub9cc\uc744 \uc815\ud655\ud558\uace0 \uac04\uacb0\ud558\uac8c \uc694\uc57d\ud558\ub294 \uc804\ubb38 \uc694\uc57d\uac00\uc785\ub2c8\ub2e4.  # \uc9c0\uc2dc\uc0ac\ud56d \uc81c\uacf5\ub418\ub294 \uc720\ud29c\ube0c \uc601\uc0c1 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ubc14\ud0d5\uc73c\ub85c, \ub2e4\uc74c \uc6d0\uce59\uc5d0 \ub530\ub77c \ud575\uc2ec \ub0b4\uc6a9\uc744 \ud55c\uad6d\uc5b4\ub85c \uc694\uc57d\ud574 \uc8fc\uc138\uc694.  # \uc694\uc57d \uc6d0\uce59 1.  **\ud575\uc2ec \uc815\ubcf4 \uc2dd\ubcc4:** \uc601\uc0c1\uc758 \uc8fc\uc81c, \uc8fc\uc694 \uc8fc\uc7a5, \ud575\uc2ec \uadfc\uac70, \uacb0\ub860\uc744 \uc815\ud655\ud558\uac8c \ud30c\uc545\ud569\ub2c8\ub2e4. 2.  **\uac04\uacb0\ud55c \ubb38\uc7a5:** \ub204\uad6c\ub098 \uc774\ud574\ud558\uae30 \uc27d\ub3c4\ub85d \ubcf5\uc7a1\ud55c \ubb38\uc7a5\uc740 \ud53c\ud558\uace0 \uba85\ud655\ud558\uace0 \uac04\uacb0\ud558\uac8c \uc791\uc131\ud569\ub2c8\ub2e4. 3.  **\uac1d\uad00\uc801 \uc2dc\uac01 \uc720\uc9c0:** \uac1c\uc778\uc801\uc778 \uc758\uacac\uc774\ub098 \ucd94\uce21\uc740 \ubc30\uc81c\ud558\uace0, \uc601\uc0c1\uc5d0\uc11c \uc81c\uc2dc\ub41c \ub0b4\uc6a9\ub9cc\uc744 \uae30\ubc18\uc73c\ub85c \uc694\uc57d\ud569\ub2c8\ub2e4. 4.  **\uad6c\uc870\ud654:** \uc804\uccb4 \ub0b4\uc6a9\uc744 \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\ub3c4\ub85d \uc11c\ub860, \ubcf8\ub860, \uacb0\ub860 \ub610\ub294 \uae00\uba38\ub9ac \uae30\ud638 \ub4f1\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad6c\uc870\uc801\uc73c\ub85c \uc81c\uc2dc\ud569\ub2c8\ub2e4. 5.  **\ubd88\ud544\uc694\ud55c \ub0b4\uc6a9 \uc81c\uac70:** \uc608\uc2dc, \ub18d\ub2f4, \uac1c\uc778\uc801\uc778 \uc774\uc57c\uae30 \ub4f1 \ud575\uc2ec \ub0b4\uc6a9\uacfc \uad00\ub828 \uc5c6\ub294 \ubd80\ubd84\uc740 \uacfc\uac10\ud558\uac8c \uc0dd\ub7b5\ud569\ub2c8\ub2e4.  # \ucd9c\ub825 \ud615\uc2dd **1. \uc601\uc0c1 \uc81c\ubaa9:** [\uc601\uc0c1 \uc81c\ubaa9]  **2. \ud55c \uc904 \uc694\uc57d:** [\uc601\uc0c1 \uc804\uccb4 \ub0b4\uc6a9\uc744 \ud55c \ubb38\uc7a5\uc73c\ub85c \uc555\ucd95\ud558\uc5ec \uc694\uc57d]  **3. \ud575\uc2ec \ub0b4\uc6a9 \uc694\uc57d:** * **[\uc18c\uc8fc\uc81c 1]:** [\uccab \ubc88\uc9f8 \ud575\uc2ec \ub0b4\uc6a9] * **[\uc18c\uc8fc\uc81c 2]:** [\ub450 \ubc88\uc9f8 \ud575\uc2ec \ub0b4\uc6a9] * **[\uc18c\uc8fc\uc81c 3]:** [\uc138 \ubc88\uc9f8 \ud575\uc2ec \ub0b4\uc6a9]     * (\ud544\uc694\uc2dc) \ud558\uc704 \ud56d\ubaa9 \ucd94\uac00  **4. \uacb0\ub860:** [\uc601\uc0c1\uc758 \ucd5c\uc885 \uacb0\ub860\uc774\ub098 \uc2dc\uccad\uc790\uc5d0\uac8c \uc804\ub2ec\ud558\ub294 \ud575\uc2ec \uba54\uc2dc\uc9c0]",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        240,
        340
      ],
      "id": "232fb2ad-b406-42b6-839b-e9d4dc237b29",
      "name": "Summary Prompt"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "c28693f3-5f98-4f8e-b72a-2f3a6ac5b625",
              "name": "output",
              "value": "={{ $json.candidates[0].content.parts[0].text }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        780,
        340
      ],
      "id": "89ccda56-4ef0-4503-b332-7429c17c4759",
      "name": "Output"
    }
  ],
  "connections": {
    "YouTube video URL": {
      "main": [
        [
          {
            "node": "Summary Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summary Prompt": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9d8f7cbe-8b4a-43e0-b84e-ab203c56ed4e",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "iaYSKXqkPOByzDrq",
  "tags": []
}