Google Drive media intake with OpenAI captions and Instagram publishing
This AI-assisted n8n workflow triggers when new photos or videos upload to a Google Drive folder and loads the asset. OpenAI writes a matching caption before saving post names, captions and links to Google Sheets. Two Facebook Graph API steps then stage and publish the post to Instagram.
- Catalogue ID
- #0839
- Functional nodes
- 6
- Connections
- 5
- Trigger
- googleDriveTrigger
- AI layer
- AI-assisted
Business problem solved
Social media teams store approved campaign visuals in Google Drive yet still spend time drafting captions manually, updating content trackers and uploading posts into Meta tools one by one.
Trigger
The Google Drive trigger launches caption generation and logging whenever new media lands in the folder.
Connected systems
- Google Drive
- OpenAI
- Google Sheets
- Facebook Graph API
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. Finally Post to Instagram (Service and data)
- 2. Post File Upload in Google… (Trigger) (connects to Post File Download in N8N…)
- 3. Post File Download in N8N… (Service and data) (connects to AI Caption generated by…)
- 4. AI Caption generated by… (AI layer) (connects to Post File Save in Google…)
- 5. Post File Save in Google… (Service and data) (connects to Connect Facebook API for…)
- 6. Connect Facebook API for… (Service and data) (connects to Finally Post to Instagram)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Google Drive media intake
New images or video files load from your chosen Google Drive folder when uploaded.
- 02
OpenAI caption drafting
OpenAI generates social captions tailored to your media context and brand voice guidelines.
- 03
Google Sheets content tracker
Post names, drafted captions and media links are stored or updated in your Google Sheets log.
- 04
Two-step Graph API Instagram publish
Facebook Graph API nodes stage the media container from Sheet fields and publish the Instagram post.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 6 functional nodes and 5 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds human marketing approval before Graph API publishing, Meta token refresh monitors, URL access checks and error queues.
Google Drive media to OpenAI caption and Instagram Frequently asked questions
Yes. Production setups hold items in Google Sheets until an approved status flag triggers the Facebook Graph API steps.
Meta Graph API protocols create a media container object first and then publish that container ID in a second call.
Yes. System prompts embed your brand style rules, forbidden phrases and tag limits during set-up.
Related n8n workflows
OpenAI product image generation and Drive archive
Reads product image URLs from Google Sheets, analyses shots with OpenAI to craft photography prompts, generates new images, uploads to Drive and logs links.
Chat-triggered ChatGPT image generation to Drive and Sheets
Accepts image prompts over chat, calls the image generation API via HTTP, loops outputs to Google Drive and records file URLs plus aggregated usage in Sheets.
Google Drive automated image metadata tagging
Watches Google Drive for new images, analyses subjects via OpenAI, merges generated keywords into Base64 metadata and updates the image file.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms