n8n Twitter Monitoring Without the X API: Webhook Workflow
n8n's X node runs on your own X API credits, billed per post read. This n8n Twitter monitoring workflow gets new posts from AyeWatch's signed webhook instead, with searches and a budget.
By AyeWatch Team5 min read
Short answer: To monitor Twitter (X) in n8n without the X API, let AyeWatch run X searches or profile monitors and send each new post to an n8n Webhook node as signed JSON. n8n's own X node needs an X developer app and pay-per-use API credits billed per post read. AyeWatch is a flat monthly plan.
What the X node costs you
n8n's X (Formerly Twitter) node can search posts, get a user and create posts. Its credential needs an X developer account and an app with OAuth2. The reads are billed by X, not by n8n. X's pricing page describes pay-per-usage pricing with credits bought upfront in the Developer Console, lists post reads at $0.005 each, charges per post returned, and caps pay-per-usage plans at 3 million post reads a month.
The math gets real quickly. A search that returns 50 posts an hour reads 50 × 720 = 36,000 posts a month, about $180, before you have built a single alert. Every retry, every overlapping search and every test run is billed too. The old free route, Nitter's RSS feeds, now mostly works only if you host Nitter yourself, and it breaks whenever X changes access.
Monitors to set up in AyeWatch
An X search monitor takes X's own syntax: quotes, OR, -word, from:, @mentions, hashtags and lang:. Each X Search, Profile or Community check costs 2 credits. Build and test the query with the X advanced search builder.
- Brand mentions:
"Pinewave" OR @pinewaveapp -giveaway lang:enwith the filter Only posts that complain about Pinewave, ask how to do something in it, or compare it with another tool. - A few accounts in one monitor:
from:northwindlabs OR from:orbitscience. One search covers several accounts, where an X Profile monitor covers exactly one. - A topic:
("API deprecation" OR "breaking change") (stripe OR twilio) lang:enfor changes your product depends on.
The n8n workflow
The first four nodes are the same in every recipe in this series. The n8n webhook setup guide walks through them; here is the short version.
- Webhook: HTTP Method POST, Respond set to Immediately, and Raw Body turned on under Options. Its Production URL goes into AyeWatch's webhook settings.
- Crypto: Action Hmac, Binary File on with Binary Property Name
data, Type SHA256, Property Namesignature, Encoding HEX. Your AyeWatch signing secret goes into a Crypto credential as the Hmac Secret. - Check signature: a Code node that compares
sha256=plus that value with thex-ayewatch-signatureheader in constant time, drops the item if they differ, and passes on flat fields: topic_id, topic_name, update_id, headline, content, source_url (the first evidence link, when there is one) and created_at. The code is in the HMAC verification recipe. - Remove Duplicates: Operation Remove Items Processed in Previous Executions, Keep Items Where Value Is New, Value to Dedupe On
{{ $json.update_id }}. The reasons are in the dedupe recipe.
Then the X nodes:
- Code, "Parse the post link": pulls the author handle and post ID from the link, so you can group and sort by author (code below).
- Switch: one Number rule per topic_id. Brand mentions go to support, the accounts search goes to a research sheet.
- Slack: Message, Send, text
{{ $json.author }}: {{ $json.headline }}and the link. - Google Sheets: Append Row with author, post_id, headline, content, link and update_id.
// Code node "Parse the post link". Mode: Run Once for Each Item.
const m = ($json.source_url || '').match(/(?:x|twitter)\.com\/([A-Za-z0-9_]+)\/status\/(\d+)/);
return {
json: {
...$json,
author: m ? '@' + m[1] : '',
post_id: m ? m[2] : '',
},
};
A sample delivery, made up:
{
"topic_id": 6410,
"topic_name": "Pinewave mentions on X",
"update_id": 121877,
"headline": "User says Pinewave exports drop the time zone",
"content": "A user reports that CSV exports from Pinewave show times in UTC with no zone label and asks if there is a setting to fix it.",
"created_at": "2026-12-01T10:12:00Z",
"evidence": [
{ "quote": "exports are all in UTC with no label", "source_url": "https://x.com/maraquill/status/1863000000000000001" }
]
}
Credit budget
Credits per check times checks, 30-day month on Pro:
- Brand search with filter, every 6 hours: 3 × 120 = 360
from:search for two accounts, twice a day: 2 × 60 = 120
Total 480 of Pro's 500. An X search checked hourly uses 2 × 720 = 1,440 credits a month, so hourly X searches belong on Pro+ and on the one search where an hour matters. AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial.
What this won't catch
- Replies. AyeWatch reads posts, not the replies under them.
- Protected accounts and anything that needs a login.
- Deleted posts that disappear between checks.
- Posting. AyeWatch never posts, likes or replies. If you answer a complaint, do it yourself from your brand account.
- Full firehose volume. A monitor sends what is new since the last check and matches your filter. If you need every post for analytics, the X API is the tool, with its per-read bill.
Set it up
- Write the X search in the advanced search builder and check the results on X by hand.
- Create the X search monitor in AyeWatch with a filter, and look at its first check.
- Build the front four nodes in n8n and publish the workflow.
- Paste the Production URL into AyeWatch's webhook settings and store the signing secret in a Crypto credential.
- Add the Parse the post link Code node, the Switch and your Slack or Sheets nodes.
- After a week, cut the searches that sent nothing you acted on.
| n8n X node | AyeWatch plus n8n Webhook node | |
|---|---|---|
| Access | X developer account, OAuth2 app | AyeWatch account; no X API key |
| Billing | Pay-per-usage credits from X, $0.005 per post read on X's pricing page | Flat plan: Pro $9/mo, Pro+ $19/mo |
| Polling | You schedule it and store since-IDs yourself | AyeWatch checks on your chosen pace and sends only new posts |
| Filtering | Your own IF or Code logic | Plain-English filter, 1 extra credit a check |
| Can it post? | Yes | No; alerts only |
Start a monitor in under a minute
Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.
Try it free for 7 daysThe bottom line
Price your current X node usage first: count the posts your searches return in a week and multiply by X's per-read price. If the number makes you wince, move the searches to monitors and keep n8n for routing.
FAQ
Can n8n monitor Twitter without the X API?
Not by itself. n8n's X node uses the X API. To skip it, let a service such as AyeWatch read X and send each new post to an n8n Webhook node.
How much does the X API cost for monitoring?
X's pricing page lists pay-per-usage pricing at $0.005 per post read, billed per post returned, with credits bought upfront. A search returning 50 posts an hour costs about $180 a month in reads.
Can one AyeWatch monitor cover several X accounts?
Yes, with an X search such as from:northwindlabs OR from:orbitscience. An X profile monitor covers one account.
Which X search operators does AyeWatch support?
X's own syntax: quotes, OR, -word, from:, @mentions, hashtags and lang:.
Will this workflow reply to tweets for me?
No. AyeWatch sends alerts only and never posts. Leave n8n's posting operations out of this workflow and reply by hand.