Tutorials
Content Publishing Pipeline with n8n for Small Teams
Automate draft review, SEO checks, image optimisation, and multi-platform publishing with n8n workflows and local AI tools.

Content Publishing Pipeline with n8n for Small Teams
Small teams producing content face a familiar bottleneck: drafting happens fast, but the pipeline from draft to published post involves reviews, formatting, SEO, images, and multiple distribution channels. n8n can automate most of those steps while keeping your content workflow transparent and auditable.
Where automation fits in content publishing
Not every creative step should be automated. The sweet spot is the mechanical work that follows writing:
- **SEO metadata generation** — extract keywords, write meta descriptions, check title length
- **Image processing** — resize, compress, generate alt text
- **Format validation** — check heading structure, internal links, word count
- **Multi-platform distribution** — push to blog, newsletter, social channels
For the fundamentals of n8n, start with Build Your Own AI Assistant with n8n.
Design the workflow
Stage 1: Draft submission
Create a webhook endpoint in n8n where your team submits drafts. Attach metadata: title, author, category, target publish date. Store the draft in a staging database or file system.
Stage 2: Automated quality checks
Run each draft through a local LLM for:
- **Spelling and grammar** — basic language check
- **SEO title optimisation** — suggest improvements if title is too short or long
- **Internal link audit** — flag missing internal links
- **Reading level analysis** — ensure readability matches your audience
```yaml
Workflow stages:
1. Webhook receives draft
2. HTTP node sends to Ollama for SEO checks
3. IF node: quality_score > 80% → auto-advance
4. ELSE → notify author with specific improvement suggestions
5. Human approval node required before publication
```
Stage 3: Image pipeline
For any images in the draft:
1. Extract image references
2. Resize to standard blog dimensions (1200×630px for social sharing)
3. Generate alt text using a local vision model
4. Upload to your image storage or CDN
5. Replace local references with final URLs
Stage 4: Distribution
Once the draft passes quality checks and receives human approval:
| Channel | n8n action | Notes |
|---------|-----------|-------|
| Blog CMS | API call to create post | Send HTML/MDX content |
| Newsletter | Email node via SMTP | Send excerpt + link |
| Slack | Webhook notification | Share with team |
| RSS | Update feed file | Append new item |
Handling revisions and versioning
Track drafts through their lifecycle. Each revision should update the same record rather than creating duplicates. Store:
- Draft version history
- Review comments from each stage
- Publishing timestamp and channel status
For organising internal workflows, see Create an Internal Knowledge Assistant with Open WebUI and Ollama.
Measuring pipeline performance
Add an n8n node that writes metrics to a dashboard:
- Average time from draft to publish
- Rejection rate by author or category
- Most common quality check failures
- Distribution success rate per channel
Conclusion
A content publishing pipeline in n8n eliminates the repetitive steps that slow small teams down. The writer writes; the automation handles formatting, checking, and distribution. Keep the creative work human and the mechanical work automated.
FAQ
Can this work with a static site generator?
Yes. n8n can write the final markdown file to your repo, commit it, and trigger a rebuild via webhook.
Does the AI model need to be big?
For SEO checks and editing, a 7B model is sufficient. Image alt-text generation benefits from a vision-capable model.
How do I handle rejected drafts?
Route rejected drafts back to the author with the specific quality report attached. Add a "resubmit" webhook so the author can revise and retry without starting over.


