Save Mastodon bookmarks to Raindrop automatically
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Raindrop.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Retrieves the last processed min_id to avoid duplicates (Code): runs custom JavaScript code
- Makes authenticated request to Mastodon’s bookmarks API (HTTP Request): calls an HTTP API
- Ensures the response has bookmarks before continuing (If): checks a condition and branches into true / false
- Extracts pagination data (like next min_id) from HTTP headers (Code): runs custom JavaScript code
- Splits API response into individual bookmark items (Split Out): splits a list into separate items
- Saves the new min_id to workflow static data (Code): runs custom JavaScript code
- Filters out invalid or incomplete bookmark data (If): checks a condition and branches into true / false
- Saves valid bookmark using post metadata (e.g., title, card.url) (Raindrop): create (bookmark)
- Saves bookmark using alternate fields if card data is missing (Raindrop): create (bookmark)
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Rarely used nodes in this template: n8n-nodes-base.raindrop
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Split Out
n8n-nodes-base.splitOut - Raindrop
n8n-nodes-base.raindrop
From the author
> 🛠️ 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…