Automatisierung von YouTube-Short-Skripten

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 11 Nodes. Hauptsächlich werden Set, Telegram, Supadata, TelegramTrigger, ChainLlm und andere Nodes verwendet. Erstellen Sie YouTube-Short-Skripte aus Video-Links mit Gemini KI und Telegram

Voraussetzungen
  • Telegram Bot Token
  • Google Gemini API Key
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "0b3sNR7VKXCSn2Fq",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "YT script automation",
  "tags": [],
  "nodes": [
    {
      "id": "fc5a9462-5e0c-4425-9e24-bf7794da0974",
      "name": "Send Summary",
      "type": "n8n-nodes-base.telegram",
      "position": [
        980,
        400
      ],
      "parameters": {
        "text": "={{ $json.output.title }}\n\n{{ $json.output.script }}",
        "chatId": "={{ $('Input URL').item.json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "hL07rM7CcHcgYZre",
          "name": "youtube_script_maker_bot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "be08404f-7005-46dc-bda0-9fa3bcd638f9",
      "name": "Input URL",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        400
      ],
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "hL07rM7CcHcgYZre",
          "name": "youtube_script_maker_bot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9a74e5e6-e063-4c2d-aeeb-f627a1c8a878",
      "name": "Make Transcribe",
      "type": "n8n-nodes-supadata.supadata",
      "position": [
        160,
        400
      ],
      "parameters": {
        "videoId": "={{ $json.message.text }}",
        "operation": "getTranscript"
      },
      "credentials": {
        "supadataApi": {
          "id": "3CjkrDlWjpILdztV",
          "name": "Supadata account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1fc965aa-ed57-48b5-8185-1e163a9dd7b2",
      "name": "Parsing",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        800,
        580
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"title\": \"ここに動画のタイトルが入ります\",\n  \"script\": \"ここに動画の台本(全文)が入ります\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "d7699f35-e66d-43ae-b0e7-5182cf89b6f0",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        320
      ],
      "parameters": {
        "color": 5,
        "width": 600,
        "height": 340,
        "content": "## Get Video Link and Transcribe Video"
      },
      "typeVersion": 1
    },
    {
      "id": "acd8d2c1-1949-4ac5-a788-69fe154d1fca",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        320
      ],
      "parameters": {
        "color": 5,
        "width": 620,
        "height": 420,
        "content": "## AI PARSING & Send Script"
      },
      "typeVersion": 1
    },
    {
      "id": "6630067d-5175-41f5-be71-833f27c43cb1",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        100
      ],
      "parameters": {
        "color": 7,
        "width": 640,
        "height": 200,
        "content": "## This Template is Free✨\n\n### Have any request, contact me [Here](https://x.com/taiki_16_k)"
      },
      "typeVersion": 1
    },
    {
      "id": "7c9fb068-f93d-4836-be6d-031a1a96cafc",
      "name": "Script mapping",
      "type": "n8n-nodes-base.set",
      "position": [
        320,
        400
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f523292a-168d-4f06-9d99-5d5969b1b09e",
              "name": "full_script",
              "type": "string",
              "value": "={{ $json.content.map(item => item.text).join('\\n') }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "c5c3e290-df5b-43b7-a2b8-1aaaf88b5a06",
      "name": "Google Gemini-Chat-Modell",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        620,
        580
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.5-pro"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "Dc4myFSoHsGJrGZP",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "522ed972-2fb6-4c39-b9d7-bf8c2aaa5399",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        100
      ],
      "parameters": {
        "width": 600,
        "height": 200,
        "content": "## Required API Keys:\n- **Supadata KEY**: Get your transcription API key [here](https://supadata.com/)\n\n### Setup Instructions:\n1. Send URL to your bot to start Transcribing"
      },
      "typeVersion": 1
    },
    {
      "id": "5e57ee04-c618-4afb-8bf8-f4ddfe13c04c",
      "name": "Create Script",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        620,
        400
      ],
      "parameters": {
        "text": "=#background information\n{{ $json.full_script }}",
        "batching": {},
        "messages": {
          "messageValues": [
            {
              "message": "=You are a professional scriptwriter for YouTube Shorts, specializing in trivia across various genres.\nBased on the background information from the YouTube transcript provided by the user, you will create the ultimate script to captivate viewers. Your expertise lies in crafting scripts that interestingly convey fascinating trivia hidden in science, nature, culture, and daily life. Please use an intelligent yet friendly narrative style.\n\n#Conditions\n\nThe content must be based on accurate information.\n\nStructure the script to introduce a lot of trivia at a good tempo, minimizing transitional words.\n\nSpeak intelligently in a casual tone.\n\nThe script should be approximately 170-200 words.\n\nThe opening sentence must be a shocking fact or a line that strongly stimulates the viewer's curiosity. Get straight to the point.\n\nDo not include narration or timestamps; generate only the pure script text.\n\nCreate the script based on the background information from the provided YouTube transcript.\n\nDo not use bold text.\n\nUse periods to break lines appropriately.\n\n#Output Format\ntitle:\nscript:"
            }
          ]
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b464a592-ac27-4c62-aaaf-11b0b970d895",
  "connections": {
    "1fc965aa-ed57-48b5-8185-1e163a9dd7b2": {
      "ai_outputParser": [
        [
          {
            "node": "5e57ee04-c618-4afb-8bf8-f4ddfe13c04c",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "be08404f-7005-46dc-bda0-9fa3bcd638f9": {
      "main": [
        [
          {
            "node": "9a74e5e6-e063-4c2d-aeeb-f627a1c8a878",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "5e57ee04-c618-4afb-8bf8-f4ddfe13c04c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fc5a9462-5e0c-4425-9e24-bf7794da0974": {
      "main": [
        []
      ]
    },
    "5e57ee04-c618-4afb-8bf8-f4ddfe13c04c": {
      "main": [
        [
          {
            "node": "fc5a9462-5e0c-4425-9e24-bf7794da0974",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9a74e5e6-e063-4c2d-aeeb-f627a1c8a878": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "5e57ee04-c618-4afb-8bf8-f4ddfe13c04c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes11
Kategorie2
Node-Typen8
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34