LIVEAI Bootcamps · May 2026 · 🇫🇷 CET
Resources · Integrations · n8n FREE · 2026Official X logo, formerly Twitter, featuring a stylized white 'X' on a black background, representing the rebrand.

TWITTER (X) n8n INTEGRATION: AUTOMATE TWITTER (X) WITH N8N

TWITTER (X) N8N INTEGRATION: AUTOMATE TWITTER (X) WITH N8N

Need help

Need help automating Twitter X with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Why automate

Why automate Twitter X with n8n?

The Twitter (X) n8n integration gives you access to 8 distinct actions covering the full spectrum of Twitter operations: tweet creation, search, engagement (likes and retweets), list management, direct messaging, and user data retrieval. This means you can build comprehensive social media automation workflows that handle everything from content publishing to audience engagement.

Significant time savings: Forget manually posting tweets at optimal times or individually liking relevant content. Set up smart rules that automatically publish your content, engage with your audience, and respond to mentions—even while you sleep. Improved responsiveness: Trigger instant actions based on search results or user interactions. When someone mentions your brand or uses a specific hashtag, your workflow can immediately engage. Zero oversight: Your automations run 24/7, ensuring no opportunity slips through the cracks. Every relevant tweet gets noticed, every scheduled post goes live on time. Seamless integration: Connect Twitter (X) to over 400 applications in n8n, from CRMs like HubSpot to databases like Airtable, email tools, and beyond.

Concrete use cases include: automatically tweeting new blog posts when published, building a lead list by adding engaged users to Twitter lists, sending personalized DMs to new followers, monitoring competitor mentions and compiling reports, or creating a content recycling system that retweets your best-performing posts.

Credentials

How to connect Twitter X to n8n?

  1. !
    1 step

    How to connect Twitter X to n8n?

    1. 01

      Add the node

      Search and add the node in your workflow.

    Twitter X credentials
    TIP
    💡 TIP: Make sure you're logged into the correct Twitter (X) account before starting the OAuth flow. If you manage multiple accounts, use your browser's incognito mode to avoid accidentally connecting the wrong one. Also, keep in mind that some actions (like creating tweets) require "Read and Write" permissions, so ensure your Twitter developer app is configured accordingly. For more advanced automation scenarios, consider exploring our n8n troubleshooting guide.
Need help

Need help automating Twitter X with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Actions

