Extract and classify X posts using intelligent AI analysis
Workflow Description
An automated workflow that monitors X posts, extracts key information using OpenAI models, and classifies content through an intelligent agent while maintaining context in memory for accurate sequential analysis.
How it works
- 1.Trigger workflow when new X post is received
- 2.Extract text and key data using information extractor
- 3.Classify and analyze content via OpenAI intelligent agent
- 4.Store results in memory buffer for historical reference
Use cases
- Monitor brand mentions and tweets, then organize by category automatically
- Analyze customer sentiment on X and extract critical feedback in real time
- Collect data from specialized accounts and organize by topic systematically
Requirements
- Valid OpenAI API key configured
- Authenticated Twitter/X account with API access permissions
- Memory buffer configured to track context between operations
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (19)
OpenAI Chat Model
OpenAI
Execute Workflow
Execute Workflow
Execute "Generate a chart" tool
Execute Workflow Trigger
OpenAI - Generate Chart definition with Structured Output
HTTP Request
Set response
Set
When chat message received
Chat Trigger
Set Text output
Set
Set Text + Chart output
Set
AI Agent
Agent
Window Buffer Memory
Memory Buffer Window
Sticky Note1
Sticky Note
Sticky Note
Sticky Note
Sticky Note2
Sticky Note
OpenAI Chat Model Classifier
OpenAI
Sticky Note3
Sticky Note
Text Classifier - Chart required?
If
Sticky Note4
Sticky Note
User question + Agent initial response
Set
Information Extractor - User question
Information Extractor