n8n + X

Post to X from n8n

Send X posts from n8n to BrokenPost. Your workflow builds the post, BrokenPost posts it to X at the time you set.

How to connect n8n to X

  1. 1

    Connect X in BrokenPost. Sign in with your X account. BrokenPost asks X for permission to post on your behalf.

  2. 2

    In BrokenPost, open Plugins and copy your API key.

  3. 3

    In n8n, install the BrokenPost community node (the Plugins page links to it).

  4. 4

    Add your API key as a credential.

  5. 5

    Add a BrokenPost step to any workflow to create posts.

Prefer another way? See every way to connect n8n.

X workflows to build in n8n

Each one ends with a step that sends the post to BrokenPost.

What happens next

  1. 1

    Your n8n workflow starts from its trigger, like a new row, a form or an RSS item.

  2. 2

    It sends the text, the date and the channel to the BrokenPost public API.

  3. 3

    BrokenPost pulls in any media and saves the post on your calendar, as scheduled or as a draft.

  4. 4

    At the set time BrokenPost publishes it to X. If X rejects it, the post shows as failed with the reason.

X limits to build for

Keep each post inside these limits. If X rejects one, it shows as failed on your calendar with the reason.

Characters280 characters (4,000 for verified (Premium) accounts, up to 100,000 for articles)
MediaUp to 4 pictures or 1 video per post, or text only
PicturesUp to 4 per post
Video1 per post
ThreadsYes, every extra part is posted as a reply
ArticlesLong-form articles, saved as a draft or published

X settings you can send

Send them with the post in the X settings.

If X rejects a post

The post shows as failed on your calendar with one of these messages.

What you seeHow to fix it
You are not allowed to create a post with duplicate contentX blocks posts that match one you sent before. Change a few words, or add a picture, and schedule it again.
There must be a maximum of 4 items per postRemove pictures until there are 4 or fewer, or send one video instead.
There can be maximum of one cashtag ($SYMBOL) per postKeep one $TICKER per post and move the rest to a reply.
Publishing articles on X requires an X Premium subscriptionArticles need X Premium on that account. Post it as a thread instead, or upgrade on X.
X rate limit reached, please try again laterX limits how often an app can post. Space your posts out by a few minutes and retry.
X authentication has expired, please reconnect your accountOpen the channel in BrokenPost and click reconnect. Your scheduled posts stay in place.

Good to know

Questions people ask

Can n8n post to X?

Yes, through BrokenPost. Connect X in BrokenPost, then send posts to the BrokenPost public API from n8n.

What are the X limits?

280 characters (4,000 for verified (Premium) accounts, up to 100,000 for articles). Up to 4 pictures or 1 video per post, or text only. If X rejects a post, it shows as failed on your BrokenPost calendar with the reason.

Can n8n schedule X posts for later?

Yes. Send a date and time with the post and it goes out then, or send it as a draft to check it first.

Is it free?

The public API works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.

Can I schedule an X thread?

Yes. Add more parts under your first post. BrokenPost posts the first part at your time, then each next part as a reply.

Can I schedule X articles?

Yes. Set the post type to article, add a title and a cover picture, and choose if it goes live or stays a draft on X.

More apps with n8n

Post to X with other AI

All about scheduling X posts

Write once. Post everywhere.

Start free with BrokenPost. Connect your apps and your AI in a few minutes.