OpenAI-powered tweet generator
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Function Item (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 5 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Airtable. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Function Item: runs custom JavaScript per item (legacy Function Item node)
- HTTP Request: calls api.openai.com
- Set (Edit Fields (Set)): sets or maps fields
- Airtable: append
Services it uses
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function Item (legacy) in FunctionItem: replace with Code node, mode 'Run Once for Each Item'.
| Removed in 3.0 | Replace with |
|---|---|
| Function Item (legacy) FunctionItem | Code node, mode 'Run Once for Each Item' |
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Function Item
n8n-nodes-base.functionItem - HTTP Request
n8n-nodes-base.httpRequest - Airtable
n8n-nodes-base.airtable - Edit Fields (Set)
n8n-nodes-base.set
From the author
This workflow uses OpenAI to generate tweets to be stored in Airtable for review. A JS snippet handles the topics to be tweeted about in the form of hashtags.