X Listener Node (Twitter Listener) is a TradingFlow data input node for fetching tweets from X (Twitter) platform. It supports keyword filtering, multi-account monitoring, and real-time data collection, making it a core component for social media sentiment analysis.
Sky (blue) / Emerald (green)
X Listener Node connects to the X (Twitter) platform to fetch tweets from specified accounts or perform advanced searches in real-time. It supports keyword filtering, parallel multi-account monitoring, and passes tweet data to downstream analysis nodes.
Primary Use Cases:
Monitor KOL (Key Opinion Leader) tweets
Track specific topics and keywords
Collect market sentiment data
Capture social media signals
Key Features:
π Dual Search Modes: User timeline and advanced search
π·οΈ Keyword Filtering: Multi-keyword matching and filtering
π₯ Multi-Account Support: Monitor multiple accounts simultaneously
π Pagination: Automatic handling of large tweet volumes
β‘ Rate Limiting: Built-in API call rate control
Primary Parameters (Always Visible)
Parameter
Type
Required
Default
Description
X account list (comma-separated)
Keyword filter (comma-separated)
Advanced Parameters (Hidden by Default)
The following parameters are hidden by default and can be expanded when needed:
Parameter
Type
Default
Description
Search mode: latest or top
Query type: user_timeline or search
Tweet count limit (1-100)
About Advanced Parameters:
Click "Show advanced params" button at the bottom of the node to expand
Select needed parameters in the popup, or click "Show All" to display all
Displayed parameters can be hidden by clicking the "Hide" button (which also clears the value)
When the Agent specifies a value for an advanced parameter, it automatically becomes visible
accounts Parameter
Format: Comma-separated account list
Supported Formats:
Usernames: elonmusk, VitalikButerin
User IDs: 44196397, 295218901 (numeric only)
Mixed: elonmusk, 295218901
Example:
Notes:
No @ symbol needed for usernames
Supports both userId and userName formats
Multiple accounts separated by commas
Whitespace is automatically trimmed
keywords Parameter
Format: Comma-separated keyword list
Matching Rules:
Partial matching (contains)
OR logic (any keyword matches)
Example:
search_mode Parameter
Popular/trending tweets first
query_type Parameter
Fetch tweets from user's timeline
limit Parameter
Range: 1-100
Notes:
Limits total returned tweets
Total limit across all accounts
Output Parameters
Output ID
Display Name
Data Type
Description
latest_tweets Output
Data Structure:
Example 1: Monitor KOL Tweets
Scenario: Monitor Elon Musk and Vitalik Buterin's crypto-related tweets.
Workflow Structure:
Node Configuration:
Example 2: Topic Tracking
Scenario: Track trending #DeFi discussions.
Node Configuration:
Example 3: Sentiment Analysis System
Scenario: Real-time market sentiment monitoring and trading signal generation.
Workflow Structure:
1. Search Mode Selection
Scenario
Recommended Mode
Reason
Real-time keyword monitoring
Supports parallel fetching
2. Keyword Design
Recommended:
Avoid:
3. Limit Settings
Use Case
Suggested Limit
Reason
Important Notes
API Quota Limits
TwitterAPI.io has call limits
Use limit parameter to control data volume
Rate Limiting
Prevents excessive API calls
Auto-delays for multi-account monitoring
Search Mode Restrictions
user_timeline requires accounts parameter
search requires keywords or accounts
Advanced search doesn't support pure numeric userId
Keyword Filtering
Partial matching (contains)
Only filters tweet text, not usernames
Data Freshness
Tweet data is a snapshot at execution time
Not real-time streaming data
Re-execute node for latest data
Technical Specifications
AI Model Node - Analyze tweet sentiment and content
Code Node - Process tweet data
Google Sheet Output Node - Save tweet data
Condition Node - Make decisions based on tweet content
Telegram Sender Node - Send tweet notifications
Related Documentation: