Reviving an outdated archive one draft at a time

Plenty of sites carry hundreds of articles written years ago: outdated facts, broken advice, a tone that no longer fits. Rewriting them by hand never reaches the top of the list. A popular solution is a scheduled automation in n8n that picks the oldest article on each run, analyses what is wrong with it, rewrites it and stores a fresh draft. People building these pipelines often split the work between a fast, cheap model for analysis and a stronger one for the rewrite, and then struggle with prompts that produce bland or inconsistent results.
This guide builds that workflow from scratch with n8n's standard nodes, explains how to write prompts that give each stage a clear job, and shows where a free keyless model is enough and where a stronger commercial model, such as one of Anthropic's, is worth paying for. The free endpoint used here is independent and not affiliated with Anthropic. Everything ends in a draft a person approves; nothing is published automatically.
Frequently asked questions
What is n8n?
An open-source workflow automation tool. You connect nodes, such as triggers, HTTP requests and database operations, into pipelines that run on a schedule or in response to events. It can be self-hosted or used as a hosted service.
Why split analysis and rewriting into separate steps?
Each prompt does one job well. The analysis step lists what is outdated or weak; the rewrite step uses that list as instructions. Combining both in one prompt usually yields a vaguer result.
How does a cheap model differ from a strong one in this pipeline?
A cheap model is fine for structured tasks like extracting claims or scoring freshness. A stronger model writes noticeably better long-form prose, keeps facts straight and follows style guides more faithfully.
Which is better for the rewrite, a free open model or a paid one?
For short posts and simple refreshes, a 35B open model gives usable drafts. For long, nuanced articles where quality is the point, a paid frontier model usually produces drafts that need far less editing.
Can the AI check whether facts are still true?
Not reliably on its own. Models can flag claims that look time-sensitive, but verifying them needs a person or an external source. Treat AI output as a draft, never as a fact check.
What is the free endpoint used here?
A keyless, OpenAI-compatible API at https://api.anthropickeyfreeapi.com/v1 serving free-ai, an independent open-weight model of about 35B parameters. It is not Claude.
Will search engines penalise AI-rewritten posts?
Search engines generally judge content by usefulness rather than how it was written. A rewrite that a person checks, corrects and improves is much safer than unreviewed bulk output.
Step by step
- Add a schedule trigger — Create a workflow with a Schedule Trigger that runs every hour or at whatever pace you can review drafts.
- Fetch the oldest unrefreshed post — Use your CMS or database node to select one post ordered by date where the refreshed field is empty.
- Analyse the post — Send the title and body to the chat completions endpoint with an audit prompt that returns JSON lists of outdated, missing and strong points.
- Rewrite with the findings — Send the analysis and the original to a second request with a style guide, asking for a Markdown draft and [check] markers for uncertain facts.
- Save as a draft and mark processed — Store the draft as a revision or in a review table, set the refreshed field and route any errors to a separate failure branch.
The shape of the workflow
The pipeline has five stages. A schedule trigger starts a run. A database or CMS node fetches the single oldest post that has not been refreshed yet. An analysis request asks a model to list what is outdated, missing or weak. A rewrite request turns the original plus that list into a new draft. Finally, the draft is saved back as a revision or into a review table, and the post is marked as processed.
Processing one post per run keeps everything simple. Failures affect a single article, rate limits are never a concern and you can review drafts at a comfortable pace.
One post per run
Batching feels efficient but makes failures messy. One post per run, scheduled every hour or so, refreshes a large archive in weeks without supervision.
Track state explicitly
Add a field such as refreshed_at to each post, or keep a separate table. The fetch step selects the oldest post where that field is empty.
Calling the model from n8n
The most portable way to call any OpenAI-compatible model from n8n is the HTTP Request node. Set the method to POST, the URL to the chat completions endpoint and the body to JSON. For the free endpoint on this site, no authentication is needed. For paid providers, add an authorisation header from n8n credentials so keys never appear in the workflow itself.
The JSON body below is what the analysis node sends. n8n expressions inside double curly braces insert the post's title and body from the previous node.
Read the reply with an expression
The model's text sits at choices[0].message.content in the response. A Set node can extract it into a clean field for the next step.
Keep posts inside the context window
The free endpoint accepts up to 32,000 tokens of context. Very long posts should be truncated or split by section before analysis.
{
"model": "free-ai",
"temperature": 0.2,
"max_tokens": 800,
"messages": [
{
"role": "system",
"content": "You audit old blog posts. Return JSON with keys: outdated (list of claims that may be out of date), missing (list of topics a reader would expect today), keep (list of strong points to preserve), tone (one sentence on the current tone)."
},
{
"role": "user",
"content": "Title: {{ $json.title }}\n\n{{ $json.body }}"
}
]
}
Writing prompts that do one job each
Most disappointing pipelines share one flaw: prompts that ask for everything at once. Rewrite this post to be better, more modern and SEO friendly gives the model no criteria, so it produces generic prose. Splitting the job and being explicit about each part changes the results dramatically.
The analysis prompt should produce structured findings, not prose. The rewrite prompt should receive those findings as a checklist along with clear rules about voice, length and structure.
Give the rewrite a style guide
Include three to five concrete rules: who the reader is, sentence length, words to avoid, how to format headings. Rules beat adjectives like engaging or professional.
Tell it what to preserve
Old posts often contain a unique example or a personal observation that made them worth reading. The keep list from the analysis protects those from being sanded away.
Forbid invented facts
Instruct the model to mark any claim it cannot support with a placeholder such as [check] rather than inventing figures. A reviewer can then fill them in.
The rewrite request
The rewrite node sends the original post together with the analysis JSON. Its system prompt focuses entirely on writing. Set temperature a little higher than for analysis, and allow enough output tokens for the full article; the free endpoint can return up to 16,000 tokens in one reply.
If you split models, this is where a stronger paid model pays off. Long-form writing quality is one of the clearest areas where frontier models beat mid-sized open models. Many people run analysis on a cheap model and the rewrite on a stronger one.
- System prompt: audience, voice rules, structure, length range
- User message: the analysis JSON followed by the original post
- Instruction to keep headings in Markdown for easy import
- Instruction to mark uncertain facts with [check]
- Instruction not to add a conclusion that only repeats the intro

