Send a weekly YouTube email digest with Apify, OpenAI, Gmail and Sheets
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Remove Duplicates
n8n-nodes-base.removeDuplicates - No Operation, do nothing
n8n-nodes-base.noOp - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail
What it does
Quick overview This workflow runs every Monday, reads a YouTube watchlist from Google Sheets, uses Apify to fetch recent video transcripts, summarizes new videos with OpenAI, logs results back to Google Sheets, and sends a single HTML digest email via Gmail. How it works 1. Runs every Monday morning on a schedule. 2. Reads a list of YouTube channel, playlist, or video URLs from a Google Sheets “Channels” tab. 3. Starts an Apify Actor run to expand the sources, collect recent videos, and fetch available transcripts, then polls Apify until the run succeeds or fails. 4. Filters out videos without transcripts and removes any videos that were already summarized in previous workflow runs. 5. Uses OpenAI to generate a structured summary, key takeaways, topic tags, and a worth-watching verdict for each new video. 6. Appends the video metadata and AI output to a Google Sheets “Videos” tab, builds a combined HTML digest, and sends it to the configured recipient via Gmail. Setup 1. Create an Apify account, copy your API token, and add an HTTP Header Auth credential using Authorization: Bearer <YOURAPIFYTOKEN for the Apify HTTP requests. 2. Connect Google Sheets OAuth credentials and create a spreadsheet with a “Channels” tab containing a Source column and a “Videos” tab with headers matching the logged fields. 3. Add OpenAI credentials (or update the model node) and set the summaryModel value if you want to use a different model. 4. Connect Gmail credentials and fill in the Google Sheets document ID (sheetDocId) and digest recipient email address (digestRecipient) in the workflow settings.