You can automatically post new RSS feed items to Twitter (X) using RSS.app and n8n. This workflow lets you share new blog posts, news, or updates directly to your Twitter account.
Prerequisites
An RSS.app account
An n8n account
A Twitter (X) account
Step 1: Create an RSS feed with RSS.app
1. Go to RSS Generator.
2. Paste the URL of the content you want to turn into a feed (e.g. a Twitter profile, subreddit, or blog).
3. Click Generate.
4. Once your feed is ready, click Save to My Feeds.
5. Copy the generated XML URL.
Step 2: Generate Twitter (X) API keys
1. Open the X Develop portal and login with your X account credentials.
2. Click on Developer Portal and open the App Settings.
3. Scroll down until you see User Authentication Settings. Click Edit.
4. Select the following options:
5. In the App Permissions section, select Read, Write, and Direct Messages.
6. In the Type of App section, select Web App and Automated App or Bot.
7. In the App Info section, enter the following details:
Callback URI/Redirect URL:
https://oauth.n8n.cloud/oauth2/callback
Website URL:
https://n8n.io
8. Click Save, then confirm by selecting Yes.
Copy the Client ID and Client Secret values and store them in a safe place. You’ll need them to connect your Twitter (X) account to n8n.
Step 3: Add an RSS Feed Trigger in n8n
1. Click Create Workflow in your n8n dashboard.
2. Click the + button and search for RSS Feed Trigger.
3. Choose how often you want n8n to check your feed for updates by setting the Poll Time.
4. Paste the RSS.app feed URL and click Fetch Test Event.
n8n will fetch the latest feed items according to your poll time.
Step 4. Add a Twitter node in n8n
1. Click the + icon and add the Twitter (X) node.
2. Select Create Tweet as the operation.
3. Open the Credentials window.
4. Paste your Client ID and Client Secret from the Twitter Developer Portal.
5. Click Connect to authorize your Twitter account.
6. In the Text field, enter how you want your post to look and map the fields from the RSS feed you want to include.
7. Click Execute Step to test. You should see a tweet appear on your account with the latest feed item.
Step 5: Activate the workflow
1. Once both nodes are connected and tested, click Execute Workflow to run everything together.
2. Toggle the Inactive button to turn the workflow on.
3. You can view all runs in the Executions tab anytime.
Each new article in your RSS feed will automatically post to your Twitter (X) account.