Social Media
RSS to Mastodon Poster
Poll an RSS or Atom feed every 10 minutes, filter unseen items using persistent state, and publish new entries to Mastodon.
下载工作流


Poll an RSS or Atom feed every 10 minutes and publish new items to Mastodon while tracking the last posted entry ID.
Setup
- Replace
https://YOUR_RSS_FEED_URLin Fetch RSS feed with your RSS or Atom feed URL. - Replace
https://YOUR_MASTODON_INSTANCE/api/v1/statusesin Post status to Mastodon with your Mastodon server endpoint and bindMASTODON_ACCESS_TOKENto a secret variable containing your Mastodon access token (write:statusesscope). - Enable persistent State in Open Flow so
rss-to-mastodon:last-idis preserved across runs.
Behavior
- Runs every 10 minutes (UTC), fetches the feed XML, and extracts each entry’s short ID (trailing path segment of
guid/id/link), title, and URL. - Collects entries newer than the stored
rss-to-mastodon:last-idcheckpoint and posts them in chronological order toPOST /api/v1/statuses. - Updates
rss-to-mastodon:last-idonly after each Mastodon post succeeds so failed posts can be retried on the next scheduled run.
In n8n
For the n8n template, configure the feed URL in RSS Feed Read and your Mastodon instance URL and access token in HTTP Request.
Inspiration & credits
Changes to the source
- Renamed workflow from the mislabeled
post to mattermost v2toRSS to Mastodon Posterto match its actual Mastodon/api/v1/statusesendpoint. - Fixed the n8n
HTTP Requeststatus expression to reference each filtered item ($json.titleand$json.url) instead of always reading the first item ofRSS Feed Read. - Moved the Mastodon token from a URL query parameter to a Bearer
MASTODON_ACCESS_TOKENsecret variable in Open Flow and updated the checkpoint only after each status post succeeds.
Adapted from post to mattermost v2 in Zie619/n8n-workflows. Attribution: Zie619 / n8n-workflows.
The collection’s MIT notice is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see repository licensing.
MIT License
Copyright (c) 2025 Zie619
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.