🔀
AI Content Repurposing Pipeline
Medium•6 tools
Transform one piece of content into multiple formats for different platforms.
ClaudeCrewAIWordPressTwitter APILinkedIn APIYouTube
Workflow Steps
- 1
Source Analyzer Agent identifies key points from original content
- 2
Blog Writer Agent creates a detailed blog post
- 3
Social Media Agent generates platform-specific posts
- 4
Video Script Agent creates YouTube/TikTok scripts
- 5
Newsletter Agent writes email newsletter version
- 6
Publisher Agent schedules and publishes to all channels
Download
Documentation
AI Content Repurposing Pipeline
Overview
This workflow transforms a single piece of content (blog post, video, podcast, etc.) into multiple formats optimized for different platforms. It maximizes content reach and engagement while minimizing manual effort.
Difficulty
Medium — Requires multiple API integrations and content strategy understanding.
Tools Required
| Tool | Purpose |
|---|---|
| Claude | Content generation and adaptation |
| CrewAI | Multi-agent orchestration |
| WordPress | Blog publishing |
| Twitter API | Social media posts |
| LinkedIn API | Professional content |
| YouTube | Video content |
Workflow Steps
Step 1: Source Analysis
from crewai import Agent, Task, Crew
source_analyzer = Agent(
role="Content Source Analyzer",
goal="Extract key insights from source content",
backstory="Expert at identifying the most valuable points from content",
verbose=True
)
analysis_task = Task(
description=f"""
Analyze this content and extract:
1. Main thesis/key message
2. 5-7 supporting points
3. Notable quotes
4. Target audience
5. Tone and style
Content: {source_content}
""",
agent=source_analyzer
)
Step 2: Blog Post Generation
blog_writer = Agent(
role="Blog Post Writer",
goal="Transform source content into engaging blog posts",
backstory="Expert blog writer with SEO knowledge",
verbose=True
)
blog_task = Task(
description="""
Create a blog post from the analyzed content:
- Catchy headline (5 options)
- SEO-optimized introduction
- Well-structured body with headings
- Call-to-action conclusion
- Meta description
""",
agent=blog_writer
)
Step 3: Social Media Adaptation
social_agent = Agent(
role="Social Media Content Creator",
goal="Create platform-optimized social posts",
backstory="Expert in social media content strategy",
verbose=True
)
def create_social_posts(content_analysis):
platforms = {
"twitter": {
"max_length": 280,
"style": "engaging, thread-friendly",
"hashtags": 2-3
},
"linkedin": {
"max_length": 3000,
"style": "professional, value-focused",
"hashtags": 3-5
},
"instagram": {
"max_length": 2200,
"style": "visual, personal",
"hashtags": 10-15
}
}
posts = {}
for platform, config in platforms.items():
task = Task(
description=f"""
Create a {platform} post from this content:
- Follow {config['style']} style
- Max length: {config['max_length']} chars
- Include {config['hashtags']} hashtags
""",
agent=social_agent
)
posts[platform] = task.execute()
return posts
Step 4: Video Script Creation
video_agent = Agent(
role="Video Script Writer",
goal="Create engaging video scripts for short-form content",
backstory="Expert video scriptwriter for YouTube and TikTok",
verbose=True
)
video_task = Task(
description="""
Create video scripts for:
1. YouTube (8-12 minutes, educational style)
2. TikTok/Reels (60 seconds, hook-driven)
Include:
- Hook (first 3 seconds)
- Main content
- Call-to-action
- Visual suggestions
""",
agent=video_agent
)
Step 5: Newsletter Version
newsletter_agent = Agent(
role="Newsletter Writer",
goal="Create engaging email newsletter content",
backstory="Expert email marketer with high open rates",
verbose=True
)
newsletter_task = Task(
description="""
Create a newsletter version:
- Compelling subject line (5 options)
- Personal greeting
- Key insights (bullet format)
- Personal commentary
- Clear CTA
- Unsubscribe footer
""",
agent=newsletter_agent
)
Step 6: Multi-Channel Publishing
from datetime import datetime
def schedule_content(posts, schedule):
"""Schedule content across platforms."""
# WordPress
if schedule.get("blog"):
requests.post(
f"{wordpress_url}/wp-json/wp/v2/posts",
json={
"title": posts["blog"]["title"],
"content": posts["blog"]["content"],
"status": "publish",
"excerpt": posts["blog"]["meta_description"]
},
auth=(wordpress_user, wordpress_app_password)
)
# Twitter
if schedule.get("twitter"):
for i, tweet in enumerate(posts["twitter"]["thread"]):
client.create_tweet(text=tweet)
# LinkedIn
if schedule.get("linkedin"):
linkedin_client.create_post(
text=posts["linkedin"]["content"],
visibility="PUBLIC"
)
Example Usage
Input: Blog Post
# Title: The Future of AI Agents
AI agents are transforming how we work. From coding assistants to
customer support bots, autonomous agents are becoming essential tools.
Key points:
1. Agents can automate repetitive tasks
2. Multi-agent systems enable complex workflows
3. Human oversight remains critical
4. The market is growing rapidly
Output: Multi-Platform Content
| Platform | Content |
|---|---|
| Blog | Full SEO-optimized article (1500 words) |
| Thread of 5 tweets with key insights | |
| Professional post with industry analysis | |
| YouTube | 8-minute video script with visual cues |
| Newsletter | Email with subject line and CTA |
| TikTok | 60-second hook-driven script |
Pros
- ✅ Maximizes content ROI
- ✅ Consistent messaging across platforms
- ✅ Saves hours of manual adaptation
- ✅ Platform-optimized formatting
- ✅ Maintains brand voice consistency
Cons
- ❌ Requires multiple API integrations
- ❌ Quality varies by platform
- ❌ May need manual review before publishing
- ❌ Setup complexity for full automation
When to Use
- Content creators: Bloggers, YouTubers, podcasters
- Marketing teams: Multi-channel campaigns
- Businesses: Consistent brand messaging
- Thought leaders: Building personal brand
- Any content that deserves wider reach
