Auto-upload Instagram Videos to YouTube with GPT-4o and Google Sheets Tracking
Go to WorkflowDescription
π 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