Templates / Create and post social media image captions with GPT-4.1-mini and Google Sheets

Create and post social media image captions with GPT-4.1-mini and Google Sheets

Ready for 3.0

by Samyotech · 1,585 views · created 2026-01-09 · 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 manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, X (Formerly Twitter), Facebook Graph API and LinkedIn and 1 more. It also calls api.x.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Post Topic (Edit Fields (Set)): sets 3 fields: title, image_url, phone
  2. get sheet data (Google Sheets): uses Google Sheets
  3. Generate Caption (OpenAI): uses OpenAI
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Append row in sheet (Google Sheets): append
  6. Route (Switch): routes items into 4 branches
  7. Instagram IMG (Facebook Graph API): uses Facebook Graph API
  8. Get Media (HTTP Request): calls an HTTP API
  9. Post Facebook Img (HTTP Request): calls an HTTP API
  10. Get Media (HTTP Request): calls an HTTP API

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

Services it uses

Google SheetsX (Formerly Twitter)Facebook Graph APILinkedInOpenAI

HTTP calls to: api.x.com

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 (12)

From the author

Social Media Posting Automation with Image and Caption How it works This AI-powered workflow streamlines your social media posting process, transforming hours of manual caption writing, image uploading, and scheduling into a fully automated system. You define…

Excerpt from Samyotech'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.