Spiral gives your agent every tool with one account. Browse the tools →

n8n · Social Media

How to Use X community tweets in n8n

Fetch posts from an X Community with text, timestamps, views, likes, replies, reposts, bookmarks, and quote counts. Use it to compare discussions and engagement within a community.

Prompts to try with X community tweets in n8n

Copy an example into n8n, or ask in your own words.

Every morning, use X community tweets for https://x.com/i/communities/1926186499399139650 and summarize newly observed posts since the previous check, with their publication times.

X community tweetsn8n
Try asking
  • Every six hours, use X community tweets for https://x.com/i/communities/1926186499399139650 and flag newly observed posts mentioning OpenAI or Anthropic. Include the matching text and engagement counts.

  • Each weekday, use X community tweets for https://x.com/i/communities/1926186499399139650 and report reply-count changes for posts appearing in both the current and previous results.

  • Every Friday, use X community tweets for https://x.com/i/communities/1926186499399139650 and produce an editorial brief from the returned posts with the most bookmarks.

  • Each evening, use X community tweets for https://x.com/i/communities/1926186499399139650 and compare topic mentions in the returned posts with the previous check. Include the number of returned posts behind each comparison.

How to set up X community tweets in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run X community tweets in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds X community tweets, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X community tweets

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/twitter-community-tweets",
        "input": {
          "url": "https://x.com/i/communities/1926186499399139650"
        }
      }'

Then paste one of the prompts above: n8n finds X community tweets on Spiral, shows the price and runs it.

X community tweets providers and prices

Spiral runs X community tweets through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
X (Twitter) · Community Tweets
scrapecreators/twitter-community-tweets

What can you do with X community tweets in n8n?

Produce recurring briefs about topics and engagement in returned X Community posts. Scheduled agents can compare successive results by post ID and flag product mentions or changes in reply and bookmark counts.

Community discussion briefs

Summarize topics in the returned posts, with post IDs and publication times supporting each finding.

Content research

Compare the wording and subjects of posts with the most bookmarks, likes, or reposts to develop editorial ideas.

Product feedback review

Find mentions of a public product in returned community posts and separate feature requests, complaints, and praise.

Engagement comparisons

Rank returned posts separately by replies, bookmarks, and reposts to distinguish discussion from saving and sharing.

Repeated discussion checks

Compare successive responses by post ID to identify newly observed posts and changes in engagement on posts present in both.

Brand mention briefs

Collect returned posts mentioning a public business, then summarize the claims and accompanying engagement counts for review.

Questions about X community tweets in n8n

Can n8n use X community tweets?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run X community tweets like any built-in tool.

How much does X community tweets cost in n8n?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need a ScrapeCreators account to use X community tweets in n8n?

You need no ScrapeCreators account. n8n uses one Spiral API key for every tool, and Spiral runs X community tweets on its own ScrapeCreators account.

How long does it take to set up X community tweets in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while X community tweets runs?

X community tweets runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Are X Community posts private?

X says Community posts are shared with followers and other X users outside the Community. Community discussions should not be treated as private conversations.

How fresh are the returned posts and counts?

ScrapeCreators says it fetches the latest available Community Tweets information when you make a request. That describes retrieval freshness, rather than a guarantee that every newly published post will appear.

Which engagement measurements come back?

The documented response includes seven counts: views, likes, reposts, replies, bookmarks, and quotes, plus the post's publication timestamp. There are six engagement counts; the timestamp identifies when the post was published.

Does ScrapeCreators guarantee accurate X data?

No. Its terms explicitly decline guarantees of both data availability and accuracy, including for the engagement counts returned with posts.

Can the returned data be used commercially?

ScrapeCreators permits commercial use, resale, redistribution, repackaging, and white-labeling of API output. Those permissions describe ScrapeCreators' own terms.

Get started

Start using X community tweets in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options