Templates / Archive Discord audit logs to Google Sheets and send weekly Slack digests

Archive Discord audit logs to Google Sheets and send weekly Slack digests

Ready for 3.0

by Kevin Yu ✓ · 3 views · created 2026-08-04 · Document Extraction

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

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 and Slack.

How it runs

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

  1. Set Audit Ledger Config (Edit Fields (Set)): sets 7 fields: guildId, sheetUrl, slackChannel…
  2. Read Stored Watermark (Data table): get
  3. Build Fetch Cursor (Code): runs custom JavaScript code
  4. Get Discord Audit Log Pages (HTTP Request): calls an HTTP API
  5. Check If Digest Day (If): checks a condition and branches into true / false
  6. Map Action Types and Users (Code): runs custom JavaScript code
  7. Read Ledger Rows in Sheets (Google Sheets): uses Google Sheets
  8. Append Entries in Sheets (Google Sheets): append
  9. Count Actions by Moderator (Code): runs custom JavaScript code
  10. Update Stored Watermark (Data table): create or update

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

Services it uses

Google SheetsSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Quick overview This workflow runs daily to fetch new Discord server audit log entries, appends them to a Google Sheets ledger, and posts a weekly digest to Slack summarizing moderator activity and action counts over a configurable lookback window. How it…

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.