Templates / Schedule and auto-post images to Instagram with Google Sheets, Drive and AI captions

Schedule and auto-post images to Instagram with Google Sheets, Drive and AI captions

Ready for 3.0

by Dinakar Selvakumar ✓ · 1,113 views · created 2025-12-19 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets, Google Drive, Facebook Graph API and OpenAI Chat Model.

How it runs

Trigger: On a schedule (every hour).

  1. Workflow Configuration (Edit Fields (Set)): sets 2 fields: googleDriveFolderId, googleSheetId
  2. Get Next Scheduled Post (Google Sheets): uses Google Sheets
  3. Check If Post Found (If): checks a condition and branches into true / false
  4. Get Access Token from Facebook (HTTP Request): calls an HTTP API
  5. No More Posts (Code): runs custom JavaScript code
  6. Search files and folders (Google Drive): work with file folder
  7. Download Image from Drive (Google Drive): download
  8. Upload Image to Facebook (HTTP Request): calls an HTTP API (POST)
  9. Get Public URL From Facebook (HTTP Request): calls an HTTP API
  10. Prepare AI Context (Edit Fields (Set)): sets 2 fields: image_public_url, image_facebook_id

…plus 7 more steps. See the full node list below.

Services it uses

Google SheetsGoogle DriveFacebook Graph APIOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Description This n8n workflow automatically publishes posts to Instagram Business accounts and Facebook Pages using Google Sheets as your content calendar. You schedule posts in the sheet, and n8n processes them, uploads media (if any), posts via Meta’s Graph…

Excerpt from Dinakar Selvakumar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.