Templates / Publish blog posts from YouTube transcripts to WordPress and Telegram with Gemini

Publish blog posts from YouTube transcripts to WordPress and Telegram with Gemini

Needs changes

by Erfan Iranshad · 181 views · created 2026-04-05 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Blog Post Generator Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (17)

Google SheetsGoogle DocsTelegramAI AgentGoogle Gemini Chat ModelWordpress

What it does

Who is this for? Content creators, media teams, and bloggers who run a YouTube channel and want to automatically repurpose video content into SEO-ready blog posts — without manual writing. Ideal for anyone publishing news or educational content in any language. What it does This workflow runs three fully automated pipelines that take a YouTube video all the way to a published WordPress post: Pipeline 1 — Transcript Collector runs on a schedule, fetches new videos from your YouTube playlist via the YouTube Data API, retrieves their full transcripts via RapidAPI, saves each transcript to a Google Doc, and logs metadata to Google Sheets. Pipeline 2 — AI Blog Generator picks up unprocessed transcripts, sends them to a Gemini AI Agent that reads the transcript and your existing published posts (for internal linking), then generates structured blog content: title, body (HTML), summary, tags, Telegram caption, image prompt, and publish priority. Results are saved to a second Google Sheet as pending. Pipeline 3 — Publisher runs every 3 hours, selects the highest-priority pending post (urgent > normal > evergreen), publishes it to WordPress, generates a featured image via an AI image API, uploads and attaches it to the post, then announces it to a Telegram channel. How to set up 1. Import this workflow into n8n. 2. Create two Google Sheets tabs: youtubeVideos and blogsAndNewsUploaded (column structures in the sticky notes). 3. Configure all credentials: Google (Sheets, Docs), YouTube API key, RapidAPI key (youtube-transcript3), Gemini API, WordPress, Telegram Bot, and your AI image generation API. 4. Set your YouTube Playlist ID in the first HTTP node. 5. Set your Google Drive Folder ID for transcript storage. 6. Activate all three schedule triggers independently. Requirements - YouTube Data API v3 key (Google Cloud Console) - RapidAPI subscription to youtube-transcript3 - Google Gemini API key - WordPress site with Application Password - Telegram Bot token + channel - AI image generation API (compatible with OpenAI images format) How to customize - Adjust the Gemini system prompt in the AI Agent node to change content language, tone, or structure. - Change publishpriority logic in the JS node to control posting frequency. - Swap the image generation API with any provider (DALL-E, Stability AI, etc.). - Add a Filter node before publishing to require manual approval of pending posts.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.