Skip to main content

Auto-upload Instagram videos to YouTube with GPT-4o and Google Sheets tracking

Workflow preview

Auto-upload Instagram videos to YouTube with GPT-4o and Google Sheets tracking preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

πŸ“Š 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