Post Tweet
twitter.post_tweet
ActionChat & messagingconnection required
Calls X API POST /2/tweets with the connection's access token.
Post a tweet via the X API v2.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- X (Twitter)
- Secret shape
- the X OAuth2 access token
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
text Tweet text (max 280). Supports {{ }} expressions. | string | Yes | — | — | — |
reply_to Optional tweet id to reply to. | string | No | — | — | — |
Output
One shape.
tweet
| Field | Type | Example |
|---|---|---|
ok | boolean | true |
tweet_id Id of the created tweet. | string | — |
text The posted text. | string | — |
{
"ok": true,
"text": "",
"tweet_id": ""
}See Post Tweet run in a workflow.
In a technical demo we add the X (Twitter) connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.