Developer & DevOps

Fetch, filter, and process X tweets with conditional logic

18 nodes 176 96 Automatic trigger
Download

Workflow Description

An automation workflow that receives tweets from X via trigger, applies filtering conditions, executes custom code for data processing, and controls data flow according to defined rules for monitoring and data extraction tasks.

How it works

  1. 1.Receive new tweet event from X through the workflow trigger
  2. 2.Filter tweets based on specific conditions using If nodes
  3. 3.Execute custom code to transform and process tweet data
  4. 4.Assign variables and store results using Set nodes
  5. 5.Send HTTP requests to forward processed data to external endpoints

Use cases

  • Monitor specific tweets from target accounts and automatically log them
  • Extract and convert X data for use in third-party applications
  • Filter content by keywords and trigger subsequent actions

Requirements

  • Active X account with API credentials and authentication keys
  • Basic understanding of conditional logic and code implementation
  • Setup of HTTP endpoints when forwarding data to external services

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Twitter/X

Details

Trigger Automatic trigger
Nodes 18
Apps 1
Views 176
Downloads 96

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

/

Embed image

HTTP Request

#1

Query Qdrant

HTTP Request

#2

Majority Vote

Code

#3

Increase limitKNN

Set

#4

Propagate loop variables

Set

#5

Image Test URL

Set

#6

Return class

Set

#7

Check tie

If

#8

Qdrant variables + embedding + KNN neigbours

Set

#9

Sticky Note

Sticky Note

#10

Sticky Note1

Sticky Note

#11

Execute Workflow Trigger

Execute Workflow Trigger

#12

Sticky Note2

Sticky Note

#13

Sticky Note3

Sticky Note

#14

Sticky Note4

Sticky Note

#15

Sticky Note5

Sticky Note

#16

Sticky Note6

Sticky Note

#17

Sticky Note10

Sticky Note

#18