{
  "name": "Video Watermark Remover",
  "nodes": [
    {
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegramTrigger",
      "typeVersion": 1.2,
      "position": [
        -2944,
        176
      ],
      "id": "4c370b3c-5500-4108-ba69-96c4263a42ed",
      "name": "Telegram Trigger",
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "## Video Tutorial\n## @[youtube](eTz7QMMkqAA)\n",
        "height": 400,
        "width": 624,
        "color": 5
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3760,
        16
      ],
      "typeVersion": 1,
      "id": "9caa2184-0a0d-4572-a95f-c9dc09a12839",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "content": "## Want more templates and help with AI automations?\n## Join my Free Skool community \u2705\n\n## https://www.skool.com/aimediaclub",
        "width": 624,
        "color": 5
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3760,
        432
      ],
      "typeVersion": 1,
      "id": "b10442d1-8686-4b20-ad5a-517ddf38ee38",
      "name": "Sticky Note5"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "70d841c4-7c53-400a-b844-9fbfb39f2e0a",
              "leftValue": "={{ $json.data.status }}",
              "rightValue": "completed",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "or"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        -1392,
        176
      ],
      "id": "a12b2062-8c77-42bd-be69-64589bb56d27",
      "name": "If"
    },
    {
      "parameters": {
        "amount": 30
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        -1376,
        352
      ],
      "id": "128e6737-c1f8-406a-b76a-fbcf6485faf3",
      "name": "Wait1"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.wavespeed.ai/api/v3/wavespeed-ai/video-watermark-remover",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "<redacted-credential>"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "video",
              "value": "={{ $json.video_link }}"
            }
          ]
        },
        "options": {
          "redirect": {
            "redirect": {}
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -1856,
        176
      ],
      "id": "29a7b449-8cad-4571-9266-fd834dcee421",
      "name": "Remove Watermark"
    },
    {
      "parameters": {
        "url": "=https://api.wavespeed.ai/api/v3/predictions/{{ $('Remove Watermark').item.json.data.id }}/result",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "<redacted-credential>"
            }
          ]
        },
        "options": {
          "redirect": {
            "redirect": {}
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -1600,
        176
      ],
      "id": "8692986d-020e-4279-a1b0-ba1bf6c41b64",
      "name": "Get Removal Status"
    },
    {
      "parameters": {
        "content": "## Watermark remover",
        "height": 592,
        "width": 2368
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3024,
        16
      ],
      "typeVersion": 1,
      "id": "48b08a14-fe41-4a07-b867-266f316c7f56",
      "name": "Sticky Note6"
    },
    {
      "parameters": {
        "resource": "file",
        "fileId": "={{ $json.message.video.file_id }}",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        -2704,
        176
      ],
      "id": "5aa7861c-57db-417e-a72b-30cb07fbf16e",
      "name": "Get a file",
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "root",
          "cachedResultName": "/ (Root folder)"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        -2512,
        176
      ],
      "id": "7d2468f7-68e0-4ddc-a1ed-f55a15238aba",
      "name": "Upload file",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "share",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "permissionsUi": {
          "permissionsValues": {
            "role": "writer",
            "type": "anyone"
          }
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        -2304,
        176
      ],
      "id": "efdf420f-f7dc-4655-89f9-3771a9de99cd",
      "name": "Share file",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "0af5feef-8e81-4e02-bc94-45945457a312",
              "name": "video_link",
              "value": "=https://drive.google.com/uc?export=download&id={{ $('Upload file').item.json.id }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        -2096,
        176
      ],
      "id": "ebbce80e-981f-4d5e-b903-fef3e562f8ac",
      "name": "Set a shareable link"
    },
    {
      "parameters": {
        "operation": "sendVideo",
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "binaryData": true,
        "additionalFields": {
          "caption": "\u2705Watermark removed"
        }
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        -944,
        160
      ],
      "id": "93062427-5689-4d77-8e34-486b6cc9fedb",
      "name": "Send to Telegram",
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "url": "={{ $json.data.outputs[0] }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -1168,
        160
      ],
      "id": "ef240921-6b76-4394-aa4e-ccd3ddcebfda",
      "name": "Get video"
    }
  ],
  "connections": {
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Get a file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Get Removal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "Get video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove Watermark": {
      "main": [
        [
          {
            "node": "Get Removal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Removal Status": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a file": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload file": {
      "main": [
        [
          {
            "node": "Share file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Share file": {
      "main": [
        [
          {
            "node": "Set a shareable link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set a shareable link": {
      "main": [
        [
          {
            "node": "Remove Watermark",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send to Telegram": {
      "main": [
        []
      ]
    },
    "Get video": {
      "main": [
        [
          {
            "node": "Send to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1d11e49d-e89f-495c-9c72-b0bd798c654b",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "GrWp5X3yKffGXp33",
  "tags": [
    {
      "createdAt": "2025-09-17T12:37:05.775Z",
      "updatedAt": "2025-09-23T14:22:45.575Z",
      "id": "ZUWL5mLXzmUq79z7",
      "name": "AI Media Club"
    }
  ]
}