{"product_id":"n8n-workflow-archive-discord-attachments-to-google-drive","title":"n8n Workflow: Archive Discord Attachments to Google Drive","description":"\u003ch3\u003eAuto-archive Discord attachments to Google Drive (with an always-up-to-date log)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs daily to find new Discord message attachments in your chosen channels, downloads them, uploads them into a dated Google Drive folder, and records everything in Google Sheets—so you don’t lose attachments when Discord CDN links expire.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a daily schedule\u003c\/strong\u003e to keep your archives current.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses Google Sheets as a watermark:\u003c\/strong\u003e reads the “Archive Log” tab to find the most recent \u003cem\u003ePosted At\u003c\/em\u003e timestamp (or uses a configurable lookback window on the first run).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches recent messages per configured Discord channel ID\u003c\/strong\u003e and keeps only attachments posted after the watermark.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents oversized downloads:\u003c\/strong\u003e filters out attachments larger than your configured maximum size before downloading.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOrganizes files in Google Drive:\u003c\/strong\u003e creates a Google Drive folder named with the run date under your selected parent folder.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDownloads, uploads, and names files:\u003c\/strong\u003e downloads each attachment from its Discord URL, uploads it to the dated folder, and uses a \u003cstrong\u003emessage-ID-prefixed\u003c\/strong\u003e filename.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends a detailed archive record to Google Sheets:\u003c\/strong\u003e logs poster, timestamp, message link, attachment metadata, plus the Drive link\/file ID for each item.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePreserve files shared in Discord communities (designs, PDFs, images) for long-term access.\u003c\/li\u003e\n  \u003cli\u003eArchive support attachments from internal Discord channels to reduce knowledge loss.\u003c\/li\u003e\n  \u003cli\u003eCompliance-friendly recordkeeping for SaaS teams that rely on Discord for file sharing.\u003c\/li\u003e\n  \u003cli\u003eReduce broken links by proactively storing Discord attachments in Google Drive.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ components:\u003c\/strong\u003e \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003efilter\u003c\/code\u003e, \u003ccode\u003ediscord\u003c\/code\u003e, plus Google Drive and Google Sheets integrations.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDiscord setup:\u003c\/strong\u003e bot needs permissions to read message history and enable the \u003cstrong\u003eMESSAGE CONTENT\u003c\/strong\u003e privileged intent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle integrations:\u003c\/strong\u003e uses \u003cstrong\u003eGoogle Drive OAuth2\u003c\/strong\u003e for folder\/file uploads and \u003cstrong\u003eGoogle Sheets OAuth2\u003c\/strong\u003e to maintain the “Archive Log” tab.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45741406388403,"sku":"N8N-17615","price":36.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/mY2AONerSFqMmMYbPgAxY_feTkRm4h.png?v=1785315833","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-archive-discord-attachments-to-google-drive","provider":"N8N Commerce","version":"1.0","type":"link"}