Package Information
Available Nodes
Documentation
n8n-nodes-x-search-quote
An n8n community node for X (Twitter) search, quote, and AI-powered engagement automation.
Features
- X Search: Search for tweets using advanced operators
- Quote Tweets: Quote and reply to tweets with AI-generated content
- User Lookup: Find and verify X user accounts
- Rate Limiting: Built-in respect for X API rate limits
- AI Integration: Works with various AI models for content generation
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Nodes (Recommended)
- Go to Settings > Community Nodes in your n8n instance
- Select Install
- Enter
n8n-nodes-x-search-quote
- Agree to the risks of using community nodes
- Select Install
Manual Installation
To get started with this community node:
# Install in your n8n root folder
npm install n8n-nodes-x-search-quote
For Docker users:
# In your n8n Docker setup
npm install n8n-nodes-x-search-quote
Configuration
X API Credentials
You'll need to set up X API credentials:
- Go to X Developer Portal
- Create a new app or use an existing one
- Generate API keys and tokens
- In n8n, create new X credentials with:
- API Key
- API Secret Key
- Access Token
- Access Token Secret
Node Operations
The X node supports several operations:
- Search Tweets: Find tweets using X's search operators
- Quote Tweet: Quote an existing tweet with your content
- Reply to Tweet: Reply to a specific tweet
- Get User by Username: Look up user information
- Get Tweet: Retrieve specific tweet details
Usage Examples
Basic Tweet Search
{
"operation": "searchTweets",
"query": "n8n automation",
"maxResults": 10
}
Quote a Tweet
{
"operation": "quoteTweet",
"tweetId": "1234567890",
"text": "Great insights on automation! 🤖"
}
AI-Powered Engagement Workflow
Check out the included workflow example in /workflows/x-search-quote.json
for a complete automation that:
- Searches for relevant tweets
- Uses AI to generate engaging responses
- Quotes or replies with rate limiting
Workflow Template
This package includes a sample workflow (x-search-quote.json
) that demonstrates:
- Scheduled tweet searching
- AI-powered content generation
- Automated engagement with rate limiting
- User verification and filtering
Rate Limiting
The node includes built-in rate limiting to respect X's API limits:
- Search: 300 requests per 15-minute window
- Tweet operations: 300 requests per 15-minute window
- User lookup: 300 requests per 15-minute window
Requirements
- n8n version 0.174.0 or later
- X API v2 access (Basic tier or higher)
- Valid X Developer account
Resources
License
Support
For issues and feature requests, please use the GitHub issues page.
Contributing
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
Note: This is a community-maintained node. Use at your own risk and ensure compliance with X's Terms of Service and API usage policies.