AI Agents

Process and analyze X tweets with AI embeddings

44 nodes 305 154 Automatic trigger
Download

Workflow Description

An automation that captures tweets from X, analyzes them using OpenAI models, splits content into chunks, and stores them as vectors in Qdrant for intelligent search and contextual retrieval of brand mentions and discussions.

How it works

  1. 1.Capture tweets from X in real-time using MCP trigger
  2. 2.Analyze tweet content with OpenAI language models
  3. 3.Split long text into manageable chunks using recursive character splitter
  4. 4.Convert text chunks into embeddings using OpenAI API
  5. 5.Store embeddings in Qdrant vector database
  6. 6.Query stored data to answer questions and extract insights

Use cases

  • Monitor brand mentions on X and analyze sentiment in real time
  • Build a searchable knowledge base from historical tweet data for quick Q&A
  • Automatically categorize tweets by topic and organize content streams
  • Track trending discussions and generate regular summaries of conversations

Requirements

  • Active X account with full API access credentials
  • Valid OpenAI API key with embedding model access
  • Running Qdrant instance accessible over network
  • Text processing and embedding infrastructure configured

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Tool Mcp Trigger Twitter/X OpenAI Document Default Data Loader Text Splitter Vector Store

Details

Trigger Automatic trigger
Nodes 44
Apps 7
Views 305
Downloads 154

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 (44)

/

Sticky Note

Sticky Note

#1

Insert

Tool Workflow

#2

Search

Tool Workflow

#3

Recommend

Tool Workflow

#4

Qdrant MCP Server

Mcp Trigger

#5

When Executed by Another Workflow

Execute Workflow Trigger

#6

Operation

Switch

#7

Sticky Note1

Sticky Note

#8

Compare

Tool Workflow

#9

Sticky Note8

Sticky Note

#10

Recommend API

HTTP Request

#11

Get Embeddings

HTTP Request

#12

Preferences to Items

Code

#13

Aggregate Embeddings

Aggregate

#14

Get Embeddings1

HTTP Request

#15

Aggregate Embeddings1

Aggregate

#16

Group Search API

HTTP Request

#17

Has Results?

If

#18

Simplify Group Results

Set

#19

Empty Compare Response

Set

#20

Aggregate Compare Response

Aggregate

#21

Embeddings OpenAI

OpenAI

#22

Default Data Loader

Document Default Data Loader

#23

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#24

Simplify Recommend Response

Set

#25

Get Insert Response

Set

#26

Get Search Response

Aggregate

#27

Sticky Note9

Sticky Note

#28

Insert Reviews

Vector Store Qdrant

#29

Search Reviews

Vector Store Qdrant

#30

Split Out Companies

Split Out

#31

Filter By CompanyId

Filter

#32

Aggregate Recommend Response

Aggregate

#33

Has Results?1

If

#34

Empty Compare Response1

Set

#35

Embeddings OpenAI1

OpenAI

#36

ListCompanies

Tool Workflow

#37

List by Facet API

HTTP Request

#38

Sticky Note2

Sticky Note

#39

Create Facet Index

HTTP Request

#40

Create Collection

HTTP Request

#41

Sticky Note3

Sticky Note

#42

When clicking ‘Test workflow’

Manual Trigger

#43

Sticky Note4

Sticky Note

#44