PublishQ integrationsPublishQ for n8nX (Twitter) logo

Schedule X (Twitter) posts from n8n

The PublishQ node posts text, photos, a video or a GIF to X from any n8n workflow, now or at a set time. The X settings add what the X app offers on top: a poll, a quote, a reply to another post, who may reply, and posting into a Community.

n8n workflow: New blog post to X (Twitter)

How it works

1

Connect your accounts

Sign up, connect your social accounts in the dashboard and create an API key under API Keys.

Create an account
2

Install the node

In n8n, open Settings, Community Nodes, Install, enter and add a PublishQ API credential with your key.

3

Add it to a workflow

Drop the PublishQ node after any trigger. Pick the accounts by name, write the text and choose now, a time or a draft.

X (Twitter) settings in the PublishQ node

Platform Settings (JSON) for X
{
  "replySettings": "following",
  "poll": {
    "options": ["Daily", "Weekly", "Monthly"],
    "durationMinutes": 1440
  }
}
A poll takes 2 to 4 options of up to 25 characters and runs for 5 minutes to 7 days. It cannot be combined with media or a quote.

Polls, quotes and replies on X from one node

Each of these is a key in the X settings, so the same Post, Create step covers them. A workflow that watches a feed can quote the original post with quoteTweetId, or answer it with replyToTweetId, and replySettings limits who can answer you back.

  • poll: options and durationMinutes.
  • quoteTweetId: the id of the post to quote.
  • replyToTweetId: the id of the post to reply to.
  • replySettings: following, mentionedUsers, subscribers or verified.

How X counts characters in an n8n post

X weighs characters: every link counts as 23 characters whatever its length, and some characters, emoji among them, count as two. A Content expression that joins a title and a URL can therefore be longer than it looks. Give the X account a shorter override when the shared text runs long.

Frequently Asked Questions

Common questions about posting to X (Twitter) from n8n

Yes. Put the Community id in communityId in the X settings. The connected account has to be a member, and shareWithFollowers also shows the post to your followers.
No. On X, photos, a video, a GIF, a poll and a quote are separate kinds of post. Pick one of them per post.
Yes. Set forSuperFollowersOnly to true in the X settings to make the post visible to your subscribers only.
Up to four photos, or one video, or one GIF. Upload them with Media, Upload and put their ids in Media IDs.
No. You connect X once in PublishQ, and n8n only holds a PublishQ API key. The workflow never needs an X developer account of its own.
Start for Free

No credit card required • Set up in under 3 minutes

Alexandro - Founder
PublishQ

me 👋

Hi, I'm Alexandro 👋

I left my Software Engineer role at Amazon to build tools that solve real problems, the kind big companies ignore because they read spreadsheets instead of using their own products.

I was spending over an hour daily just scheduling 2 shorts across 3 platforms: logging in, reformatting, uploading one by one. That felt broken. So I built PublishQPublishQ . Now I create 4 shorts in 3 minutes and schedule them to 4 platforms in under 30 seconds.

PublishQ is bootstrapped. No investors, no vanity metrics. I build what actually helps you, because I use it every day myself.

Thank you,

Alexandro