Create and post social media image captions with GPT-4.1-mini and Google Sheets
Ready for 3.0What 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).
- Post Topic (Edit Fields (Set)): sets 3 fields: title, image_url, phone
- get sheet data (Google Sheets): uses Google Sheets
- Generate Caption (OpenAI): uses OpenAI
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Append row in sheet (Google Sheets): append
- Route (Switch): routes items into 4 branches
- Instagram IMG (Facebook Graph API): uses Facebook Graph API
- Get Media (HTTP Request): calls an HTTP API
- Post Facebook Img (HTTP Request): calls an HTTP API
- Get Media (HTTP Request): calls an HTTP API
…plus 7 more steps. See the full node list below.
Services it uses
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)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Sheets
n8n-nodes-base.googleSheets - X (Formerly Twitter)
n8n-nodes-base.twitter - Facebook Graph API
n8n-nodes-base.facebookGraphApi - HTTP Request
n8n-nodes-base.httpRequest - LinkedIn
n8n-nodes-base.linkedIn - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi
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…