DEV Community

Joey
Joey

Posted on

The n8n Workflow That Turns One Blog Post Into 4 Pieces of Content

The n8n Workflow That Turns One Blog Post Into 4 Pieces of Content

TL;DR

I built an n8n workflow that takes one finished blog post and automatically generates:

  1. A LinkedIn thread
  2. A Twitter/X thread
  3. A Reddit post
  4. An email newsletter draft

Setup time: 20 minutes. Reusable forever. Here's how.


Why This Matters

You write one article. The distribution should be automatic.

But most people do it manually:

  • Read article → open Twitter → rewrite as thread → post
  • Read article → open LinkedIn → rewrite as thread → post
  • Read article → open Reddit → write post → schedule
  • Read article → open email tool → write newsletter → queue

Each one takes 30-45 minutes. You just spent 2 hours on distribution when you could have written your next article.

n8n fixes this. One API call. Four pieces of content. Done.


The Workflow (Step-by-Step)

Step 1: Trigger

Webhook listening for a POST with your article body.

Example payload:

{
  "title": "How to build a Stripe webhook that delivers digital products",
  "body": "Long article content here...",
  "topic": "automation"
}
Enter fullscreen mode Exit fullscreen mode

Step 2: AI Rewrite (Claude API)

Use Claude to rewrite your article four different ways.

Prompt for LinkedIn:

"Convert this blog post into a LinkedIn thread (5-7 posts). Each post should be 150 characters max. Hook with a stat or question. Format as numbered list. No hashtags."

Prompt for Twitter/X:

"Convert this blog post into a Twitter thread (8-10 tweets). Max 280 characters per tweet. Lead with the hook. Use simple language. Assume people are scrolling fast. No hashtags."

Prompt for Reddit:

"Write a Reddit post (~400 words) based on this blog post. Be conversational. Lead with a specific problem or insight. Add a real example if possible. No self-promotion."

Prompt for Email:

"Write an email newsletter snippet (~150 words) summarizing this article. Hook in the subject line. Use casual language. End with a CTA pointing to the full article."

Step 3: Format & Store

Output each version to separate files:

  • linkedin-thread.txt (posted manually or via LinkedIn API)
  • twitter-thread.txt (posted manually or via X API)
  • reddit-post.txt (saved for your review)
  • email-newsletter.txt (copied to your email tool)

Step 4: Notification

Send yourself a Slack/Telegram message with all four drafts so you can review, tweak, and post.


The n8n Setup (Copy-Paste Ready)

Nodes

1. Webhook Trigger

Method: POST
Path: /content-repurposer
Authentication: None (or add an API key if you're paranoid)
Enter fullscreen mode Exit fullscreen mode

2. Claude Node #1 (LinkedIn)

Model: claude-3-5-sonnet-20241022
Prompt: [see above]
Input: body field from webhook payload
Enter fullscreen mode Exit fullscreen mode

3. Claude Node #2 (Twitter)

Model: claude-3-5-sonnet-20241022
Prompt: [see above]
Input: body field
Enter fullscreen mode Exit fullscreen mode

4. Claude Node #3 (Reddit)

Model: claude-3-5-sonnet-20241022
Prompt: [see above]
Input: body field
Enter fullscreen mode Exit fullscreen mode

5. Claude Node #4 (Email)

Model: claude-3-5-sonnet-20241022
Prompt: [see above]
Input: body field
Enter fullscreen mode Exit fullscreen mode

6. Text Formatter (combine outputs)

Use: "{{ $node.Claude1.json.content[0].text }}"
Repeat for nodes 2, 3, 4
Format as:
---
LINKEDIN:
{{ output1 }}

TWITTER:
{{ output2 }}

REDDIT:
{{ output3 }}

EMAIL:
{{ output4 }}
---
Enter fullscreen mode Exit fullscreen mode

7. Slack/Telegram Notification

Send the formatted text to your Slack channel or Telegram bot
Enter fullscreen mode Exit fullscreen mode

Cost & Speed

  • Cost per article: ~$0.02 (four Claude API calls)
  • Speed: 15-30 seconds
  • Manual effort: 2 minutes (copy-paste into platforms)
  • Time saved per article: 1.5 hours

Real Numbers

If you publish 1 article/week:

  • Old way: 2 hours/week on distribution = 104 hours/year
  • New way: 10 minutes/week on distribution = 8.67 hours/year
  • You save 95 hours/year. That's 2.4 full weeks of work time.

Next Steps

  1. Clone my n8n template (link below)
  2. Add your Claude API key
  3. Deploy
  4. Send your first article through the workflow
  5. Post the outputs to your social channels

Gotchas

  1. Claude sometimes hallucinates threads. Review before posting. Use the output as a starting point, not gospel.
  2. Twitter threads are hard to get right. They need a hook, a problem, proof, and a CTA. Claude usually nails the first three. You'll tweak the CTA.
  3. Reddit hates self-promotion. The workflow generates good content-first posts, but don't use it to post the same link 10x. You'll get banned.
  4. Different platforms = different vibes. LinkedIn is formal. Twitter is punchy. Reddit is conversational. The prompts bake in these differences, but use your judgment.

What I Built This With

  • n8n: Free tier (infinite workflows)
  • Claude API: Pay-as-you-go (~$0.02/article)
  • No other tools needed

The Bigger Picture

This is one example of "AI-assisted distribution." The pattern scales:

  • Article → 4 social posts
  • Product launch → 10 announcement variations
  • Customer feedback → automated support responses
  • Market research → 5 competitive analysis documents

The bottleneck in most businesses isn't creation. It's distribution and iteration. Automate both.


Build in public. Ship fast. Let the AI handle the tedium.


P.S. If you build this and get results, reply with your numbers. I'm tracking what actually works.


🛠️ Tools I Built

Cold Email Campaign Tracker — Notion Template ($5)
5-database system for tracking campaigns, leads, sequences, and replies. Auto-calculating formulas included.

Zero to 580 Leads in 72 Hours — The Playbook ($29)
The exact system I used to find, verify, and organize 580 qualified leads in 3 days.

Every dollar tracked live → stats.builtbyjoey.com


Top comments (0)