> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.twitter.md).

# X (Formerly Twitter)

Use the X node to automate work in X and integrate X with other applications. n8n has built-in support for a wide range of X features, including creating direct messages and deleting, searching, liking, and retweeting a tweet.

On this page, you'll find a list of operations the X node supports and links to more resources.

{% hint style="info" %}
**Credentials**

Refer to [X credentials](/integrations/builtin/credentials/twitter.md) for guidance on setting up authentication.
{% endhint %}

{% hint style="info" %}
**This node can be used as an AI tool**

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the [AI tool parameters documentation](/build/integrate-ai/ai-examples/use-ai-for-parameters.md).
{% endhint %}

## Operations <a href="#operations" id="operations"></a>

* Direct Message
  * Create a direct message
* Tweet
  * Create or reply a tweet
  * Delete a tweet
  * Search tweets
  * Like a tweet
  * Retweet a tweet
* User
  * Get a user
* List
  * Add a member to a list

## Templates and examples <a href="#templates-and-examples" id="templates-and-examples"></a>

[Browse X (Formerly Twitter) node documentation integration templates](https://n8n.io/integrations/twitter) or [search all templates](https://n8n.io/workflows/)
