Post scheduled Threads updates from Google Sheets with error tracking
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets. It also calls graph.threads.net over HTTP.
How it runs
Trigger: On a schedule (every hour).
- Read Pending Posts in Sheets (Google Sheets): uses Google Sheets
- If: checks a condition and branches into true / false
- Fetch Threads User ID (HTTP Request): calls graph.threads.net
- Post Threads Container (HTTP Request): calls an HTTP API (POST)
- Set Get User ID Error Details (Edit Fields (Set)): sets 2 fields: error_message, row_number
- Post Threads Content (HTTP Request): calls an HTTP API (POST)
- Set Container Error Details (Edit Fields (Set)): sets 2 fields: error_message, row_number
- Merge: merges the data from its input branches
- Update Sheets Published Status (Google Sheets): update
- Set Publish Error Details (Edit Fields (Set)): sets 2 fields: error_message, row_number
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: graph.threads.net
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow runs hourly to read the next pending post from Google Sheets, publishes it to Threads via the Threads Graph API, and then updates the sheet with published or failed status plus timestamps and error details. How it works 1. Runs…