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. 📈✨
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. ✔️
✅ 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