Créer automatiquement des métadonnées YouTube avec l'IA

Intermédiaire

Ceci est unAI, Marketingworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme Set, Form, YouTube, FormTrigger, GoogleDocsTool, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Créer automatiquement des métadonnées YouTube avec IA

Prérequis
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "dd130a849d7b29e5541b05d2f7f86a4acd4f1ec598c1c9438783f56bc4f0ff80",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "07433551-9fa9-421c-a0bf-721fa1624304",
      "name": "Note adhésive11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -320
      ],
      "parameters": {
        "color": 4,
        "width": 1075,
        "height": 736,
        "content": "## Developed by Amjid Ali\n\nThank you for using this workflow template. It has taken me countless hours of hard work, research, and dedication to develop, and I sincerely hope it adds value to your work.\n\nIf you find this template helpful, I kindly ask you to consider supporting my efforts. Your support will help me continue improving and creating more valuable resources.\n\nYou can contribute via PayPal here:\n\nhttp://paypal.me/pmptraining\n\nFor Full Course about ERPNext or Automation using AI follow below link\n\nhttp://lms.syncbricks.com\n\nAdditionally, when sharing this template, I would greatly appreciate it if you include my original information to ensure proper credit is given.\n\nThank you for your generosity and support!\nEmail : amjid@amjidali.com\nhttps://linkedin.com/in/amjidali\nhttps://syncbricks.com\nhttps://youtube.com/@syncbricks"
      },
      "typeVersion": 1
    },
    {
      "id": "31a0c5e9-c6f6-4921-8f92-be84cc669869",
      "name": "À la soumission du formulaire",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -220,
        -80
      ],
      "webhookId": "syncbricks-youtube-meta-automation",
      "parameters": {
        "options": {
          "buttonLabel": "Update Youtube Video"
        },
        "formTitle": "Syncbricks Youtube",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Youtube Video Link",
              "requiredField": true
            },
            {
              "fieldLabel": "Video Transcript",
              "requiredField": true
            },
            {
              "fieldLabel": "Focus Keywords",
              "placeholder": "Focus Keywords (Optional)"
            }
          ]
        },
        "formDescription": "Generate Youtube Video Title, Description, Tags and Hashtags"
      },
      "typeVersion": 2.2
    },
    {
      "id": "d3c5df7c-2b57-4136-a790-cff68a03a2f1",
      "name": "Informations syncbricks",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        240,
        260
      ],
      "parameters": {
        "operation": "get",
        "documentURL": "15lN3FJ3iXABf_bd061-F7j-gGx2WBH8Jr6fjBLa3tis",
        "descriptionType": "manual",
        "toolDescription": "affiliate links, course links, social media links and other relevant links related to syncbricks"
      },
      "typeVersion": 2
    },
    {
      "id": "e31ea741-3b99-4b3b-9b44-9dcca69f6384",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        40,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "07b23889-9c41-4202-a41b-350cca850e63",
      "name": "Extraire l'ID vidéo",
      "type": "n8n-nodes-base.set",
      "position": [
        540,
        -80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f7b24e9b-cc50-4e4e-8073-aa555aaa5a03",
              "name": "=videoID",
              "type": "string",
              "value": "={{ $('On form submission').item.json['Youtube Video Link'].replace(\"https://youtu.be/\",\"\") }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "44226e96-2429-497d-b84b-f3752f441b8b",
      "name": "Youtube Générateur de métadonnées",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        120,
        -80
      ],
      "parameters": {
        "text": "=You are an AI content generator specialized in crafting high-converting YouTube metadata for videos related to stores, shops, memberships, and business promotions. Your task is to generate a **structured JSON output** optimized for YouTube SEO and audience engagement based on the provided video transcript and focus keywords. Use \"syncbricks information\" tool to collect relevant social media, courses, website and affilite links and ensure to add the relavent links in description. Major course or affilite link should be used as hook in the beginning of the description.\n\n### **Output Requirements:**\n1. **Title:** A compelling, SEO-friendly title optimized for search and audience interest.\n2. **Description:** A detailed, keyword-rich summary of the video, incorporating relevant keywords naturally and including a clear value proposition.\n3. **Keywords:** Single line of all possible keywords with  at least 450 characters in total with comma in between each keyword relevant to the video content to enhance discoverability.\n4. **Hashtags:** Single line of 5 to 10 relevant hashtags, without the comma that align with the video's theme.\n5. **Affiliate Links:** Contextually relevant affiliate links that match the video content. Only provide link don't add unnessary boxes.\n7. **Call to Action (CTA):** A persuasive CTA encouraging viewers to **subscribe, like, share, visit a store, or sign up for membership**.\n8. **Additional Promotional Links:** Gather and include relevant **course links, business website links, or related references** that add value to the audience.\n9. **Channel Hashtags:** Append **#EnterpriseIT #BusinessIntelligence #TechSolutions #ITInsights #HomeLab #Gadgets #TechReview #ITTips #SyncBricks #AmjidAli** at the end of the description.\n\n### **Instructions:**\n- Ensure that **affiliate links are directly related** to the video topic.\n- Use **natural language and avoid keyword stuffing** to maintain a user-friendly tone.\n- Don't add social media profiles, and syncbricks websit link, only add the affilaite and promotion links\n- The description should be **at least 150 words properly formatted with lines and paragraphs** for better YouTube SEO.\n - Avoid adding [] brackets\n- Structure the output in a **well-formatted JSON format** for automation.\n\n##Example of Affialite and promotion Links ##\nn8n : https://n8n.syncbricks.com\nFull Course : https://proxmox.syncbricks.com or udemy link\n\n\n### **Here is the existing Video Details:**\n- **Transcript:** {{ $json['Video Transcript'] }}\n- **Focus Keywords:** {{ $json['Focus Keywords'] }}",
        "options": {
          "maxIterations": 10
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    },
    {
      "id": "727cdc7f-e783-4d98-8476-a1623310a1fc",
      "name": "YouTube",
      "type": "n8n-nodes-base.youTube",
      "position": [
        740,
        60
      ],
      "parameters": {
        "title": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.title }}",
        "videoId": "={{ $('Extract Video ID').item.json.videoID }}",
        "resource": "video",
        "operation": "update",
        "categoryId": "28",
        "regionCode": "OM",
        "updateFields": {
          "tags": "={{ $json.formatted_tags }}",
          "description": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.description }}\n\nConnect with us : \nFacebook: https://www.facebook.com/syncbricks\nLinkedIn : https://linkedin.com/company/syncbricks\nInstagram : https://instagram.com/syncbricks_com\n\nSubscribe to youtube Channel : https://www.youtube.com/channel/UC1ORA3oNGYuQ8yQHrC7MzBg?sub_confirmation=1\n\nWebsite : \nSync Bricks: https://syncbricks.com/\n\nContact : info@syncbricks.com\n\n{{ $('Youtube Meta Generator').item.json.output.youtube_metadata.call_to_action }}\n\n{{ $('Youtube Meta Generator').item.json.output.youtube_metadata.hashtags }}\n\n\n"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "631fbe64-2851-42f0-8657-ddd501abcd34",
      "name": "Formater les balises",
      "type": "n8n-nodes-base.set",
      "position": [
        540,
        160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "10cbc535-36a3-4973-a038-ead1b3525a7c",
              "name": "formatted_tags",
              "type": "string",
              "value": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.tags.join() }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "e75c1fe1-eb58-4fb1-bcc9-ed969eb62a99",
      "name": "Analyseur de sortie",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        400,
        240
      ],
      "parameters": {
        "schemaType": "manual",
        "inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"video_title\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"video_description\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"youtube_metadata\": {\n\t\t\t\"type\": \"object\",\n\t\t\t\"properties\": {\n\t\t\t\t\"title\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"description\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"tags\": {\n\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"call_to_action\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"additional_notes\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}\n"
      },
      "typeVersion": 1.2
    },
    {
      "id": "91327309-8d6a-4e46-8516-726916acd3f4",
      "name": "Formulaire",
      "type": "n8n-nodes-base.form",
      "position": [
        940,
        60
      ],
      "webhookId": "6557e699-8774-475d-a1df-7b0b24e4cb3b",
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "={{ $json.snippet.title }}",
        "completionMessage": "=Video is updated with Title : {{ $json.snippet.title }} and below is the video link\n{{ $('On form submission').item.json['Youtube Video Link'] }}"
      },
      "typeVersion": 1
    },
    {
      "id": "3ac5dc27-ccb4-470e-b49c-95198bba91e0",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -320
      ],
      "parameters": {
        "color": 3,
        "width": 1435,
        "height": 736,
        "content": "##Youtube Meta Generator \n\nCustomize it for yoru own youtube channel\n\n\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "727cdc7f-e783-4d98-8476-a1623310a1fc": {
      "main": [
        [
          {
            "node": "91327309-8d6a-4e46-8516-726916acd3f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "631fbe64-2851-42f0-8657-ddd501abcd34": {
      "main": [
        [
          {
            "node": "727cdc7f-e783-4d98-8476-a1623310a1fc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e75c1fe1-eb58-4fb1-bcc9-ed969eb62a99": {
      "ai_outputParser": [
        [
          {
            "node": "44226e96-2429-497d-b84b-f3752f441b8b",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "07b23889-9c41-4202-a41b-350cca850e63": {
      "main": [
        [
          {
            "node": "631fbe64-2851-42f0-8657-ddd501abcd34",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e31ea741-3b99-4b3b-9b44-9dcca69f6384": {
      "ai_languageModel": [
        [
          {
            "node": "44226e96-2429-497d-b84b-f3752f441b8b",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "31a0c5e9-c6f6-4921-8f92-be84cc669869": {
      "main": [
        [
          {
            "node": "44226e96-2429-497d-b84b-f3752f441b8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "44226e96-2429-497d-b84b-f3752f441b8b": {
      "main": [
        [
          {
            "node": "07b23889-9c41-4202-a41b-350cca850e63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d3c5df7c-2b57-4136-a790-cff68a03a2f1": {
      "ai_tool": [
        [
          {
            "node": "44226e96-2429-497d-b84b-f3752f441b8b",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Intelligence Artificielle, Marketing

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds11
Catégorie2
Types de nœuds9
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Amjid Ali

Amjid Ali

@amjid

**Amjid Ali** is an automation expert and AI enthusiast specializing in creating intelligent workflows using low-code platforms like **n8n**. With a passion for simplifying complex processes, he designs solutions that enhance productivity and streamline operations. As an active contributor to the **n8n Creator Hub**, Amjid shares innovative use cases, practical templates, and best practices, empowering the community to unlock the full potential of workflow automation.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34