Twitter X actions available in n8n

  1. 01
    Action 01

    Twitter (X): Get User

    This action retrieves detailed information about a specific Twitter (X) user, making it perfect for building prospect databases, verifying accounts, or enriching your CRM with social data. You can fetch profile details like follower counts, bio information, and account verification status.

    Key parameters:

    • Credential to connect with: Required dropdown to select your authenticated Twitter (X) account
    • Resource: Set to "User" to operate on user data
    • Operation: Set to "Get" to retrieve user information
    • User identification: Choose "By User" and enter the username (without the @ symbol) in the text field
    • Me toggle: Optional switch—when enabled, retrieves information about your own authenticated account instead

    Practical use cases:

    • Enrich lead data in your CRM by fetching Twitter profile information
    • Verify potential influencer accounts before outreach campaigns
    • Monitor competitor follower growth by scheduling regular data pulls
    • Build a dashboard tracking key accounts in your industry
    Twitter (X): Get User
  2. 02
    Action 02

    Search Tweet

    The Search Tweet action is your window into Twitter's real-time conversation. It allows you to find tweets matching specific keywords, hashtags, or phrases—essential for social listening, competitive analysis, and identifying engagement opportunities.

    Key parameters:

    • Credential to connect with: Required dropdown for your X account credentials
    • Resource: Set to "Tweet" for tweet-related operations
    • Operation: Set to "Search" to query Twitter's search API
    • Search Term: Required text field where you enter your keywords (e.g., "automation", "#n8n", or "from:username")
    • Return All: Toggle to fetch all matching results (use carefully to avoid rate limits)
    • Limit: Number field to cap results—set to 50 by default, adjust based on your needs
    • Options: Expandable section for additional search refinements

    Practical use cases:

    • Monitor brand mentions and sentiment in real-time
    • Find potential customers discussing problems your product solves
    • Track industry hashtags and compile daily/weekly digests
    • Identify trending content for your retweet or engagement strategy
    Search Tweet
  3. 03
    Action 03

    Retweet Tweet

    Amplify content automatically with the Retweet Tweet action. This is particularly useful for curating content from partners, sharing user-generated content, or automatically amplifying posts from specific accounts or with certain hashtags.

    Key parameters:

    • Credential to connect with: Required dropdown for authentication
    • Resource: Set to "Tweet"
    • Operation: Set to "Retweet" to share an existing tweet
    • Tweet identification: Choose "By ID" and enter the tweet's unique numerical ID (the long number at the end of a tweet URL)

    Practical use cases:

    • Automatically retweet posts from partner accounts
    • Share user-generated content that mentions your brand
    • Create a content curation workflow that retweets top posts in your niche
    • Build a "best of" automation that retweets your own high-performing content
    Retweet Tweet
  4. 04
    Action 04

    Tweet: Like

    Engagement matters on Twitter, and the Like action helps you scale it. Automatically like tweets that match certain criteria—mentions of your brand, posts from key accounts, or content containing specific keywords.

    Key parameters:

    • Credential to connect with: Required dropdown to select your X account
    • Resource: Set to "Tweet"
    • Operation: Set to "Like" to add a like to the specified tweet
    • Tweet identification: Select "By ID" and provide the tweet's numerical ID

    Practical use cases:

    • Like all tweets mentioning your brand for quick engagement
    • Automatically like posts from your top customers or partners
    • Build goodwill by liking content from industry thought leaders
    • Create an engagement ladder that likes, then retweets high-value content
    Tweet: Like
  5. 05
    Action 05

    Delete Tweet

    Need to clean up old content or remove scheduled tweets that are no longer relevant? The Delete Tweet action handles tweet removal programmatically, useful for content lifecycle management or crisis response workflows.

    Key parameters:

    • Credential to connect with: Required dropdown for X account authentication
    • Resource: Set to "Tweet"
    • Operation: Set to "Delete" to permanently remove the tweet
    • Tweet identification: Select "By ID" and enter the numerical tweet ID to delete

    Practical use cases:

    • Automatically remove promotional tweets after a campaign ends
    • Create a "tweet expiry" workflow that deletes posts after a set time period
    • Build a moderation system that removes flagged content
    • Clean up test tweets from development workflows
    Delete Tweet
  6. 06
    Action 06

    Tweet: Create

    The heart of Twitter automation—Tweet: Create lets you publish new tweets directly from your n8n workflow. This is essential for scheduled posting, content syndication, or triggered announcements based on external events.

    Key parameters:

    • Credential to connect with: Required dropdown for X account selection
    • Resource: Set to "Tweet"
    • Operation: Set to "Create" to publish a new tweet
    • Text: Required multi-line text field for your tweet content (supports n8n expressions for dynamic content)
    • Options: Expandable section for advanced features like reply settings, media attachments, or polls

    Practical use cases:

    • Automatically tweet when you publish a new blog post or product update using WordPress integration
    • Create a scheduled content queue that posts at optimal times
    • Tweet alerts based on external triggers (e.g., stock price changes, weather alerts)
    • Build a content recycling system that reposts evergreen content

    💡 TIP: Use n8n expressions in the Text field to create dynamic tweets. For example, pull data from previous nodes to include article titles, customer names, or real-time statistics in your automated posts.

    Tweet: Create
  7. 07
    Action 07

    List: Add Member

    Twitter lists are powerful for organizing accounts, and this action lets you automate list management. Add users to curated lists based on their engagement, interests, or relevance to your business.

    Key parameters:

    • Credential to connect with: Required dropdown for authentication
    • Resource: Set to "List" to work with Twitter lists
    • Operation: Set to "Add Member" to add a user to a specified list
    • List identification: Choose "By ID" and enter your list's numerical ID
    • User identification: Select "By User" and enter the username to add

    Practical use cases:

    • Automatically add new followers to a "New Audience" list
    • Build prospect lists by adding users who engage with competitor content
    • Create VIP lists by adding customers who mention your brand positively
    • Organize influencers into category-specific lists for outreach campaigns using LinkedIn integration for cross-platform prospecting
    List: Add Member
  8. 08
    Action 08

    Create Direct Message

    Personal outreach at scale—the Create Direct Message action sends private messages to Twitter users. Use this for welcome messages, customer support responses, or personalized outreach sequences.

    Key parameters:

    • Credential to connect with: Required dropdown for X account credentials
    • Resource: Set to "Direct Message"
    • Operation: Set to "Create" to send a new DM
    • User identification: Select "By User" and enter the recipient's username
    • Text: Required multi-line field for your message content
    • Additional Fields: Optional section for advanced options like media attachments

    Practical use cases:

    • Send automated welcome messages to new followers
    • Create a customer support workflow that responds to specific keywords
    • Build personalized outreach sequences for influencer marketing
    • Send order confirmations or account notifications via DM

    ⚠️ Important: Be mindful of Twitter's automation policies regarding DMs. Avoid spammy behavior and always ensure your automated messages provide genuine value to recipients.

    Create Direct Message
You've seen the integration

Build your first workflow with our team

Drop your email and we'll send you the catalog of automations you can ship today.

  • Free n8n & Make scenarios to import
  • Step-by-step setup docs
  • Live cohort + community support

Frequently asked questions

  • Is the Twitter (X) n8n integration free?
    The n8n Twitter (X) integration itself is free to use within n8n, whether you're on the self-hosted community edition or a paid cloud plan. However, keep in mind that Twitter (X) API access has its own pricing structure. The Basic tier ($100/month) provides limited access suitable for small-scale automation, while Pro and Enterprise tiers offer higher rate limits and additional features. Your costs will depend on your automation volume and which Twitter API endpoints you need to access. For a comprehensive overview of n8n capabilities, check our n8n review.
  • What are the rate limits for Twitter (X) automations in n8n?
    Twitter enforces strict rate limits that vary by endpoint and API tier. For example, tweet creation is typically limited to 200 tweets per 15-minute window on the Basic tier. Search queries, likes, and retweets each have their own limits. When building n8n workflows, use the "Wait" node between Twitter actions to space out requests and avoid hitting rate limits. Monitor your usage through Twitter's developer dashboard and consider implementing error handling to retry failed requests gracefully. You can also explore our guide to building AI agents with n8n for advanced workflow patterns.
  • Can I schedule tweets with the Twitter (X) n8n integration?
    Absolutely! While there isn't a native "schedule" parameter in the Tweet: Create action, you can easily schedule tweets using n8n's built-in scheduling features. Use the "Cron" trigger node to fire your workflow at specific times, or the "Wait" node to delay execution. For more complex scheduling, maintain a content calendar in Google Sheets or Airtable and have n8n check it regularly, publishing tweets when their scheduled time arrives. This approach gives you full control over your posting schedule while keeping content management separate from execution.
Hack'celeration Lab

Get our weekly integration tips.

No spam. Unsubscribe anytime.