Back to Templates

Save Mastodon Bookmarks to Raindrop Automatically

Created by

Created by: Aymeric Besset || valkann

Aymeric Besset

Last update

Last update 22 days ago

Share


🛠️ Note: This workflow uses a custom Mastodon API request. Ensure your server supports bookmark access, and that your access token has the right permissions. OAuth or token-based credentials must be configured.

🧑‍💼 Who is this for?

This workflow is ideal for digital researchers, social media users, and knowledge workers who want to automatically archive Mastodon bookmarks into their Raindrop.io collection for future reference and tagging.

🔧 What problem is this solving?

Mastodon users often bookmark posts they want to read or save for later, but there's no native integration to archive them outside the app. This workflow solves that by syncing bookmarked posts from Mastodon to Raindrop, making them more accessible, organized, and searchable long-term.

⚙️ What this workflow does

  • Triggers on schedule (or manually).
  • Tracks the latest fetched min_id using workflow static data to avoid duplicates.
  • Sends an HTTP GET request to the Mastodon bookmarks API, using bearer token authentication.
  • Validates and processes the bookmarks if new entries exist.
  • Parses pagination metadata (e.g. min_id) from response headers.
  • Splits response array to handle individual bookmarks.
  • Filters out entries with missing data.
  • Saves each post to Raindrop.io, using its title and URL. Use the card URL if exist.
  • Updates the min_id to remember where it left off.

🚀 Setup

  • Create a Mastodon access token with access to bookmarks.
  • Add a credential in n8n of type HTTP Bearer Auth with your token.
  • Create and connect a Raindrop OAuth2 credential.
  • Replace {VOTRE SERVEUR MASTODON} with your Mastodon server's base URL.
  • (Optional) Adjust the scheduling interval under the "Schedule Trigger" node.
  • Make sure the Raindrop collection ID is correct or leave it as default (-1) as this is the index for the Unsorted collection.

🧪 How to customize this workflow

  • To save to a specific Raindrop collection, change the collectionId in both Raindrop nodes.
  • You can extend the Code node to pull additional metadata like author, hashtags, or content excerpts.
  • Add an Email or Slack node after Raindrop to notify you of saved bookmarks.