Repurpose YouTube captions into social, community, and email content with OpenAI and Notion
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Notion.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Fetch Latest YouTube Video (HTTP Request): calls an HTTP API
- Fetch YouTube Captions (HTTP Request): calls an HTTP API
- Check Caption Availability (If): checks a condition and branches into true / false
- Fetch YouTube Transcript (HTTP Request): calls an HTTP API
- Format YouTube Transcript (Code): runs custom JavaScript code
- Facebook Content Agent (AI Agent): runs an AI agent, with model: OpenAI Facebook Post
- Email Campaign Agent (AI Agent): runs an AI agent, with model: OpenAI Email Draft
- Skool Announcement Agent (AI Agent): runs an AI agent, with model: OpenAI Skool Content
- Udemy Content Agent (AI Agent): runs an AI agent, with model: OpenAI Udemy Script
- Notion: uses Notion
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Facebook Content Agent (v1.9), Email Campaign Agent (v1.9), Skool Announcement Agent (v1.9)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Facebook Content Agent (v1.9), Email Campaign Agent (v1.9), Skool Announcement Agent (v1.9), Udemy Content Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Manual Trigger
n8n-nodes-base.manualTrigger - Notion
n8n-nodes-base.notion - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs on a schedule or manually to fetch your latest YouTube video, download its official captions via the YouTube Data API, and use OpenAI to draft platform-specific marketing copy, saving Facebook, email, Skool, and Udemy drafts…