Summarize new YouTube videos with Apify and OpenAI and log to Notion and Slack
UnknownWhat this workflow does
This AI workflow has 19 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model, Notion, Slack and Gmail and 1 more.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set the channels and the topics you track (Edit Fields (Set)): sets 6 fields: channels, maxVideos, topics…
- List the newest videos on each channel (Apify): run actor and get dataset (actors)
- Skip videos seen in a previous run (Remove Duplicates): removes duplicate items
- Collect the new video URLs into one list (Code): runs custom JavaScript code
- Fetch transcripts for the new videos only (Apify): run actor and get dataset (actors)
- Did the video have captions? (If): checks a condition and branches into true / false
- Find your topics and build jump links (Code): runs custom JavaScript code
- Log it without a transcript (Edit Fields (Set)): sets 15 fields: Title, URL, Channel…
- Summarize and score the video (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
- Put the summary back on the video (Merge): merges the data from its input branches
…plus 7 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in List the newest videos on each channel, Fetch transcripts for the new videos only, Optional: summarize a fixed list of videos instead).
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Apify
@apify/n8n-nodes-apify.apify - Remove Duplicates
n8n-nodes-base.removeDuplicates - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Notion
n8n-nodes-base.notion - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Filter
n8n-nodes-base.filter
From the author
Quick overview Each morning this lists a channel's newest videos, pulls the YouTube transcript for the ones it has not seen, writes an AI summary, takeaways and a relevance score into a Notion database, and posts to Slack only when a video mentions the topics…