feat(seo): landing page for the n8n content-machine template

/n8n-youtube-shorts-automation answers the two loudest unanswered asks
in the n8n community (a free/self-hostable clipper callable from a
workflow, and why posting video to TikTok/Instagram is so painful), and
gives the Reddit and forum posts a stable URL of ours to point at
instead of a raw file on GitHub.

Also drops the now-false 'there is no official n8n template yet' from
the automation page's body and FAQ, and links the two.
This commit is contained in:
juancarlos.cavero 2026-08-21 21:14:05 +02:00
parent 149ca85831
commit a245f14ec5

View file

@ -821,9 +821,10 @@ deliveries.</p>
<p>No dedicated node is needed: the flow is a generic HTTP Request step that
POSTs to <code>/api/process</code>, 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.</p>
dropping links in Slack, logging to a sheet. The two-step shape above is the whole integration, which is why generic
nodes cover it. There is now also an importable
<a href="/n8n-youtube-shorts-automation">n8n workflow</a> that wires the whole
loop, including channel watching, Telegram approval and scheduled publishing.</p>
<h2>A weekly pipeline in one cron line</h2>
<p>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: `
<h2>Download the workflow</h2>
<p>The JSON lives in the project repository, not behind an email form:</p>
<ul>
<li><a href="${SITE.repo}/blob/main/examples/n8n/openshorts-content-machine.json" rel="noopener">openshorts-content-machine.json</a> — the full four-stage machine described below.</li>
<li><a href="${SITE.repo}/blob/main/examples/n8n/openshorts-clip-and-notify.json" rel="noopener">openshorts-clip-and-notify.json</a> — the minimal version: a form takes a video URL, a signed webhook returns the clips.</li>
<li><a href="${SITE.repo}/tree/main/examples/n8n" rel="noopener">Setup notes</a> — credentials, the webhook secret, and the known limits.</li>
</ul>
<p>In n8n: <strong>Workflows → Import from file</strong>, then fill in your channel
id and chat id where the sticky notes on the canvas say so.</p>
<h2>What the workflow actually does</h2>
<p>Four stages, all on one canvas:</p>
<ol>
<li><strong>Watch the channel.</strong> A daily schedule trigger reads
<code>youtube.com/feeds/videos.xml?channel_id=...</code>, 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.</li>
<li><strong>Clip, then get called back.</strong> One HTTP request to
<code>/api/process</code> carrying a <code>webhook_url</code>. When the job
ends, OpenShorts POSTs once with the finished clips and durable download links.
There is no Wait node anywhere in the workflow.</li>
<li><strong>Approve from your phone.</strong> Each 9:16 clip arrives in Telegram
as a video message with Publish and Skip buttons. A human approves every post,
which is also what separates this from the fully automated pipelines that
YouTube's inauthentic-content policy targets.</li>
<li><strong>Drip-publish and measure.</strong> Approved clips take the next free
daily slot and post to the accounts you connected in OpenShorts. Every Sunday
the workflow reads back the analytics of what it published and sends you
impressions, per-platform split and your best post.</li>
</ol>
<h2>Why posting does not need TikTok or Instagram credentials</h2>
<p>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
<code>POST /api/social/post</code> 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.</p>
<h2>Scheduling that does not double-book</h2>
<p>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
(<code>GET /api/social/scheduled</code>) and picks the first free slot from it,
which is shared state and cannot race with itself that way. The same endpoint,
plus <code>DELETE /api/social/scheduled/{job_id}</code>, is how you inspect or
cancel a post before it goes out.</p>
<h2>What it costs to run</h2>
${pricingParagraph}
<p>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.</p>
<h2>Known limits, before you find them the hard way</h2>
<ul>
<li>Telegram previews a video by URL up to about 20 MB; larger clips arrive as a
link message carrying the same approval buttons.</li>
<li>A YouTube channel RSS feed exposes only the latest 15 videos, so the
back-catalogue drip reaches back that far and no further.</li>
<li>The Telegram Trigger node needs your n8n to have a public https URL, because
Telegram registers a webhook against it. A laptop-local n8n can run every other
stage, but the approval buttons need a deployed instance or a tunnel.</li>
<li>Workflow static data, where the machine remembers which videos it already
processed, only persists on production executions. Test runs from the editor do
not advance it.</li>
</ul>
<h2>Prefer an agent to a workflow?</h2>
<p>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 <a href="/mcp">MCP server and API page</a>, and the raw REST
loop on the <a href="/automate-shorts-api">automation page</a>.</p>
${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 <a href="${SITE.repo}/tree/main/examples/n8n" rel="noopener">github.com/mutonby/openshorts</a>.`,
'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