Quick overview
This workflow polls an RSS feed for new articles, uses OpenAI to generate platform-specific copy for X, LinkedIn, and Instagram, pulls a related random image from the Unsplash API, and creates queued posts in Buffer for each social channel.
How it works
- Runs every hour and reads the latest items from the configured RSS feed.
- Sends each article title and snippet to OpenAI to generate three ready-to-post messages for X, LinkedIn, and Instagram.
- Requests a random related image from the Unsplash API using the article title as the search query.
- Creates an image post in Buffer for X using the generated Twitter text and the Unsplash image URL.
- Creates an image post in Buffer for LinkedIn using the generated LinkedIn text and the Unsplash image URL.
- Creates an image post in Buffer for Instagram using the generated Instagram caption and the Unsplash image URL.
Setup
- Add an OpenAI API credential in n8n (or replace the included OpenAI credential) for the OpenAI node.
- Create a Buffer account, connect your X/Twitter, LinkedIn, and Instagram profiles, and add your Buffer API credential in n8n.
- Create an Unsplash developer app and replace the client_id value in the HTTP Request URL with your Unsplash Access Key.
- Update the Buffer channel IDs and organization ID in each Buffer post action to match your connected social accounts.
- Replace the RSS feed URL and adjust the polling schedule in the RSS trigger to match your content source and posting cadence.
Requirements
- n8n account (free)
- Buffer account (free)
- Unsplash API key (free)
- OpenAI API credits (free in n8n)
Customization
- Change RSS feed URL to any website
- Adjust posting frequency (hourly/daily/weekly)
- Add or remove social media platforms
Additional info
This workflow automatically fetches news from any
RSS feed, generates AI-written captions for Twitter,
LinkedIn and Instagram, finds relevant images from
Unsplash and posts everything automatically 24/7.
Perfect for social media managers, content creators
and businesses wanting to automate their social
media presence completely for free!