Generate social content pillars, calendars and posts using Google Sheets and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on Google Sheets events. Along the way it connects Google Sheets and OpenAI.
How it runs
Trigger: On Google Sheets events.
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Message a model (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
- Append row in sheet (Google Sheets): append
- Message a model (OpenAI): uses OpenAI
- Code: runs custom JavaScript code
- Append row in sheet (Google Sheets): append
- Switch: routes items into 2 branches
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Message a model (OpenAI): uses OpenAI
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code
From the author
How it works This workflow turns a single planning row in Google Sheets into a fully structured content engine. It generates weighted content pillars, builds a rule-based posting calendar, and then creates publish-ready social posts using AI. The workflow…