Skip to content

Collection of n8n workflows, n8n templates, AI automations, and AI agents created for The Recap AI YouTube channel and the AI Automation Mastery free Skool community.

Adds YouTube viral video clipper workflow

Lucas Wyland3c013150d359
diff --git a/README.md b/README.md
index 4d30211..930e631 100644
--- a/README.md
+++ b/README.md
@@ -16,4 +16,5 @@ Collection of n8n workflows and automations created and maintained by **The Reca
- [short_form_video_script_generator.json](https://www.youtube.com/watch?v=7WsmUlbyjMM) - Generates a short-form video script using AI based on scraped news stories, optimized for virality and engagement.
- [twitter_x_scraping.json](https://youtu.be/otK0ILpn4GQ) - Multiple approaches to scrape tweets from Twitter/X using Apify, then saves tweet data (ID, URL, text, engagement metrics) to Google Sheets for further analysis or automation.
- [content_repurposing_factory.json](https://www.youtube.com/watch?v=u9gwOtjiYnI) - Repurposes any YouTube video into viral-ready Twitter/X threads and LinkedIn posts using Apify and Claude.
-- [reverse_engineer_viral_ai_videos.json](https://youtu.be/qNSBLfb82wM) - Reverse-engineers any Instagram Reel or TikTok into a detailed, shot-by-shot prompt, using Apify and Google Gemini.
\ No newline at end of file
+- [reverse_engineer_viral_ai_videos.json](https://youtu.be/qNSBLfb82wM) - Reverse-engineers any Instagram Reel or TikTok into a detailed, shot-by-shot prompt, using Apify and Google Gemini.
+- [viral_youtube_video_clipper.json](https://www.youtube.com/watch?v=Yb-mZmvHh-I) - Automatically analyzes any YouTube video, generates up to 8 viral-ready short clips using Vizard AI, filters for the most viral (score greater than 9 out of 10), and shares the best clips with download links to Slack for review and sharing.
\ No newline at end of file
diff --git a/viral_youtube_video_clipper.json b/viral_youtube_video_clipper.json
new file mode 100644
index 0000000..68f9136
--- /dev/null
+++ b/viral_youtube_video_clipper.json
@@ -0,0 +1,414 @@
+{
+ "name": "The Recap AI - YouTube Video Clipper",
+ "nodes": [
+ {
+ "parameters": {
+ "formTitle": "YouTube Video Clipper",
+ "formFields": {
+ "values": [
+ {
+ "fieldLabel": "YouTube Video Url",
+ "placeholder": "https://www.youtube.com/watch?v=DB9mjd-65gw",
+ "requiredField": true
+ }
+ ]
+ },
+ "options": {}
+ },
+ "type": "n8n-nodes-base.formTrigger",
+ "typeVersion": 2.2,
+ "position": [
+ -180,
+ 0
+ ],
+ "id": "8ec0c272-cdd2-4398-8799-035b4e9cbb57",
+ "name": "form_trigger",
+ "webhookId": "b624408a-188f-4fc0-abf3-20293eba7b98"
+ },
+ {
+ "parameters": {
+ "method": "POST",
+ "url": "https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project/create",
+ "authentication": "genericCredentialType",
+ "genericAuthType": "httpHeaderAuth",
+ "sendBody": true,
+ "specifyBody": "json",
+ "jsonBody": "={\n \"lang\": \"en\",\n \"preferLength\": [\n 0\n ],\n \"videoUrl\": \"{{ $json['YouTube Video Url'] }}\",\n \"videoType\": 2,\n \"maxClipNumber\": 8\n}",
+ "options": {}
+ },
+ "type": "n8n-nodes-base.httpRequest",
+ "typeVersion": 4.2,
+ "position": [
+ 100,
+ 0
+ ],
+ "id": "2ab8e9a6-6a75-40c9-9f9c-3512fa1208af",
+ "name": "submit_video",
+ "credentials": {
+ "httpHeaderAuth": {
+ "id": "wa7PH900htc4zSiG",
+ "name": "Vizard AI"
+ }
+ }
+ },
+ {
+ "parameters": {
+ "amount": 10
+ },
+ "type": "n8n-nodes-base.wait",
+ "typeVersion": 1.1,
+ "position": [
+ 380,
+ 0
+ ],
+ "id": "cfddcedd-19ab-45a2-b746-657c580082b2",
+ "name": "wait",
+ "webhookId": "65cefde9-1d9f-466c-9b9e-b200eb155023"
+ },
+ {
+ "parameters": {
+ "conditions": {
+ "options": {
+ "caseSensitive": true,
+ "leftValue": "",
+ "typeValidation": "strict",
+ "version": 2
+ },
+ "conditions": [
+ {
+ "id": "0583b406-8a93-4582-9229-7f68aa461320",
+ "leftValue": "={{ $json.code }}",
+ "rightValue": 2000,
+ "operator": {
+ "type": "number",
+ "operation": "equals"
+ }
+ }
+ ],
+ "combinator": "and"
+ },
+ "options": {}
+ },
+ "type": "n8n-nodes-base.if",
+ "typeVersion": 2.2,
+ "position": [
+ 940,
+ 100
+ ],
+ "id": "42c02942-9d9e-42e0-b931-cf3feb354394",
+ "name": "check_status"
+ },
+ {
+ "parameters": {
+ "authentication": "oAuth2",
+ "select": "channel",
+ "channelId": {
+ "__rl": true,
+ "value": "C08KC39K8DR",
+ "mode": "list",
+ "cachedResultName": "ai-tools-content"
+ },
+ "text": "=<{{ $('form_trigger').item.json['YouTube Video Url'] }}|Video Clipper Results>",
+ "otherOptions": {
+ "includeLinkToWorkflow": false
+ }
+ },
+ "type": "n8n-nodes-base.slack",
+ "typeVersion": 2.3,
+ "position": [
+ -180,
+ 560
+ ],
+ "id": "01e39b0c-8226-4f1d-a6c4-eb2826219859",
+ "name": "send_initial_msg",
+ "webhookId": "92c0d4b5-b4de-409a-ad16-15648a4a6978",
+ "credentials": {
+ "slackOAuth2Api": {
+ "id": "iKdTzmZ6YuYaaRG4",
+ "name": "Slack (OAuth)"
+ }
+ }
+ },
+ {
+ "parameters": {
+ "assignments": {
+ "assignments": [
+ {
+ "id": "dd18de51-6e46-48a5-8df6-3fbb6b03474b",
+ "name": "videos",
+ "value": "={{ $('check_status').item.json.videos }}",
+ "type": "array"
+ }
+ ]
+ },
+ "options": {}
+ },
+ "type": "n8n-nodes-base.set",
+ "typeVersion": 3.4,
+ "position": [
+ 100,
+ 560
+ ],
+ "id": "72cf4174-306f-4ed9-8b94-1ec43209a84b",
+ "name": "set_videos"
+ },
+ {
+ "parameters": {
+ "url": "=https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project/query/{{ $json.projectId }}",
+ "authentication": "genericCredentialType",
+ "genericAuthType": "httpHeaderAuth",
+ "options": {}
+ },
+ "type": "n8n-nodes-base.httpRequest",
+ "typeVersion": 4.2,
+ "position": [
+ 660,
+ 0
+ ],
+ "id": "985bc5e1-00f3-4023-a6e0-a98c9ad025d9",
+ "name": "get_clipping_status",
+ "credentials": {
+ "httpHeaderAuth": {
+ "id": "wa7PH900htc4zSiG",
+ "name": "Vizard AI"
+ }
+ }
+ },
+ {
+ "parameters": {
+ "fieldToSplitOut": "videos",
+ "options": {}
+ },
+ "type": "n8n-nodes-base.splitOut",
+ "typeVersion": 1,
+ "position": [
+ 380,
+ 560
+ ],
+ "id": "72bd9d52-762a-4f46-861a-461bddaae842",
+ "name": "split_videos"
+ },
+ {
+ "parameters": {
+ "authentication": "oAuth2",
+ "select": "channel",
+ "channelId": {
+ "__rl": true,
+ "value": "C08KC39K8DR",
+ "mode": "list",
+ "cachedResultName": "ai-tools-content"
+ },
+ "text": "=*{{ $json.title }} | ({{ $json.viralScore }} / 10)*\n```\n{{ $json.videoUrl }}\n```\n---",
+ "otherOptions": {
+ "includeLinkToWorkflow": false,
+ "thread_ts": {
+ "replyValues": {
+ "thread_ts": "={{ $('send_initial_msg').item.json.message.ts }}"
+ }
+ }
+ }
+ },
+ "type": "n8n-nodes-base.slack",
+ "typeVersion": 2.3,
+ "position": [
+ 940,
+ 560
+ ],
+ "id": "17d6d975-63f3-452d-9ddc-952ff97d9600",
+ "name": "send_video_msg",
+ "webhookId": "92c0d4b5-b4de-409a-ad16-15648a4a6978",
+ "credentials": {
+ "slackOAuth2Api": {
+ "id": "iKdTzmZ6YuYaaRG4",
+ "name": "Slack (OAuth)"
+ }
+ }
+ },
+ {
+ "parameters": {
+ "conditions": {
+ "options": {
+ "caseSensitive": true,
+ "leftValue": "",
+ "typeValidation": "loose",
+ "version": 2
+ },
+ "conditions": [
+ {
+ "id": "1ca8f8e1-04f4-44fd-9a2d-7e656b08ff81",
+ "leftValue": "={{ $json.viralScore }}",
+ "rightValue": 9,
+ "operator": {
+ "type": "number",
+ "operation": "gte"
+ }
+ }
+ ],
+ "combinator": "and"
+ },
+ "looseTypeValidation": true,
+ "options": {}
+ },
+ "type": "n8n-nodes-base.filter",
+ "typeVersion": 2.2,
+ "position": [
+ 660,
+ 560
+ ],
+ "id": "800c0992-1bc3-4b9e-9328-459290f465b0",
+ "name": "filter_viral_score"
+ },
+ {
+ "parameters": {
+ "content": "## 1. Analyze Long Form YouTube Video & Generate Viral Clips\n- Provide YouTube Video Urls as Input\n- Send API request to Vizard AI to submit the video to analyze and generate the clips\n- Poll the Vizard `/query` endpoint",
+ "height": 560,
+ "width": 1380,
+ "color": 5
+ },
+ "type": "n8n-nodes-base.stickyNote",
+ "position": [
+ -200,
+ -200
+ ],
+ "typeVersion": 1,
+ "id": "115d57c2-5326-4e9d-b1f6-5ab50a6a74aa",
+ "name": "Sticky Note"
+ },
+ {
+ "parameters": {
+ "content": "## 2. Share Best Viral Clips In Slack\n- Filter video clip results that have a viral score of at least 9 out of 10\n- Share video title and link to download in slack thread for further review\n- This can be extended even further to auto-generate captions using a LLM and auto-posting to social media channels via blotato",
+ "height": 360,
+ "width": 1380,
+ "color": 6
+ },
+ "type": "n8n-nodes-base.stickyNote",
+ "position": [
+ -200,
+ 380
+ ],
+ "typeVersion": 1,
+ "id": "84f43084-3d5d-4af1-b191-ac6b95ab00e7",
+ "name": "Sticky Note1"
+ }
+ ],
+ "pinData": {},
+ "connections": {
+ "form_trigger": {
+ "main": [
+ [
+ {
+ "node": "submit_video",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "submit_video": {
+ "main": [
+ [
+ {
+ "node": "wait",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "wait": {
+ "main": [
+ [
+ {
+ "node": "get_clipping_status",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "check_status": {
+ "main": [
+ [
+ {
+ "node": "send_initial_msg",
+ "type": "main",
+ "index": 0
+ }
+ ],
+ [
+ {
+ "node": "wait",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "send_initial_msg": {
+ "main": [
+ [
+ {
+ "node": "set_videos",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "get_clipping_status": {
+ "main": [
+ [
+ {
+ "node": "check_status",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "set_videos": {
+ "main": [
+ [
+ {
+ "node": "split_videos",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "split_videos": {
+ "main": [
+ [
+ {
+ "node": "filter_viral_score",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ },
+ "filter_viral_score": {
+ "main": [
+ [
+ {
+ "node": "send_video_msg",
+ "type": "main",
+ "index": 0
+ }
+ ]
+ ]
+ }
+ },
+ "active": false,
+ "settings": {
+ "executionOrder": "v1"
+ },
+ "versionId": "117cda19-70c4-426a-a9a5-04a0d6034916",
+ "meta": {
+ "templateCredsSetupCompleted": true,
+ "instanceId": "06e5009344f682419c20ccd4ecdcb5223bbb91761882af93ac6d468dbc2cbf8d"
+ },
+ "id": "y7hQeDrKG6Dh0GRo",
+ "tags": []
+}
\ No newline at end of file