Saving drafts, not publishing
The last stage writes the draft somewhere a person will look at it. Most CMS platforms support revisions or draft status, which n8n can set through their API nodes or HTTP requests. Alternatively, write to a spreadsheet or database table with the original, the analysis and the new draft side by side.
Never let the pipeline publish directly. Automated rewrites occasionally lose an important nuance, introduce a subtle error or drift in tone. A quick human review catches these before readers do.
Show the analysis to the reviewer
Seeing the list of outdated claims next to the draft makes review faster. The reviewer can check whether each item was actually addressed.
Handling errors and limits
Configure the HTTP Request nodes to retry on failure with a delay of several seconds. The free endpoint returns 429 with a Retry-After header if an IP sends more than one request per second, beyond a short burst of three, or more than two at once. It returns 503 when busy; waiting 2 to 5 seconds and retrying is enough. Since the workflow handles one post per run, it will rarely hit either.
Add an error branch that marks the post as failed with the error message, so it does not block the queue. A separate workflow can retry failed posts later. For more on robust retry patterns, see handling overloaded and rate-limit errors.
Validate the analysis JSON
If the analysis does not parse as JSON, retry once with a reminder of the format. If it still fails, send the post to the error branch rather than rewriting without guidance.

Deciding which model handles which stage
A practical split is cheap model for analysis, strongest affordable model for rewriting, and cheap model again for small finishing touches such as a meta description or a title suggestion. You can run the whole pipeline on the free endpoint to get it working, then swap only the rewrite node to a paid provider if the drafts need too much editing.
To decide, rewrite five posts with each option and time your own editing. The model that saves the most editor time is the cheaper one, regardless of its price per token. Our comparison of small vs large models discusses this trade-off in more depth.
Watch the cost per refreshed post
Log tokens per run for each stage. Multiplied by your archive size, it gives a clear total before you commit to a paid model for thousands of posts.
Keeping the archive coherent
Refreshing posts one by one can create inconsistency: different terms for the same thing, or internal links to articles that were renamed. Maintain a short glossary of preferred terms and include it in the rewrite prompt. After a batch of refreshes, run a link checker over the site.
Some posts are better retired than rewritten. Ask the analysis step to recommend one of three actions: refresh, merge into another post or retire. Use that recommendation as a hint for your editorial decision.
Preserve URLs
Update content in place rather than creating new URLs. Existing links and search rankings point to the old address, and a rewrite should benefit from them.

Privacy and content ownership
Published blog posts are usually public already, which makes them a good fit for a free endpoint. Drafts, unpublished notes or posts containing personal information about readers deserve more care. The free endpoint keeps a technical log of each request, including time, IP and token counts, and offers no data processing agreement.
free-ai is fine-tuned to refuse far less than commercial assistants, which helps with blunt editorial feedback, while still holding two hard rules: no sexual content involving minors and no operational instructions for mass-casualty weapons. Ownership of the rewritten text and responsibility for its accuracy remain yours.
Send a prompt to the keyless free-ai endpoint from the home page and see how it handles your own task, no signup needed.
Read also
- Why do Claude usage limits run out after just a few messages?
- Claude Pro vs ChatGPT Plus: which is better for learning to code?
- Are free Claude credits, gift trials and shared accounts safe?
- How to call an AI chat API from SuiteScript and back-office jobs
- Anthropic Messages API vs OpenAI chat completions: which to code for?