X (Twitter)
Post tweets via the X API v2 (Bearer token).
OCNORA ships 18 typed X (Twitter) operations. Each node has a schema-driven form, input and output tables beside its settings, and is pre-flighted by Workflow Health before your first real run. Endpoints not covered by a typed node are called at https://api.twitter.com/2 through the HTTP node with the same credential.
Before you connect X (Twitter)
- Authentication
- Bearer token
- Credential
- the X OAuth2 user-context access token, or {"access_token": "…"}the X OAuth2 access token
- Connection test
- Available: the stored credential can be checked against the provider when you add it. This is not a record that a test was run or passed.
What you can do with X (Twitter)
Operations, grouped by what they do to your data.
Create and send 5
Read and search 8
Delete and cancel 2
Other operations 3
A sample X (Twitter) workflow
- 1A core triggerStart the run from a chat, form, manual, schedule, webhook, workflow trigger — no X (Twitter) trigger is needed.
- 2Get Authenticated Usertwitter.get_meRead the account the connection's token belongs to. The usual first step: its 'id' is what the like, repost and bookmark nodes need.
- 3Create Posttwitter.create_postCreate a post with media, a poll, a quote or a reply. The original twitter.post_tweet node stays for text-only posts.
An outline built from this provider’s node contracts, not a recorded run. Each step’s output fields are available to the next in the field picker.
Every node below has a reference page: what it does, the connection it needs, its config fields with types, constraints and examples, and the shapes it emits.
Operations 18
- Create PostCreate a post with media, a poll, a quote or a reply. The original twitter.post_tweet node stays for text-only posts.twitter.create_post
- Delete PostDelete one of the authenticated user's own posts.twitter.delete_post
- Get Authenticated UserRead the account the connection's token belongs to. The usual first step: its 'id' is what the like, repost and bookmark nodes need.twitter.get_me
- Get PostLook one post up by id, with whatever fields and expansions you ask for.twitter.get_post
- Get Posts By IdsLook up to 100 posts up in one call, by their ids.twitter.get_posts
- Get User By IdLook one user up by their numeric id.twitter.get_user
- Get User By UsernameLook one user up by @handle, which is how you turn a handle into an id.twitter.get_user_by_username
- Like PostLike a post as the authenticated user. Enterprise plans only since April 2026.twitter.like_post
- List BookmarksOne page of the authenticated user's bookmarked posts.twitter.list_bookmarks
- List Liking UsersOne page of the users who liked a post.twitter.list_liking_users
- Post TweetPost a tweet via the X API v2.twitter.post_tweet
- RepostRepost (retweet) a post as the authenticated user.twitter.retweet_post
- Search Recent PostsSearch public posts from the last 7 days. Needs a paid X plan — this is the endpoint a free or metered account most often cannot call.twitter.search_recent
- Send Direct MessageSend a direct message to one user, starting the conversation if needed.twitter.send_direct_message
- Send Direct Message To ConversationSend a direct message into an existing conversation, including a group DM.twitter.send_direct_message_to_conversation
- Undo RepostTake back a repost the authenticated user made.twitter.undo_retweet
- Unlike PostRemove the authenticated user's like from a post.twitter.unlike_post
- Upload MediaUpload an image, GIF or short video and get the media id to attach to a post or a direct message.twitter.upload_media
X (Twitter) questions
- How does OCNORA authenticate with X (Twitter)?
- With a stored Bearer token credential, shaped the X OAuth2 user-context access token, or {"access_token": "…"} or the X OAuth2 access token. A connection test can check it when you add it.
- What can I automate with X (Twitter)?
- 18 typed operations, each with a reference page listing its config fields and the shapes it emits.
- What if the X (Twitter) operation I need is not listed?
- Call https://api.twitter.com/2 from the HTTP node with the same credential, or describe the step to the AI builder, which asks our team for a typed node when one is missing.
- Are there templates that use X (Twitter)?
- Not yet. Start from a blank workflow, or describe the workflow to Build with AI.
- How are X (Twitter) calls controlled?
- Every call and every run step is audited, runs count against the execution budget, and Workflow Health pre-flights the workflow when you save it.
More in Chat & messaging
See your first X (Twitter) workflow run.
Book a technical demo. We add the connection, pick a template or describe the workflow to Build with AI, and Workflow Health checks it before it runs.