X (Twitter) + n8n: Free Workflows & Setup Guide
What you can automate
- ✓Post tweets and threads automatically
- ✓Monitor mentions and keywords in real time
- ✓Auto-reply to mentions with AI-generated responses
- ✓Share new blog posts and content to X
- ✓Track follower growth and engagement metrics
Credential setup
Create a developer account at developer.x.com. Create a Project and App with Read and Write permissions. Generate OAuth 1.0a tokens (Consumer Key, Consumer Secret, Access Token, Access Token Secret). In n8n, add an X (Twitter) credential with these four values.
Common errors & fixes
403 Forbidden — Your client app is not configured with the appropriate oauth1 app permissions
In the X Developer Portal, make sure your app has 'Read and Write' permissions. After changing permissions, regenerate your Access Token and Secret.
429 Too Many Requests
X API v2 has strict rate limits (e.g., 50 tweets per 24 hours on free tier). Upgrade to Basic ($100/month) for higher limits, or add delays between actions.
Free templates using X (Twitter)
Frequently asked questions
Which X API tier do I need?+
The Free tier allows posting (50 tweets/24h) and basic read access. For monitoring mentions and higher volume, you need the Basic tier ($100/month).
Can I post images and videos?+
Yes. Upload media first using the media upload endpoint, then reference the media ID in your tweet. The workflow template handles this automatically.
Does it support threads?+
Yes. Post the first tweet, then reply to it with subsequent tweets using the reply.in_reply_to_tweet_id parameter.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help