Auto-upload Instagram Videos to YouTube with GPT-4o and Google Sheets Tracking

Go to Workflow
0 views
Built by Rahul Joshi Rahul Joshi
Created on June 05, 2026

Description

πŸ“Š 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 avoid duplicate uploads, generates SEO-ready YouTube metadata using GPT-4o, downloads the video in high quality, uploads it to YouTube, and logs the full upload details for tracking. Perfect for creators, agencies, and businesses managing multi-platform content distribution at scale. πŸ“ˆβœ¨

πŸ” What This Template Does
1️⃣ Runs every 6 hours to fetch recent Instagram media via Graph API. ⏰
2️⃣ Splits the media list and filters for today’s video posts only. πŸŽ₯
3️⃣ Checks Google Sheets to see if the video was already uploaded. πŸ”Ž
4️⃣ Sends Instagram caption to AI to generate:
β€” a YouTube-optimized title (max 60 chars)
β€” SEO-friendly tags extracted from text + hashtags
5️⃣ Downloads the Instagram video binary file. ⬇️
6️⃣ Waits 3 seconds to avoid YouTube rate limits. ⏳
7️⃣ Uploads the video to YouTube with:
β€” title
β€” tags
β€” caption as description
8️⃣ Logs the upload details into Google Sheets (ID, title, link, date, status). πŸ“Š
9️⃣ Prevents future duplicate uploads using a spreadsheet lookup. βœ”οΈ

⭐ Key Benefits
βœ… Fully automates Instagram β†’ YouTube video publishing
βœ… AI-generated metadata increases YouTube visibility & search ranking
βœ… Duplicate upload prevention ensures clean channel management
βœ… Tracks upload history in a Google Sheet for transparency
βœ… Requires zero manual downloading, editing, or re-uploading
βœ… Ideal for creators, brands, community managers & agencies

🧩 Features
Instagram Business API media fetch
Filter for today’s videos using timestamps
Google Sheets duplicate checker
GPT-4o caption analysis for metadata generation
Structured JSON output for reliable AI parsing
YouTube video upload with custom metadata
Spreadsheet logging with append/update
Automatic scheduling with cron trigger
Full workflow batching & safe retry logic

πŸ” Requirements
Facebook Graph API credentials (Instagram Business Account)
YouTube OAuth2 credentials
OpenAI API key (GPT-4o)
Google Sheets OAuth2 credentials
A Google Spreadsheet for tracking uploaded videos
Instagram Business Account ID + Access Token

🎯 Target Audience
Social media creators & influencers
Digital marketing agencies
YouTube automation teams
Brands repurposing Instagram content for YouTube
Content managers handling multiple accounts
Community managers needing hands-free cross-posting

Nodes Used (9)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Facebook Graph API
n8n-nodes-base.facebookGraphApi
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
YouTube
n8n-nodes-base.youTube