This n8n automation monitors a YouTube channel for new videos and generates well-structured Medium articles using Claude AI, based on the video transcripts. It formats the content in HTML and emails the result for quick publishing.
If you're a content creator who wants to effortlessly repurpose your YouTube videos into Medium blog posts with proper formatting, SEO-friendly titles, and links—this automation is for you.
- n8n: Low-code automation platform
- Claude AI via OpenRouter: Converts transcripts into article content
- Google Sheets: Tracks the last processed video
- Custom HTML Formatter: Prepares the article in publish-ready form
- Gmail Node: Sends the result via email
- YouTube RSS: Detects new video uploads
- Schedule Trigger: Runs every 6 hours.
- YouTube RSS Reader: Checks for new videos.
- Google Sheets: Verifies if the video is new.
- Transcript Fetcher: Retrieves transcript via your API.
- Claude AI Prompt: Generates Medium content.
- JS Formatter: Beautifies the article in HTML.
- Email Sender: Sends Medium-ready article.
- Sheet Updater: Logs the last checked video.
- YouTube Channel RSS URL
- Claude/OpenRouter API key
- Google Sheet with
Last Check Time - Your transcript API endpoint
- Gmail credentials
- Claude AI prompt tailored to your voice
- Email titled:
📝 Medium Article Ready: [Title] - Medium-formatted article with title, subtitle, thumbnail, and original video link
- HTML content ready to copy-paste or publish
- Clone this repo or import the JSON into your n8n instance.
- Configure the required credentials (OpenRouter, Gmail, Google Sheets).
- Deploy and run the flow.
- Sit back and check your inbox!
Crafted by Didi Berman – AI automation engineer and trauma-informed creator.
MIT