Real-Time X Post Monitoring & Auto-Categorization with Airtop
# Monitor X for Relevant Posts ## Use Case This automation monitors X (formerly Twitter) search pages in real time and extracts high-signal posts that match your categories of interest. It's ideal for community engagement, lead discovery, thought leadership tracking, or competitive analysis. ## What This Automation Does Given a search URL and a list of categories, it: - Logs into X using Airtop - Opens the specified search URL - Scrolls through the results - Extracts up to 10 valid, English-language posts - Filters and classifies each post by category (or marks as `[NA]` if unrelated) - Returns the structured results as JSON Input parameters: - **airtop_profile** - An Airtop browser profile authenticated on X - **x_url** - X search URL (e.g., `https://x.com/search?q=ai agents&f=live`) - **relevant_categories** - Text-based list of categories to classify posts (e.g., Web automation use cases, thought leadership) Output: A JSON array of posts, each with: - `writer` - `time` - `text` - `url` - `category` ## How It Works 1. **Trigger**: This workflow is triggered by another workflow (e.g., a community engagement pipeline). 2. **Input Setup**: Accepts the Airtop profile, search URL, and categories to use for classification. 3. **Session**: Starts a browser session using the Airtop profile. 4. **Window Navigation**: Opens the provided X search URL. 5. **Extraction**: Scrapes up to 10 posts with `/status/` in the URL and text in English. 6. **Classification**: Each post is labeled with a category if relevant, or `[NA]` otherwise. 7. **Filtering**: Discards `[NA]` posts. 8. **Output**: Returns the list of classified posts. ## Setup Requirements 1. Airtop profile with an active X login. 2. Airtop API key connected in n8n. 3. List of category definitions to guide post classification (used in prompt). ## Next Steps - **Feed into Engagement Workflows**: Pass the results to workflows that reply, retweet, or track posts. - **Use in Slack Alerts**: Push classified posts into Slack channels for review and reaction. - **Customize Classifier**: Refine the categorization logic to include sentiment or company mentions. Read more about [Monitoring X for Relevant Posts](https://www.airtop.ai/automations/monitor-x-for-relevant-posts-n8n)
- Platform
- n8n
- Category
- Social Media
- Price
- $9.99
- Creator
- Airtop
- set
- code
- airtop
- filter
- stickyNote
- executeWorkflowTrigger
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Social Media workflows
- Generate & Auto-Post AI Videos to Social Media with Veo3 and Blotato$14.99
- Automate AI-Driven Social Media Content Creation and Publishing$24.99
- Automate Viral TikTok Cloning and Multi-Platform Posting with AI$19.99
- Automate LinkedIn Content Creation and Publishing via Email with AI$24.99
- Automate Social Media Posts Using Google Trends and AI$14.99
- Automate Video Captioning and Posting to Instagram and TikTok$14.99
More from Airtop
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.