Skip to main content

Real-time X post monitoring & auto-categorization with Airtop

Workflow preview

Workflow preview
100%
Real-time X post monitoring & auto-categorization with Airtop preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 c...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.airtop, n8n-nodes-base.filter, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Airtop.

Original n8n.io source

1.1 Workflow description

Title
Real-time X post monitoring & auto-categorization with Airtop
Workflow name
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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 2 - Extract posts

Type / Role
n8n-nodes-base.airtop - airtop
Config choices
Version 1

Block 3 - Session

Type / Role
n8n-nodes-base.airtop - airtop
Config choices
Version 1

Block 4 - Window

Type / Role
n8n-nodes-base.airtop - airtop
Config choices
Version 1

Block 5 - End session

Type / Role
n8n-nodes-base.airtop - airtop
Config choices
Version 1

Block 6 - Filter out [NA] posts

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 7 - Parse JSON output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Inputs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Real-time X post monitoring & auto-categorization with Airtop
Complexity intermediate
Nodes 9
Categories Market Research, AI Summarization
Author Airtop
Published 18 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4206/4206.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Real-time X post monitoring & auto-categorization with Airtop do?

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 c...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.