Commit graph

5 commits

Author SHA1 Message Date
juancarlos.cavero
bffdbc1b75 chore(examples): title the template for how the marketplace is searched
The guidelines ask for the main nodes in the title, and the highest
performing template on this account (20k views) names the destination
and the word viral. The previous title said neither, and it also buried
the one thing no competing template does: it fires on every new upload
rather than on a video you hand it.
2026-08-22 17:54:47 +02:00
juancarlos.cavero
2d1ca04032 fix(examples): meet the n8n template submission guidelines
Read the guidelines properly (n8n.notion.site/Template-submission-guidelines)
and the template failed three of them.

A single sticky explaining the whole template is mandatory and there
wasn't one, only per-stage notes; the overview sticky now carries the
full description in the sections reviewers expect (who it's for, what it
does, setup, requirements, customising), and the stage notes drop to the
neutral colour the guidelines ask for so the overview is the one that
stands out.

The title now follows the required 'action verb + object + destination'
shape instead of a product name plus a slogan.

Configuration is grouped into Set nodes, which the guidelines ask for and
which fixes a genuinely bad bit of design: pasting the same Telegram chat
id into six separate nodes. Each trigger branch gets its own Settings
node because a branch cannot read a node another branch ran, so it is
three edit points now, all named and in one place per branch.

Re-tested end to end after the restructure: the webhook branch still
splits the clips and delivers them to Telegram, which is the path the new
Set node sits in.
2026-08-22 17:51:40 +02:00
juancarlos.cavero
119a6da8be feat(seo): canvas screenshot on the n8n page, and link it from the landing
The page opened with a TL;DR box, which is the wrong lead for a page
whose subject is a workflow: the canvas shows in one glance what four
paragraphs were describing. Screenshot in, summary box out, and the
TL;DR block in render.js is now optional so other pages can make the
same call.

Two nodes in act 3 sat on identical coordinates after the queue node
landed, so the template opened with overlapping labels on import.

The landing named n8n in the hero without linking anywhere; it now
points at the workflow page, in the app and in the crawler fallback
that has to mirror it.
2026-08-21 21:41:58 +02:00
juancarlos.cavero
149ca85831 feat(api): scheduled-post queue endpoints, and fix the template's slot race
GET /api/social/scheduled lists the caller's pending posts and
DELETE /api/social/scheduled/{job_id} cancels one. Upload-Post's own
schedule endpoint takes no profile filter and returns the whole managed
account, so both filter by the caller's profile server-side — the same
multi-tenant trap as the impressions endpoint, and the reason cancel
404s instead of 403s on someone else's job.

The template picked its next daily slot from n8n workflow static data,
which two approvals tapped seconds apart both read before either wrote,
booking the same slot and publishing together (seen in a live run). It
now derives the slot from the server-held queue, which is shared state
and cannot race with itself that way.
2026-08-21 21:03:41 +02:00
juancarlos.cavero
6f76e875cd feat(examples): n8n Content Machine template + webhookId fix
New openshorts-content-machine.json: daily channel-RSS watcher (one
video per day, new upload first then back catalog), clips delivered to
Telegram with approve/skip buttons, approved clips drip-scheduled via
/api/social/post, weekly analytics digest from the new endpoints. A 402
pauses the machine with a Telegram notice and leaves the video
unmarked so the next day retries it.

Both templates now carry webhookId on webhook-based trigger nodes:
without it n8n imports the node but never registers the webhook, so
every incoming call 404s. Found by importing and executing the
workflow against a live n8n.
2026-08-21 19:16:53 +02:00