Auto-schedule Instagram & Facebook posts from Google Sheets
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs on a schedule (every 15 minutes). Along the way it connects Google Sheets, Google Drive and Facebook Graph API.
How it runs
Trigger: On a schedule (every 15 minutes).
- Workflow Configuration (Edit Fields (Set)): sets 5 fields: spreadsheetId, sheetName, instagramAccessToken…
- Read Pending Posts from Sheet (Google Sheets): uses Google Sheets
- Filter Posts Due Now (Code): runs custom JavaScript code
- Check If Image Link Provided (If): checks a condition and branches into true / false
- Download Image from Google Drive (Google Drive): download
- Route by Platform (Switch): routes items into 3 branches
- Post to Instagram (HTTP Request): calls an HTTP API (POST)
- Post to Facebook (Facebook Graph API): uses Facebook Graph API
- Post to Both Platforms - Instagram (HTTP Request): calls an HTTP API (POST)
- Check Post Success - Instagram (If): checks a condition and branches into true / false
…plus 7 more steps. See the full node list below.
Services it uses
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 (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Merge
n8n-nodes-base.merge
From the author
How it works This workflow automatically publishes Instagram and Facebook posts using Google Sheets as a content calendar. Users add post details to a sheet, and the workflow handles scheduling, image processing, posting, and status updates without manual…