What This Workflow Does
This n8n workflow solves the common content distribution challenge faced by technical writers, developers, and content marketers. When you publish a new blog post in your Strapi CMS, this automation automatically cross-posts it to both Medium and Dev.to platforms with proper formatting and attribution.
Manual cross-posting is time-consuming and error-prone. This workflow ensures your content reaches multiple developer communities simultaneously while maintaining consistency across platforms. It handles the content transformation needed for each platform's formatting requirements and preserves your canonical links.
How It Works
1. Trigger on new Strapi content
The workflow activates whenever a new blog post is published in your Strapi CMS. It captures the post title, content, featured image, tags, and metadata.
2. Format content for each platform
The workflow transforms the raw content to match Medium and Dev.to's specific formatting requirements, including image handling, code blocks, and link formatting.
3. Publish to Medium
Using Medium's API, the workflow creates a new story with your content, sets the publication status, adds relevant tags, and includes canonical URL back to your original post.
4. Publish to Dev.to
Similarly, the workflow posts to Dev.to with proper markdown formatting, tags, and canonical link. It handles Dev.to's specific front matter requirements.
Who This Is For
This automation is ideal for technical content creators, developer advocates, and SaaS companies who publish educational content. It's particularly valuable for:
- Developer-focused blogs that want to reach both Medium and Dev.to audiences
- Content teams managing multiple distribution channels
- Technical writers who want to maximize content reach without manual work
- Startups looking to establish thought leadership across platforms
Pro tip: Use this workflow in combination with UTM parameters to track traffic sources and measure which platform drives the most engagement back to your site.
What You'll Need
- A Strapi CMS instance with content API enabled
- Medium API credentials (Integration Token)
- Dev.to API key
- n8n instance (self-hosted or cloud)
- Basic understanding of webhook configurations
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure the Strapi webhook trigger with your content type
- Add your Medium and Dev.to API credentials
- Test with a sample post and adjust formatting as needed
- Activate the workflow and publish new content
Key Benefits
Save 2-3 hours per post by eliminating manual cross-posting work. The automation handles all platform-specific formatting instantly.
Increase content reach by consistently distributing to multiple developer communities without additional effort from your team.
Maintain brand consistency with standardized formatting and canonical links across all platforms.
Reduce human error by automating the repetitive aspects of content distribution.
Gain back creative time for your writers to focus on content quality rather than distribution logistics.