{
  "nodes": [
    {
      "id": "fdb6c202-ea97-4a87-b141-7aae4bae9917",
      "name": "Config",
      "type": "n8n-nodes-base.set",
      "position": [
        520,
        340
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "eed16103-d07f-4e81-93ac-567b096f54be",
              "name": "splitter",
              "type": "string",
              "value": "--- n8ninja ---"
            },
            {
              "id": "62e585b6-f908-4a9b-8abb-a2bd22ce4423",
              "name": "description",
              "type": "string",
              "value": "n8n is the most powerful automation tool available today. It is simple yet powerful.\nn8n automation is a node-based automation tool that offers countless possibilities.\nWith more than 400 integrations, the use cases of n8n are endless.\n\nIn my long journey as a digital ninja, this is by far my weapon of choice when it comes to saving time and cutting BS tasks!\n\n⭐️ Try n8n for free: {{ $env.WEBHOOK_URL }}\n🆇 Following me on X: {{ $env.WEBHOOK_URL }}\n🥷 My Website: {{ $env.WEBHOOK_URL }}\n📋 My Templates {{ $env.WEBHOOK_URL }}"
            }
          ]
        }
      },
      "typeVersion": 3.3,
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "id": "fdd88c25-911f-413a-bb16-4b84315c2d6b",
      "name": "Generate Description",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        340
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a20ac17b-6aaa-45b2-995f-2751a7aaa238",
              "name": "description",
              "type": "string",
              "value": "={{ $json.snippet.description.split($('Config').item.json.splitter)[0] }}{{ $('Config').item.json.splitter }}\n\n{{ $('Config').item.json[\"description\"] }}"
            }
          ]
        },
        "includeOtherFields": ""
      },
      "typeVersion": 3.3,
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "id": "ac1b3a81-12a4-4be9-abbe-cce155218fb6",
      "name": "Check if has changed",
      "type": "n8n-nodes-base.if",
      "position": [
        1180,
        340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "f4329949-b775-45ca-aacb-1fc0f2df8ef1",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              },
              "leftValue": "={{ $json.description }}",
              "rightValue": "={{ $('List all videos').item.json.snippet.description }}"
            }
          ]
        }
      },
      "typeVersion": 2,
      "notes": "This if node performs automated tasks as part of the workflow."
    },
    {
      "id": "3daaae7a-2a7b-4894-aa2d-f38ed7b91b9b",
      "name": "Update Description",
      "type": "n8n-nodes-base.youTube",
      "position": [
        1420,
        320
      ],
      "parameters": {
        "title": "={{ $('List all videos').item.json.snippet.title }}",
        "videoId": "={{ $('List all videos').item.json.id.videoId }}",
        "resource": "video",
        "operation": "update",
        "categoryId": "27",
        "regionCode": "US",
        "updateFields": {
          "description": "={{ $json.description }}"
        }
      },
      "typeVersion": 1,
      "notes": "This youTube node performs automated tasks as part of the workflow."
    },
    {
      "id": "dc83d27d-cfec-4989-a009-ecc42194b133",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -20
      ],
      "parameters": {
        "color": 6,
        "width": 275.01592825011585,
        "height": 313.3780970521015,
        "content": "# Setup\n### 1/ Add Your credentials\n[Youtube]({{ $env.WEBHOOK_URL }}\n\n### 2/ Define in the config node the delimiter and the text you want to add to all your videos. \n\n# 👇"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "b984c720-852b-46d2-bbb1-fa22bcefce78",
      "name": "Trigger Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        300,
        340
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "a3002568-57c8-451d-b8fd-70b4b1323f78",
      "name": "List all videos",
      "type": "n8n-nodes-base.youTube",
      "position": [
        740,
        340
      ],
      "parameters": {
        "filters": {},
        "options": {},
        "resource": "video"
      },
      "typeVersion": 1,
      "notes": "This youTube node performs automated tasks as part of the workflow."
    },
    {
      "id": "3b26af11-a5c6-4ba6-9e0c-31396f82f55f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        200
      ],
      "parameters": {
        "color": 7,
        "width": 202.64787116404852,
        "height": 85.79488430601403,
        "content": "### Crafted by the\n## [🥷 n8n.ninja](n8n.ninja)"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "bf6f8b3d-7182-4417-ab71-785e4215d2e9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        300
      ],
      "parameters": {
        "color": 6,
        "width": 372,
        "height": 120.19860141384585,
        "content": "## Run this workflow every time you want to update all your Youtube video descriptions 👉🏻\n"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-38ff3e80",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "pinData": {},
  "connections": {},
  "name": "Set Workflow",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "description": "Automated workflow: Set Workflow. This workflow integrates 5 different services: stickyNote, youTube, set, manualTrigger, if. It contains 9 nodes and follows best practices for error handling and security.",
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:48.991992",
    "updatedAt": "2025-09-29T07:07:48.992002",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Set Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}