Draft Spanish and English social posts from articles with OpenAI and Sheets
Ready for 3.0Ready 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-12-01.
What this workflow does
This workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Article + Rules (Edit Fields (Set)): sets 5 fields: article, brand_rules, llm_base_url…
- Build platform prompts (Code): runs custom JavaScript code
- LLM draft (HTTP Request): calls an HTTP API (POST)
- Parse ES/EN + length check (Code): runs custom JavaScript code
- Test mode? (If): checks a condition and branches into true / false
- Test output (no Sheets) (Code): runs custom JavaScript code
- Append to Google Sheets (Google Sheets): append
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.
Check at runtime on n8n 3.0
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow takes a pasted article, generates Spanish and English social post drafts for five platforms using an OpenAI-compatible chat completions API, checks each draft against platform character limits, and appends the results to a Google…