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.
idtexttexttext
Actions
| Action | What it does |
|---|---|
| Delete a tweet | Delete a tweet from your Twitter account. |
| Get my profile | Get the profile details for your connected Twitter account. |
| Like a tweet | Like a tweet from your connected Twitter account. |
| Post a tweet | Publish a tweet from your connected Twitter account. |
| Reply to a tweet | Reply to an existing tweet. |
| Search recent tweets | Search recent tweets for a word, phrase, or hashtag. |
Delete a tweet
Delete a tweet from your Twitter account.
Inputs
- Tweet ID
tweet_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 ID
tweet_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
- Text
texttextRequired - 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 to
in_reply_to_tweet_idtextRequired - The ID of the tweet you want to reply to.
- Text
texttextRequired - 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 terms
querytextRequired - What to search for, such as a word, phrase, or hashtag.
- Number of tweets
max_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"
}
]
}