clipwright/examples/n8n/clipwright-content-machine.json
pedro-bento 6721d853ef
Some checks failed
CI / backend-tests (pull_request) Failing after 19s
CI / frontend-build (pull_request) Successful in 31s
fix(publish): channel-by-id selection, DD/MM/YYYY scheduling, app-first boot
- Postiz publishing now selects exact channels by integration id; identifier
  mapping fixes instagram-standalone (was 'not connected') and multiple channels
  per network (was first-only); settings.__type uses the real identifier
- Publish modal lists all channels, DD/MM/YYYY + HH:MM scheduling with validation,
  surfaces backend errors and a success confirmation
- Remove AWS/S3 clip backup and ElevenLabs voice dubbing (server, UI, tests, docs)
- Boot straight into the app; remove the landing/launch screen
- CI backend-tests runs in a python:3.11-slim container (Forgejo has no 3.11 cache)
2026-10-04 19:41:23 +01:00

1012 lines
31 KiB
JSON

{
"name": "Clip new YouTube uploads into viral shorts with open-source Clipwright and publish after Telegram approval",
"nodes": [
{
"parameters": {
"content": "## Clip your YouTube channel and publish after approval\n\n**Who's it for**\nCreators and small teams who publish long videos and want shorts from them without\nhanding the publish button to a machine. It suits anyone who already runs n8n and\ndoes not want to build the clipping and the multi-platform posting themselves.\n\n**What it does**\nOnce a day it reads your channel RSS feed and picks one video: your newest upload,\nor the next unprocessed one from the back catalogue. It sends that video to\nClipwright, which returns finished 9:16 clips with subtitles through a webhook, so\nthere is no polling loop. Each clip arrives in Telegram with Publish and Skip\nbuttons. Approved clips are scheduled one per day through your\nself-hosted Postiz instance, and every Sunday the workflow reports the impressions\nand best post of what it published.\n\n**How to set up**\n1. Point the request nodes at your self-hosted instance\n (`http://localhost:8000`); no API key is needed on a self-hosted instance.\n2. Create a Telegram bot with @BotFather and add the Telegram credential.\n3. Fill the three **Settings** nodes with your YouTube channel id and Telegram chat id.\n4. Copy the production URL of the *Clips ready* webhook node into the\n `webhook_url` field of *Start Clipwright job*.\n\n**Requirements**\nA self-hosted Clipwright instance, a self-hosted Postiz instance, a Telegram bot, and an n8n reachable\nover https so Telegram can register the approval buttons.\n\n**How to customize**\nChange the schedule to clip more or less often, edit the channels targeted by\n*Schedule Postiz post* (by integration id, or the legacy platforms list), widen the posting rhythm in *Pick next free slot*, or\nreplace the Telegram approval with your own review step.",
"height": 900,
"width": 460,
"color": 3
},
"id": "note-overview",
"name": "Read me first",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-1060,
-120
]
},
{
"parameters": {
"content": "## ACT 1 \u2014 Watch the channel (daily)\n\nOnce a day this branch reads your channel's RSS feed and picks **one** video to clip: a new upload if there is one, otherwise the next unprocessed video from your back catalog (newest first). One video per day keeps your quota burn predictable.\n\n**Setup**: put your channel id in the *Channel RSS feed* node (`https://www.youtube.com/feeds/videos.xml?channel_id=UC...`). Find it at youtube.com \u2192 your channel \u2192 About \u2192 Share \u2192 Copy channel ID.\n\nIf Clipwright rejects the job, the machine tells you on Telegram instead of failing silently, and the video is retried tomorrow.",
"height": 420,
"width": 400,
"color": 7
},
"id": "note-act1",
"name": "Act 1 note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-560,
-120
]
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "days",
"triggerAtHour": 9
}
]
}
},
"id": "daily-schedule",
"name": "Every day 09:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-80,
0
]
},
{
"parameters": {
"url": "=https://www.youtube.com/feeds/videos.xml?channel_id={{ $json.youtube_channel_id }}",
"options": {}
},
"id": "channel-rss",
"name": "Channel RSS feed",
"type": "n8n-nodes-base.rssFeedRead",
"typeVersion": 1.1,
"position": [
220,
0
]
},
{
"parameters": {
"jsCode": "// One video per run: the newest video we have not processed yet.\n// A fresh upload is by definition the newest unprocessed one, so new\n// uploads win automatically; with nothing new, the back catalog drains\n// newest-first. Processed links persist in workflow static data\n// (production executions only \u2014 manual test runs do not save it).\nconst staticData = $getWorkflowStaticData('global');\nconst done = staticData.processedVideos || [];\nconst videos = $input.all().map((i) => i.json);\nconst fresh = videos.filter((v) => v.link && !done.includes(v.link));\nif (fresh.length === 0) {\n return [];\n}\nconst pick = fresh[0];\nreturn [{ json: { url: pick.link, title: pick.title, published: pick.isoDate } }];"
},
"id": "pick-video",
"name": "Pick next video",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
440,
0
]
},
{
"parameters": {
"method": "POST",
"url": "http://localhost:8000/api/process",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"url\": \"{{ $json.url }}\",\n \"acknowledged\": true,\n \"webhook_url\": \"PASTE_THE_PRODUCTION_URL_OF_THE_CLIPS-READY_WEBHOOK_NODE_HERE\",\n \"webhook_secret\": \"change-me\"\n}",
"options": {}
},
"id": "start-job",
"name": "Start Clipwright job",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
0
],
"onError": "continueErrorOutput"
},
{
"parameters": {
"jsCode": "// Only mark the video done once Clipwright accepted the job \u2014 a failed\n// submit (quota, downtime) leaves it unmarked so tomorrow retries it.\nconst staticData = $getWorkflowStaticData('global');\nconst done = staticData.processedVideos || [];\nconst url = $('Pick next video').first().json.url;\nif (!done.includes(url)) {\n done.push(url);\n}\nstaticData.processedVideos = done;\nreturn $input.all();"
},
"id": "mark-processed",
"name": "Mark video as processed",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
800,
-60
]
},
{
"parameters": {
"chatId": "={{ $('Settings').first().json.telegram_chat_id }}",
"text": "=\ud83c\udfac Clipping started: {{ $('Pick next video').first().json.title }}\n\nI'll send the clips here for approval when they're ready.",
"additionalFields": {}
},
"id": "tg-clipping",
"name": "Notify: clipping started",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1020,
-60
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"chatId": "={{ $('Settings').first().json.telegram_chat_id }}",
"text": "\u26a0\ufe0f Content machine paused: Clipwright rejected the job. The video was NOT marked as processed, so it will be retried tomorrow. Check the Clipwright server logs for the error.",
"additionalFields": {}
},
"id": "tg-quota",
"name": "Notify: submit failed",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
800,
120
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"content": "## ACT 2 \u2014 Clips arrive on your phone\n\n**No polling, no Wait-node loop.** Clipwright calls this webhook once per job (success **and** failure, so nothing ever hangs). Each finished 9:16 clip lands in your Telegram with two buttons: \u2705 publish or \u274c skip \u2014 a human approves every post, which is also what keeps you on the right side of YouTube's inauthentic-content policy.\n\n**Setup**: copy the **production** URL of the *Clips ready* webhook node and paste it as `webhook_url` inside *Start Clipwright job*. Telegram fetches videos by URL up to ~20 MB; bigger clips fall back to a message with the clip URL and the same buttons.",
"height": 380,
"width": 400,
"color": 7
},
"id": "note-act2",
"name": "Act 2 note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-560,
340
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "clipwright-machine-clips",
"options": {}
},
"id": "clips-webhook",
"name": "Clips ready (webhook)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-80,
440
],
"webhookId": "30f3bc66-1f03-4d2f-94b8-aed49571238d"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "c1",
"leftValue": "={{ $json.body.event }}",
"rightValue": "job.completed",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "if-completed",
"name": "Job completed?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
200,
440
]
},
{
"parameters": {
"jsCode": "// One Telegram message per clip, carrying everything the approval\n// buttons need inside callback_data (Telegram caps it at 64 bytes:\n// action|job_id|clip_index fits).\nconst body = $json.body;\nconst base = 'http://localhost:8000';\nreturn (body.clips || []).map((clip, i) => ({\n json: {\n job_id: body.job_id,\n clip_index: i,\n title: clip.title || `Clip ${i + 1}`,\n // The webhook returns a path relative to the instance unless the server\n // sets PUBLIC_API_URL; make it absolute so Telegram can fetch it.\n video_url: clip.video_url && clip.video_url.startsWith('/')\n ? base + clip.video_url\n : clip.video_url,\n },\n}));"
},
"id": "split-clips",
"name": "One item per clip",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
360,
380
]
},
{
"parameters": {
"operation": "sendVideo",
"chatId": "={{ $('Settings (clips)').first().json.telegram_chat_id }}",
"file": "={{ $json.video_url }}",
"replyMarkup": "inlineKeyboard",
"inlineKeyboard": {
"rows": [
{
"row": {
"buttons": [
{
"text": "\u2705 Publish",
"additionalFields": {
"callback_data": "=pub|{{ $json.job_id }}|{{ $json.clip_index }}"
}
},
{
"text": "\u274c Skip",
"additionalFields": {
"callback_data": "skip"
}
}
]
}
}
]
},
"additionalFields": {
"caption": "={{ $json.title }}"
}
},
"id": "tg-clip-video",
"name": "Send clip for approval",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
580,
380
],
"onError": "continueErrorOutput",
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"chatId": "={{ $('Settings (clips)').first().json.telegram_chat_id }}",
"text": "=\ud83c\udfac {{ $json.title }}\n\nToo big for Telegram preview \u2014 watch it here:\n{{ $json.video_url }}",
"replyMarkup": "inlineKeyboard",
"inlineKeyboard": {
"rows": [
{
"row": {
"buttons": [
{
"text": "\u2705 Publish",
"additionalFields": {
"callback_data": "=pub|{{ $json.job_id }}|{{ $json.clip_index }}"
}
},
{
"text": "\u274c Skip",
"additionalFields": {
"callback_data": "skip"
}
}
]
}
}
]
},
"additionalFields": {}
},
"id": "tg-clip-link",
"name": "Send clip link instead",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
800,
480
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"chatId": "={{ $('Settings (clips)').first().json.telegram_chat_id }}",
"text": "=\u274c Clipwright job failed: {{ $json.body.error || 'unknown error' }}\n\nNothing was published. The machine keeps running tomorrow.",
"additionalFields": {}
},
"id": "tg-job-failed",
"name": "Notify: job failed",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
360,
560
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"content": "## ACT 3 \u2014 Tap \u2705, it gets scheduled\n\nThe Telegram trigger listens for the approval buttons. Every approved clip is scheduled through Clipwright and your self-hosted Postiz instance (which holds every connected account) at a rate of **one post per day**: approve five clips today and you just filled five days of content.\n\nThe next free slot is computed from the **queue the server actually holds** (`GET /api/postiz/scheduled`), not from a counter inside n8n \u2014 two clips approved seconds apart would otherwise both book the same slot and go out together.\n\n**Setup**: none beyond the Telegram credential \u2014 the chat id comes from the button tap itself. Change the channels targeted by *Schedule Postiz post* (by integration id) if you want fewer networks.",
"height": 380,
"width": 400,
"color": 7
},
"id": "note-act3",
"name": "Act 3 note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-560,
800
]
},
{
"parameters": {
"updates": [
"callback_query"
],
"additionalFields": {}
},
"id": "tg-trigger",
"name": "Approval buttons",
"type": "n8n-nodes-base.telegramTrigger",
"typeVersion": 1.2,
"position": [
-80,
900
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
},
"webhookId": "906a710d-3e76-4911-b7e6-f336e6da5d66"
},
{
"parameters": {
"jsCode": "const cb = $json.callback_query || {};\nconst [action, jobId, clipIndex] = String(cb.data || '').split('|');\nreturn [{\n json: {\n action: action || 'skip',\n job_id: jobId || '',\n clip_index: parseInt(clipIndex || '0', 10),\n chat_id: cb.message && cb.message.chat ? cb.message.chat.id : null,\n clip_title: cb.message ? (cb.message.caption || '') : '',\n },\n}];"
},
"id": "parse-button",
"name": "Parse button",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
140,
900
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "c2",
"leftValue": "={{ $json.action }}",
"rightValue": "pub",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "if-approved",
"name": "Approved?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
360,
900
]
},
{
"parameters": {
"jsCode": "// One post per day, derived from the queue the server actually holds.\n// Workflow static data was the obvious place to remember the last slot, but\n// two approvals tapped seconds apart run as two executions that both read the\n// old value and book the SAME slot. The scheduled list is shared state, so\n// counting it cannot race with itself in that way.\nconst queue = $input.first().json.scheduled_posts || [];\nconst item = $('Parse button').first().json;\nconst DAY = 24 * 60 * 60 * 1000;\nconst taken = queue\n .map((p) => Date.parse(p.scheduled_date || p.publishDate || p.date))\n .filter((t) => !Number.isNaN(t))\n .sort((a, b) => a - b);\nlet slot = Date.now() + 10 * 60 * 1000; // never schedule in the past\nfor (const t of taken) {\n if (Math.abs(t - slot) < DAY) slot = t + DAY;\n}\nreturn [{ json: { ...item, scheduled_date: new Date(slot).toISOString() } }];"
},
"id": "reserve-slot",
"name": "Pick next free slot",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
800,
840
]
},
{
"parameters": {
"method": "POST",
"url": "http://localhost:8000/api/postiz/post",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"job_id\": \"{{ $json.job_id }}\",\n \"clip_index\": {{ $json.clip_index }},\n \"platforms\": [\"tiktok\", \"instagram\", \"youtube\"],\n \"scheduled_date\": \"{{ $json.scheduled_date }}\",\n \"timezone\": \"UTC\"\n}",
"options": {}
},
"id": "social-post",
"name": "Schedule social post",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1020,
840
],
"onError": "continueErrorOutput"
},
{
"parameters": {
"chatId": "={{ $('Parse button').first().json.chat_id }}",
"text": "=\ud83d\udcc5 Scheduled! Going out to your connected accounts on {{ $('Pick next free slot').first().json.scheduled_date.slice(0, 10) }}.",
"additionalFields": {}
},
"id": "tg-scheduled",
"name": "Confirm: scheduled",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1240,
780
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"chatId": "={{ $('Parse button').first().json.chat_id }}",
"text": "=\u26a0\ufe0f Could not schedule that clip: {{ $json.error && $json.error.message ? $json.error.message : 'posting failed' }}. Make sure your social accounts are connected in your Postiz instance and POSTIZ_URL / POSTIZ_API_KEY are set on the server.",
"additionalFields": {}
},
"id": "tg-post-failed",
"name": "Confirm: posting failed",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1240,
900
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"chatId": "={{ $('Parse button').first().json.chat_id }}",
"text": "\ud83d\uddd1 Skipped. It stays in your Clipwright dashboard if you change your mind.",
"additionalFields": {}
},
"id": "tg-skipped",
"name": "Confirm: skipped",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
580,
980
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"content": "## ACT 4 \u2014 The feedback loop: learn what worked\n\nOnce a week the machine lists the channels connected in Postiz (`GET /api/postiz/integrations`) and asks for each channel's analytics over the last 7 days (`GET /api/postiz/analytics?integration=<id>&days=7`), then sends you the totals. The analytics endpoint takes one integration id at a time, so the workflow loops over the channels the instance holds. The server needs `POSTIZ_URL` / `POSTIZ_API_KEY` (or per-request `X-Postiz-Key` headers) for these calls.\n\nThe machine that posts is the machine that measures \u2014 so every approval you make next week is informed by what actually landed.",
"height": 340,
"width": 400,
"color": 7
},
"id": "note-act4",
"name": "Act 4 note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-560,
1260
]
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtDay": [
0
],
"triggerAtHour": 18
}
]
}
},
"id": "weekly-schedule",
"name": "Every Sunday 18:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-80,
1360
]
},
{
"parameters": {
"method": "GET",
"url": "http://localhost:8000/api/postiz/integrations",
"options": {}
},
"id": "weekly-channels",
"name": "List channels",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
200,
1360
]
},
{
"parameters": {
"fieldToSplitOut": "integrations",
"options": {}
},
"id": "split-channels",
"name": "One item per channel",
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
360,
1360
]
},
{
"parameters": {
"method": "GET",
"url": "=http://localhost:8000/api/postiz/analytics?integration={{ $json.id }}&days=7",
"options": {}
},
"id": "weekly-impressions",
"name": "Channel analytics",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
520,
1360
]
},
{
"parameters": {
"jsCode": "// One analytics response per connected channel (the endpoint takes a single\n// integration id, so the workflow asks once per channel).\nconst channels = $('One item per channel').all().map((i) => i.json);\nconst responses = $('Channel analytics').all().map((i) => i.json);\n\nconst metricValue = (body) => {\n const m = body.metrics || body.post_metrics || body.analytics || body;\n const v = m.views ?? m.impressions ?? m.plays ?? m.reach ?? 0;\n return Number(v) || 0;\n};\n\nlet total = 0;\nconst lines = channels.map((ch, i) => {\n const value = metricValue(responses[i] || {});\n total += value;\n const label = ch.identifier || ch.name || ch.id || `channel ${i + 1}`;\n return ` \u2022 ${label}: ${value.toLocaleString('en-US')}`;\n});\n\nlet text = `\ud83d\udcca Your week\\n\\n`;\nif (channels.length === 0) {\n text += 'No channels connected in Postiz yet. Connect one and rerun.';\n} else {\n text += `Connected channels: ${channels.length}\\n`;\n text += `Totals (last 7 days): ${total.toLocaleString('en-US')}\\n`;\n text += lines.join('\\n') + '\\n';\n}\nreturn [{ json: { digest: text } }];"
},
"id": "write-digest",
"name": "Write the digest",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
580,
1360
]
},
{
"parameters": {
"chatId": "={{ $('Settings (weekly)').first().json.telegram_chat_id }}",
"text": "={{ $json.digest }}",
"additionalFields": {}
},
"id": "tg-digest",
"name": "Send weekly digest",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
800,
1360
],
"credentials": {
"telegramApi": {
"name": "Telegram bot"
}
}
},
{
"parameters": {
"url": "http://localhost:8000/api/postiz/scheduled",
"options": {}
},
"id": "read-queue",
"name": "Read publishing queue",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
580,
840
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "s0",
"name": "youtube_channel_id",
"value": "YOUR_CHANNEL_ID",
"type": "string"
},
{
"id": "s1",
"name": "telegram_chat_id",
"value": "YOUR_TELEGRAM_CHAT_ID",
"type": "string"
}
]
},
"options": {}
},
"id": "cfg-main",
"name": "Settings",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
60,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "s0",
"name": "telegram_chat_id",
"value": "YOUR_TELEGRAM_CHAT_ID",
"type": "string"
}
]
},
"options": {},
"includeOtherFields": true
},
"id": "cfg-clips",
"name": "Settings (clips)",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
40,
440
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "s0",
"name": "telegram_chat_id",
"value": "YOUR_TELEGRAM_CHAT_ID",
"type": "string"
}
]
},
"options": {}
},
"id": "cfg-weekly",
"name": "Settings (weekly)",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
40,
1360
]
}
],
"connections": {
"Every day 09:00": {
"main": [
[
{
"node": "Settings",
"type": "main",
"index": 0
}
]
]
},
"Channel RSS feed": {
"main": [
[
{
"node": "Pick next video",
"type": "main",
"index": 0
}
]
]
},
"Pick next video": {
"main": [
[
{
"node": "Start Clipwright job",
"type": "main",
"index": 0
}
]
]
},
"Start Clipwright job": {
"main": [
[
{
"node": "Mark video as processed",
"type": "main",
"index": 0
}
],
[
{
"node": "Notify: submit failed",
"type": "main",
"index": 0
}
]
]
},
"Mark video as processed": {
"main": [
[
{
"node": "Notify: clipping started",
"type": "main",
"index": 0
}
]
]
},
"Clips ready (webhook)": {
"main": [
[
{
"node": "Settings (clips)",
"type": "main",
"index": 0
}
]
]
},
"Job completed?": {
"main": [
[
{
"node": "One item per clip",
"type": "main",
"index": 0
}
],
[
{
"node": "Notify: job failed",
"type": "main",
"index": 0
}
]
]
},
"One item per clip": {
"main": [
[
{
"node": "Send clip for approval",
"type": "main",
"index": 0
}
]
]
},
"Send clip for approval": {
"main": [
[],
[
{
"node": "Send clip link instead",
"type": "main",
"index": 0
}
]
]
},
"Approval buttons": {
"main": [
[
{
"node": "Parse button",
"type": "main",
"index": 0
}
]
]
},
"Parse button": {
"main": [
[
{
"node": "Approved?",
"type": "main",
"index": 0
}
]
]
},
"Approved?": {
"main": [
[
{
"node": "Read publishing queue",
"type": "main",
"index": 0
}
],
[
{
"node": "Confirm: skipped",
"type": "main",
"index": 0
}
]
]
},
"Schedule social post": {
"main": [
[
{
"node": "Confirm: scheduled",
"type": "main",
"index": 0
}
],
[
{
"node": "Confirm: posting failed",
"type": "main",
"index": 0
}
]
]
},
"Every Sunday 18:00": {
"main": [
[
{
"node": "Settings (weekly)",
"type": "main",
"index": 0
}
]
]
},
"Write the digest": {
"main": [
[
{
"node": "Send weekly digest",
"type": "main",
"index": 0
}
]
]
},
"Read publishing queue": {
"main": [
[
{
"node": "Pick next free slot",
"type": "main",
"index": 0
}
]
]
},
"Pick next free slot": {
"main": [
[
{
"node": "Schedule social post",
"type": "main",
"index": 0
}
]
]
},
"Settings": {
"main": [
[
{
"node": "Channel RSS feed",
"type": "main",
"index": 0
}
]
]
},
"Settings (clips)": {
"main": [
[
{
"node": "Job completed?",
"type": "main",
"index": 0
}
]
]
},
"Settings (weekly)": {
"main": [
[
{
"node": "List channels",
"type": "main",
"index": 0
}
]
]
},
"List channels": {
"main": [
[
{
"node": "One item per channel",
"type": "main",
"index": 0
}
]
]
},
"One item per channel": {
"main": [
[
{
"node": "Channel analytics",
"type": "main",
"index": 0
}
]
]
},
"Channel analytics": {
"main": [
[
{
"node": "Write the digest",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"pinData": {}
}