Data & Databases

Extract and classify X posts using intelligent AI analysis

19 nodes 109 57 Automatic trigger
Download

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. 1.Trigger workflow when new X post is received
  2. 2.Extract text and key data using information extractor
  3. 3.Classify and analyze content via OpenAI intelligent agent
  4. 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

OpenAI Twitter/X Chat Trigger AI Agent Memory If

Details

Trigger Automatic trigger
Nodes 19
Apps 6
Views 109
Downloads 57

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (19)

/

OpenAI Chat Model

OpenAI

#1

Execute Workflow

Execute Workflow

#2

Execute "Generate a chart" tool

Execute Workflow Trigger

#3

OpenAI - Generate Chart definition with Structured Output

HTTP Request

#4

Set response

Set

#5

When chat message received

Chat Trigger

#6

Set Text output

Set

#7

Set Text + Chart output

Set

#8

AI Agent

Agent

#9

Window Buffer Memory

Memory Buffer Window

#10

Sticky Note1

Sticky Note

#11

Sticky Note

Sticky Note

#12

Sticky Note2

Sticky Note

#13

OpenAI Chat Model Classifier

OpenAI

#14

Sticky Note3

Sticky Note

#15

Text Classifier - Chart required?

If

#16

Sticky Note4

Sticky Note

#17

User question + Agent initial response

Set

#18

Information Extractor - User question

Information Extractor

#19