Tailflow
Skip to article
Browse documentation

X · Action

Create post

Posts from your X account. Connected by signing in, so no token to find and paste.

When to use it

Public alerting. A bot account that posts large swaps, notable mints or liquidations as they happen, so followers see the move without you writing it.

At a glance

IntegrationX
Credits1
ConnectionX, by signing in

Settings

textRequiredAccepts event fields
The post.
reply_toOptionalAccepts event fields
The id of a post to reply to. Leave blank to post on its own.

Write the post

Fill in Post. Leave Reply to empty for a new post, or enter a post ID to reply. Only text is supported in this version. An image URL in the text does not attach an image.

Post to X Action Configuration
Path 1
Every event
Post to X
Selected action
1Post to X
Continue on error
A failure stops later actions on this path.
Example. Choose the posting account and review the rendered length in the app. Leave Reply to empty to publish a new post.Changes stay in this example. Nothing is saved or sent.

Check the rendered length

The counter uses the rendered post and X’s weighted 280-character limit; links count as 23 characters. A long event value can make a template too long even if its source text looks short.

Validate run checks the post without publishing. It does not prove that X will accept the post or that the connection is still authorized.

Post to X Preview and Character Count
Post to X
Preview
Rendered
125000 USDC transferred
Characters
22 / 280
Example. The count applies to the rendered post, including substituted fields. Validate run does not publish it.Changes stay in this example. Nothing is saved or sent.

Use the published result

Later actions can read {{ actions.x_post_1.id }} and {{ actions.x_post_1.url }}. To build a reply chain, set a second Create post action’s Reply to to the earlier post’s id.

Expired authorization, rate limits, duplicate content, and rejected posts can cause failures. Read the run reason before retrying or changing the text.

Post to X Reply Configuration
Post to X · first action
Output key
actions.x_post_1
Post to X · second action
Example. The second Post to X action uses the first action’s id. A dry run has no published post ID to use.Changes stay in this example. Nothing is saved or sent.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.x_post_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The id of the post, if you want to reference it later.
url
A link to it, ready to put in a Slack message.

Tokens are refreshed for you

X issues access tokens that last two hours and rotates the refresh token every time one is used. Tailflow handles that; you connect once.