Templates / Archive Discord attachments to Google Drive and log them in Google Sheets

Archive Discord attachments to Google Drive and log them in Google Sheets

Ready for 3.0

by Kevin Yu ✓ · 3 views · created 2026-07-28 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (every day at 03:00). Along the way it connects Google Sheets, Discord and Google Drive.

How it runs

Trigger: On a schedule (every day at 03:00).

  1. Set Archive Settings (Edit Fields (Set)): sets 7 fields: guildId, channelIds, driveParentFolderId…
  2. Read Archive Log (Google Sheets): uses Google Sheets
  3. Build Channel List (Code): runs custom JavaScript code
  4. Get Recent Messages (Discord): get many (message)
  5. Extract New Attachments (Code): runs custom JavaScript code
  6. Skip Oversized Attachments (Filter): keeps only the items that match a condition
  7. Create Dated Drive Folder (Google Drive): work with folder
  8. Plan Uploads Into Folder (Code): runs custom JavaScript code
  9. Download Attachment (HTTP Request): calls an HTTP API
  10. Upload To Drive Folder (Google Drive): uses Google Drive

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsDiscordGoogle Drive

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.

Nodes used (8)

From the author

Quick Overview This workflow runs daily to fetch recent Discord messages from selected channels, downloads new attachments, uploads them into a dated Google Drive folder, and appends a detailed archive record to a Google Sheets log to prevent expiring Discord…

Excerpt from Kevin Yu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.