πŸ“Š Real-time X post monitoring & auto-categorization with Airtop

⚑ 559 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

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:

Input parameters:

Output: A JSON array of posts, each with:

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

Read more about Monitoring X for Relevant Posts

πŸ”— Nodes Used

Execute Workflow Trigger, Filter, Airtop

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup