From a245f14ec541b2f4267966f317f0c83eb0713e01 Mon Sep 17 00:00:00 2001
From: "juancarlos.cavero"
No dedicated node is needed: the flow is a generic HTTP Request step that
POSTs to /api/process, then a Webhook trigger that receives the
completion payload and fans out to whatever comes next, posting to socials,
-dropping links in Slack, logging to a sheet. There is no official n8n template
-yet; the two-step shape above is the whole integration, which is why generic
-nodes cover it.
Because the API is one POST, scheduling is whatever scheduler you already @@ -857,7 +858,7 @@ ${faqBlock([ }, { q: 'Is there an n8n integration for OpenShorts?', - a: 'There is no official n8n template yet, and none is required: the integration is a generic HTTP Request node posting to /api/process plus a Webhook trigger receiving the completion payload. Any platform with those two primitives, n8n, Zapier, Make or plain cron, can run the whole loop.', + a: 'Yes: an importable workflow at /n8n-youtube-shorts-automation watches a YouTube channel, clips each video, sends the clips to Telegram for approval and schedules the approved ones to your socials. Nothing forces you to use it, though, since the integration is just an HTTP Request node posting to /api/process plus a Webhook trigger.', }, { q: 'Do automated API calls cost more than using the dashboard?', @@ -882,6 +883,140 @@ ${sources([ ], }) +/* The n8n community's two loudest unanswered asks, checked August 2026, are + * "is there a free/self-hostable clipper I can call from a workflow" and + * "why is posting a video to TikTok/Instagram so painful". This page answers + * both with a workflow that exists, and gives the Reddit/forum posts a stable + * URL to point at that is ours rather than a raw file on GitHub. */ +const n8nTemplate = () => ({ + path: '/n8n-youtube-shorts-automation', + title: 'n8n Template: Clip Your YouTube Channel and Auto-Post Shorts | OpenShorts', + description: + 'A free n8n workflow that watches your YouTube channel, clips every video into vertical shorts, sends them to Telegram for one-tap approval, and drip-publishes to TikTok, Instagram and YouTube. Webhook-driven, no polling loop. MIT-licensed clipper behind it.', + h1: 'The n8n content machine: your channel clips itself, you approve from your phone', + breadcrumb: [{ name: 'n8n template' }], + published: '2026-08-21', + updated: '2026-08-21', + tldr: [ + 'A single importable n8n workflow runs the loop: it reads your channel RSS once a day, clips one video through the OpenShorts API, delivers each finished 9:16 clip to Telegram with Publish and Skip buttons, and schedules the approved ones one per day to every social account you connected.', + 'It needs two credentials, an OpenShorts API key and a Telegram bot token. No TikTok or Instagram OAuth app, no public CDN URL for the video file, and no Wait-node polling loop: the clipper calls a webhook exactly once when the job ends, success or failure.', + 'The workflow JSON is free and MIT-licensed, and so is the clipper behind it. It runs against the hosted API (20 free minutes a month, paid plans from $12/month) or against your own self-hosted instance by changing one base URL.', + ], + body: ` +
The JSON lives in the project repository, not behind an email form:
+In n8n: Workflows → Import from file, then fill in your channel +id and chat id where the sticky notes on the canvas say so.
+ +Four stages, all on one canvas:
+youtube.com/feeds/videos.xml?channel_id=..., which needs no YouTube
+API key, and picks one video: your newest upload, or if there is nothing new,
+the next unprocessed video from your back catalogue. One video a day keeps the
+minute burn predictable, and a 402 (out of minutes) pauses the machine with a
+Telegram notice instead of failing silently./api/process carrying a webhook_url. When the job
+ends, OpenShorts POSTs once with the finished clips and durable download links.
+There is no Wait node anywhere in the workflow.The usual wall in an n8n video workflow is the publishing half: TikTok
+requires an audited app to post publicly, and the Instagram Graph API refuses
+anything that is not a public static URL, which is why Google Drive links fail
+there. This workflow sidesteps both by posting through
+POST /api/social/post against the networks you connected once in
+your OpenShorts account. The workflow itself holds no social credentials, and
+the clip file is already on durable storage, so the public-URL requirement is
+satisfied before Instagram ever sees it.
Approving two clips seconds apart used to be enough to publish them at the
+same minute: each execution read the same in-memory counter before either wrote
+back. The workflow now asks the server for the queue it actually holds
+(GET /api/social/scheduled) and picks the first free slot from it,
+which is shared state and cannot race with itself that way. The same endpoint,
+plus DELETE /api/social/scheduled/{job_id}, is how you inspect or
+cancel a post before it goes out.
API calls draw from the same minute balance as the dashboard: no per-call +price, no automation surcharge, and no meter at all on the self-hosted edition. +Telegram bots are free, and n8n runs wherever you already run it.
+ +The same account exposes an MCP server, so Claude, ChatGPT or an n8n AI Agent +node can drive the pipeline as tools instead of fixed steps. That surface is +documented on the MCP server and API page, and the raw REST +loop on the automation page.
+ +${faqBlock([ + { + q: 'Is there a free n8n template to turn long videos into shorts?', + a: 'Yes. OpenShorts publishes an MIT-licensed n8n workflow that clips a YouTube channel automatically and posts the approved clips to TikTok, Instagram and YouTube. The JSON is in the project repository with no email gate, and the clipper behind it is open source, so it can run entirely on your own hardware.', + }, + { + q: 'How do I post a video to TikTok or Instagram from n8n?', + a: 'Neither platform has a native n8n node, and both have hard requirements: TikTok needs an audited app for public posts and Instagram needs a public static URL for the media. Posting through the OpenShorts API avoids both, because the accounts are connected once in your OpenShorts account and the clip already lives on durable public storage.', + }, + { + q: 'Does the workflow poll for the clipping job to finish?', + a: 'No. Clipping a real video takes minutes, so the workflow passes a webhook_url with the job and OpenShorts calls it exactly once when the job reaches a terminal state. Failed jobs fire the same webhook with an error field, so the flow never hangs.', + }, + { + q: 'Can the clips publish without me approving them?', + a: 'They can, by connecting the posting step directly to the webhook branch, but the template ships with the approval gate on purpose: unreviewed automated publishing is what YouTube\'s inauthentic-content policy targets, and one bad clip lands on your own audience.', + }, +])} + +${sources([ + `Workflow JSON and setup notes in the project repository at github.com/mutonby/openshorts.`, + 'TikTok and Instagram publishing constraints checked against their developer documentation, August 2026.', +])} +`, + faq: [ + { + q: 'Is there a free n8n template to turn long videos into shorts?', + a: 'Yes: OpenShorts ships an MIT-licensed n8n workflow that clips a YouTube channel automatically and posts approved clips to TikTok, Instagram and YouTube. The JSON is public in the repository with no email gate.', + }, + { + q: 'How do I post a video to TikTok or Instagram from n8n?', + a: 'Post through the OpenShorts API: the social accounts are connected once in your OpenShorts account, so the workflow needs no TikTok app audit and no public CDN URL for the file.', + }, + ], +}) + const mcpAgentsPage = () => ({ path: '/mcp', title: 'Automate Video Clipping with AI Agents: MCP Server, API & Webhooks | OpenShorts', @@ -1064,6 +1199,7 @@ export function buildPages() { youtubeConverter(), mcpAgentsPage(), automateShorts(), + n8nTemplate(), ] } @@ -1085,6 +1221,7 @@ export function relatedFor(page, all) { '/youtube-to-shorts-converter': 'Paste a link, get 9:16 clips with subtitles.', '/mcp': 'Drive the whole pipeline from Claude, ChatGPT or n8n.', '/automate-shorts-api': 'One POST in, one signed webhook out, no polling.', + '/n8n-youtube-shorts-automation': 'The importable workflow: channel in, approved shorts out.', } // Walk the ring starting after this page so each page links to a different // three. Slicing the same head every time would leave the last pages in the