Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-opentweet
This is an n8n community node. It lets you post, schedule, and manage X (Twitter) content with OpenTweet in your n8n workflows.
OpenTweet is an X/Twitter posting and scheduling API. You post, schedule, thread, and read analytics with a single API key. No X developer account, no OAuth, no app review.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
n8n Cloud (once verified)
Open Settings → Community Nodes, search for n8n-nodes-opentweet, and install it. Verified nodes install with one click, no configuration required.
Self-hosted
- Go to Settings → Community Nodes.
- Select Install.
- Enter
n8n-nodes-opentweetas the npm package name. - Agree to the risks of using community nodes and select Install.
Alternatively, follow the manual installation guide in the n8n docs.
Operations
Post
- Create — Publish a tweet to X immediately.
- Schedule — Schedule a tweet for a future date and time.
- Create Batch — Create up to 50 posts in a single request, either auto-mapped from incoming items or from a raw JSON array. The 50-post limit is validated before the request is sent.
Thread
- Create — Post a multi-tweet thread. Add each tweet as a part; publish immediately or schedule it.
Analytics
- Get — Retrieve your posting analytics overview (stats, streaks, and trends).
Credentials
You authenticate with an OpenTweet API key.
- Create a free account at opentweet.io. No X developer account is needed.
- Open the developer page and generate an API key. It starts with
ot_. - In n8n, create new OpenTweet API credentials and paste the key.
- n8n runs a test request against
GET /me, so you get a green check as soon as the key is valid.
See the authentication docs for details.
Compatibility
Requires n8n 1.x. Tested against the current n8n LTS. No runtime dependencies.
Usage
Post a tweet immediately
- Add the OpenTweet node.
- Resource: Post, Operation: Create.
- Set Text to
Just shipped a new feature!.
Schedule a tweet
- Resource: Post, Operation: Schedule.
- Set Text and pick a future Scheduled Date.
Post a thread
- Resource: Thread, Operation: Create.
- Add one Tweet per part, in order. The first part is the opening post.
- Optionally set a Scheduled Date under Additional Fields to schedule instead of publishing now.
Batch create from incoming items
- Resource: Post, Operation: Create Batch.
- Input Mode: Auto-Map Input Items.
- Leave Text as
{{ $json.text }}to use each item'stextfield. Optionally map a per-item Scheduled Date. - Connect up to 50 items into the node. It sends them in one request.
Read analytics
- Resource: Analytics, Operation: Get.
Error handling
The node surfaces OpenTweet's error messages directly. Common cases:
- 401 — "OpenTweet authentication failed. Check that your API key is correct and starts with
ot_." - 429 — a rate-limit message. OpenTweet enforces per-minute and daily limits per plan.
Enable Continue On Fail on the node to keep the workflow running and pass the error into the output instead of stopping.