{"product_id":"sync-mastodon-bookmarks-to-wallabag-n8n-w-data-table","title":"Sync Mastodon Bookmarks to Wallabag (n8n) w\/ Data Table","description":"\u003ch3\u003eKeep your Mastodon bookmarks synced to Wallabag—automatically, every 5 minutes\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow fetches new Mastodon bookmarks and saves them into Wallabag, using an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e to track the last processed bookmark ID and avoid duplicates by checking Wallabag before creating new entries.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule:\u003c\/strong\u003e the workflow executes every five minutes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTracks progress with n8n Data Table:\u003c\/strong\u003e it reads the last processed Mastodon bookmark ID (\u003cem\u003emin_id\u003c\/em\u003e) and uses a default value on the first run.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches only new bookmarks:\u003c\/strong\u003e it calls the Mastodon API endpoint \u003ccode\u003e\/api\/v1\/bookmarks\u003c\/code\u003e using \u003cem\u003emin_id\u003c\/em\u003e to retrieve newer bookmarks.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStops when there are no new items:\u003c\/strong\u003e if none are returned, it ends the run early.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUpdates min_id for next time:\u003c\/strong\u003e it extracts pagination values from the Mastodon Link response header (including the newest \u003cem\u003emin_id\u003c\/em\u003e) and writes it back to the Data Table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSelects the best URL per post:\u003c\/strong\u003e for each bookmarked post, it determines a URL by preferring the link preview card URL, otherwise using the first non-mention\/non-hashtag link, or falling back to the post URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicates in Wallabag:\u003c\/strong\u003e it checks whether the chosen URL already exists in Wallabag; if not, it creates a new Wallabag entry with metadata (title, author, language, content, origin URL, and published date).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArchive Mastodon bookmarks in Wallabag for easy reading later.\u003c\/li\u003e\n  \u003cli\u003eMaintain a consistent “save and forget” workflow across Mastodon and Wallabag without manual copying.\u003c\/li\u003e\n  \u003cli\u003eRun a low-maintenance SaaS-like content sync using scheduled n8n automation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ components:\u003c\/strong\u003e if, code, split out, Data Table, sticky note, HTTP Request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Mastodon API (with Bearer token using \u003ccode\u003eread:bookmarks\u003c\/code\u003e) and Wallabag via \u003ccode\u003en8n-nodes-wallabag\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDuplicate handling:\u003c\/strong\u003e Wallabag “exists” check before “create”.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46288990503091,"sku":"N8N-21676","price":11.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/pHJ1ja0SrJYH0HDDwq70m_acahZoi6.png?v=1793005775","url":"https:\/\/buyflowscripts.com\/products\/sync-mastodon-bookmarks-to-wallabag-n8n-w-data-table","provider":"N8N Commerce","version":"1.0","type":"link"}