Skip to content

Automate Content Creation. Turn YouTube videos into Medium-ready articles using n8n, Claude AI, and Google Sheets – fully automated.

Notifications You must be signed in to change notification settings

didiberman/youtube-medium-article-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

📝 Medium Article Autopublisher

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.

💡 Use Case

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.


🔧 Tech Stack

  • 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

🔁 Flow Overview

  1. Schedule Trigger: Runs every 6 hours.
  2. YouTube RSS Reader: Checks for new videos.
  3. Google Sheets: Verifies if the video is new.
  4. Transcript Fetcher: Retrieves transcript via your API.
  5. Claude AI Prompt: Generates Medium content.
  6. JS Formatter: Beautifies the article in HTML.
  7. Email Sender: Sends Medium-ready article.
  8. Sheet Updater: Logs the last checked video.

📥 Input Needed

  • 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

📤 Output

  • 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

🚀 How to Use

  1. Clone this repo or import the JSON into your n8n instance.
  2. Configure the required credentials (OpenRouter, Gmail, Google Sheets).
  3. Deploy and run the flow.
  4. Sit back and check your inbox!

🤝 Credits

Crafted by Didi Berman – AI automation engineer and trauma-informed creator.


📜 License

MIT

About

Automate Content Creation. Turn YouTube videos into Medium-ready articles using n8n, Claude AI, and Google Sheets – fully automated.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published