Automated Instagram Reels Workflow
This workflow automates the process of creating and posting Instagram Reels, combining Google Drive, AI, Airtable, and the Facebook Graph API. It supports two content creation paths:
Scheduled Random Video Selection & Posting
Selects a random video from a Google Drive folder named "Random video mover" based on a schedule.
Moves the video to a processing folder for posting.
Manual Upload Trigger & Posting
Watches a specific Google Drive folder ("n8n reels automation on instagram").
Triggers the workflow when a new video is uploaded.
Core Process (applies to both paths)
Download Video from Google Drive.
AI Caption Generation with Google Gemini, using the file name as context. The AI creates concise captions with hashtags and a call-to-action.
Airtable Logging to store video name, caption, and URL.
Instagram Reels Posting via the Facebook Graph API.
Recent Change In early 2025, Meta tightened its requirements for video_url and image_url parameters. URLs must now be direct, public links to the raw media file with no redirects or authentication. Google Drive links no longer work.
Our Fix
Store the binary file locally on the n8n server at /tmp/video.mp4.
Serve the file through a public n8n webhook with the correct Content-Type.
Use the webhook URL in the Facebook Graph API request.
Upload succeeds without the “Media download has failed” error.
Cleanup
Deletes the temporary file after posting.
Benefits
Saves time with full automation.
Improves engagement through AI-generated captions.
Keeps content organized in Airtable.
Works with Meta’s updated API requirements by hosting files directly from the n8n server.
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Build a PDF-Based RAG System with OpenAI, Pinecone and Cohere Reranking
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow prov...
Reusable and Independently Testable Sub-workflow
Reusable and Independently Testable Sub-workflow This n8n workflow provides a standardized structure for building and te...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments