Automate Instagram Posts with Google Drive, AI Captions & Facebook API
Automates Instagram posting by pulling images from Google Drive, generating AI captions with OpenAI, and publishing via Facebook Graph API. Streamlines social media content scheduling for businesses and creators.
This n8n workflow automates the entire Instagram content posting process. It starts by reading a Google Sheet with image filenames, captions, and URLs from Google Drive. The workflow fetches images or videos from the specified Drive folder, uses OpenAI to generate engaging, context-aware captions (or uses custom ones if provided), and then posts directly to your Instagram Business or Creator account via the Facebook Graph API. A scheduler triggers runs at set intervals, with built-in error handling and conditional logic for custom vs. AI captions.
Benefits include massive time savings for marketers, consistent posting schedules without manual effort, enhanced content quality through AI-generated captions tailored to image content, and seamless integration across tools. It supports various formats like 1:1 images, 4:5 stories, or 16:9 reels, reducing the risk of posting errors and ensuring compliance with Instagram's API requirements.
Ideal use cases: Social media managers automating daily posts for brands, influencers scheduling content in advance, e-commerce businesses promoting products with AI descriptions, or agencies handling multiple client accounts. Prerequisites include Google Drive/Sheets access, OpenAI API key, and Instagram Business linked to Facebook Page.
Setup is straightforward: configure credentials for each service, set your Drive folder and Sheet columns (Filename, Caption, URL), adjust OpenAI parameters for caption creativity, and define posting schedules. Error notifications keep you informed of issues, making it reliable for production use.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Save new Gmail attachments to Google Drive$3.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
More from Sofia Nasser
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.