Generate blog posts and tweet threads from YouTube with Supadata and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when someone submits an n8n form (“YouTube Video to Blog Post + Tweet Thread”). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“YouTube Video to Blog Post + Tweet Thread”).
- Fetch Transcript (HTTP Request): calls an HTTP API
- Is Async Job? (If): checks a condition and branches into true / false
- Wait: pauses before continuing
- Extract Transcript (Code): runs custom JavaScript code
- Poll Transcript Job (HTTP Request): calls an HTTP API
- Write Blog Post (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Write Tweet Thread (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Is Job Done? (If): checks a condition and branches into true / false
Services it uses
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 (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
Quick overview This workflow collects a YouTube video URL via an n8n form, fetches the video transcript from Supadata (with async polling for longer videos), and uses OpenAI to generate a standalone blog post and a 5–8 tweet thread from the same transcript.…