← Back to Portfolio

AI Content Repurposer — n8n Automation

Javascript Javascript
Node.js Node.js
n8n n8n
AI AI
Project Overview:
  • Project: AI Content Repurposing Automation
  • Platform: n8n (self-hosted workflow automation)
  • AI Model: OpenAI GPT-4o-mini
  • Objective: Transform a single blog post into platform-specific content for Twitter, LinkedIn, Reddit, and email newsletters — each tailored to the audience, format, and conventions of its respective platform.
Background:
Content creation is time-consuming, but repurposing is where most teams lose even more hours. A well-written blog post contains enough material for a week of social content — but adapting it manually to each platform’s tone, character limits, and formatting norms is tedious work. This automation handles the entire transformation: paste a blog URL, and within 30 seconds you have four ready-to-publish pieces of content, each specifically crafted for its target audience.
AI Content Repurposer Cover
How It Works:
Content Extraction:
The workflow begins when a blog post URL is submitted via webhook. An HTTP node fetches the page, and an HTML parser strips out the article body — removing navigation, ads, and sidebars to isolate the core content for AI processing.
Parallel AI Generation:
The extracted content is sent simultaneously to four parallel AI prompts, each specifically engineered for a different platform. The Twitter prompt generates a punchy thread with hooks and hashtags. The LinkedIn prompt creates a professional narrative post. Reddit gets a discussion-style post with community context. And the email version is formatted as a newsletter section with a clear CTA.
Review Queue & Publishing:
  • Twitter Thread: 5–8 tweets, optimized hooks, relevant hashtags, designed for engagement and retweets.
  • LinkedIn Post: Professional tone, storytelling structure, calls for discussion — respects the 3,000 character limit.
  • Reddit Post: Community-aware formatting, no self-promotion feel, genuine value-first approach.
  • Email Newsletter: Clean summary with key takeaways, links back to original post, strong call-to-action.
All outputs are queued in Google Sheets for human review before publishing — giving you final editorial control while saving 90% of the writing effort.
AI Content Repurposer Workflow
Key Results:
  • Speed: One blog post fully repurposed into 4 platform-specific pieces in under 30 seconds.
  • Time Saved: Replaces 2–3 hours of manual content adaptation per blog post.
  • Consistency: Brand voice maintained across all platforms through carefully crafted system prompts.
  • Output Quality: Each piece reads as if written natively for that platform, not as a generic copy-paste.
AI Content Repurposer Dashboard
Tech Stack:
  • Automation: n8n (self-hosted)
  • AI: OpenAI GPT-4o-mini
  • Content Scraping: HTTP Request + HTML Extract
  • Review Queue: Google Sheets API
  • Trigger: Webhook (REST API)
Source Code: View on GitHub →