Auto-upload Instagram videos to YouTube with GPT-4o and Google Sheets tracking
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day). Along the way it connects Facebook Graph API, OpenAI Chat Model, YouTube and Google Sheets.
How it runs
Trigger: On a schedule (every day).
- Fetch Instagram Media (Facebook Graph API): uses Facebook Graph API
- Split Media Items (Split Out): splits a list into separate items
- Filter Today's Videos (If): checks a condition and branches into true / false
- Process Videos One by One (Loop Over Items (Split in Batches)): loops over the items in batches
- Get Already Uploaded Videos (Google Sheets): uses Google Sheets
- Check Upload Status (Code): runs custom JavaScript code
- Skip If Already Uploaded (If): checks a condition and branches into true / false
- Generate Title and Tags (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- Format Metadata (Edit Fields (Set)): sets or maps fields
- Download Instagram Video (HTTP Request): calls an HTTP API
…plus 3 more steps. See the full node list below.
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 (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Split Out
n8n-nodes-base.splitOut - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - YouTube
n8n-nodes-base.youTube - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code
From the author
📊 Description Automate your cross-platform publishing workflow by automatically uploading Instagram videos to YouTube with AI-optimized titles and tags. 🚀🎬 This workflow runs every six hours, fetches newly posted Instagram videos, checks Google Sheets to…