Create AI newsletters from YouTube with LangChain, Gemini, Apify & Gmail
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“Newsletter”). Along the way it connects Gmail, Google Sheets and Google Gemini Chat Model. It also calls api.apify.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Newsletter”).
- HTTP Request: calls an HTTP API
- You Tube Transcript Scraper (HTTP Request): calls api.apify.com (POST)
- You Tube Thumbnail Scraper (HTTP Request): calls api.apify.com (POST)
- HTTP Request: calls an HTTP API
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Edit Fields (Edit Fields (Set)): sets 2 fields: Thumbnail, You Tube Video Link
- Information Extractor: extracts structured fields from text with AI, with model: Google Gemini Chat Model
- Merge: merges the data from its input branches
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor
From the author
Video → Newsletter AI Agent This n8n workflow converts a YouTube video into a polished, email-ready newsletter. It scrapes the transcript, extracts a thumbnail/logo and brand color theme, uses multiple AI agents to (1) clean & summarize the transcript into…