X (Twitter)

App · Social Media · 6 actions · 1 trigger

Post, reply to, delete, like, and search tweets on your Twitter account.

Triggers

Start a workflow when something happens in X (Twitter). See how triggers work.

New Twitter mention

Triggers when someone mentions you on Twitter.

Filters

Narrow which events start a run.

keyword

Event fields

What a run starts with. Later steps read each field with an @ reference.

idtext
texttext

Actions

ActionWhat it does
Delete a tweetDelete a tweet from your Twitter account.
Get my profileGet the profile details for your connected Twitter account.
Like a tweetLike a tweet from your connected Twitter account.
Post a tweetPublish a tweet from your connected Twitter account.
Reply to a tweetReply to an existing tweet.
Search recent tweetsSearch recent tweets for a word, phrase, or hashtag.

Delete a tweet

Delete a tweet from your Twitter account.

Inputs

Tweet IDtweet_idtextRequired
Tweet ID to delete.

Outputs

statustext
Action execution status.
Example output
{
  "status": "success"
}

Get my profile

Get the profile details for your connected Twitter account.

Inputs

None.

Outputs

statustext
Action execution status.
userobject
User profile object.
Example output
{
  "status": "success",
  "user": {
    "id": "123456789",
    "name": "Lodol Automation",
    "username": "lodol"
  }
}

Like a tweet

Like a tweet from your connected Twitter account.

Inputs

Tweet IDtweet_idtextRequired
Tweet ID to like.

Outputs

statustext
Action execution status.
Example output
{
  "status": "success"
}

Post a tweet

Publish a tweet from your connected Twitter account.

Inputs

TexttexttextRequired
Tweet text.

Outputs

statustext
Action execution status.
tweetobject
Posted tweet object.
Example output
{
  "status": "success",
  "tweet": {
    "id": "1234567890",
    "text": "Just launched our new product!"
  }
}

Reply to a tweet

Reply to an existing tweet.

Inputs

Tweet to reply toin_reply_to_tweet_idtextRequired
The ID of the tweet you want to reply to.
TexttexttextRequired
Reply text.

Outputs

statustext
Action execution status.
tweetobject
Reply tweet object.
Example output
{
  "status": "success",
  "tweet": {
    "id": "1234567891",
    "text": "Thanks for sharing!"
  }
}

Search recent tweets

Search recent tweets for a word, phrase, or hashtag.

Inputs

Search termsquerytextRequired
What to search for, such as a word, phrase, or hashtag.
Number of tweetsmax_resultsnumber
The most tweets to return, between 10 and 100. Defaults to 10.

Outputs

statustext
Action execution status.
tweetslist
Array of tweet objects.
Example output
{
  "status": "success",
  "tweets": [
    {
      "id": "1234567890",
      "text": "Excited about the new AI features! #technology"
    }
  ]
}

On this page