Automate Twitter posting with GPT-4 content generation & Google Sheets tracking
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs on a schedule (every 6 hours). Along the way it connects OpenAI Chat Model, X (Formerly Twitter) and Google Sheets.
How it runs
Trigger: On a schedule (every 6 hours).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Get Data from Google Sheet); memory: Simple Memory
- Parse AI Response (Code): runs custom JavaScript code
- Create Tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
- Add new Tweet to Google sheet (Google Sheets): append or update
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other X (Twitter) + OpenAI templates (67) · Other X (Twitter) + Google Sheets templates (50)
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 (8)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - X (Formerly Twitter)
n8n-nodes-base.twitter - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
This n8n template from Intuz provides a complete and automated solution for creating an autonomous social media manager. This workflow uses an AI agent to intelligently generate unique, high-quality content, check for duplicates, and post it on a consistent…