WorkflowDiscordOpen

Keep discord clean

Triggered on a schedule. Connects Discord, Filter, Loop, Schedule, Stop And Error, Wait. Note ☝️ Don’t forget to setup an error workflow to get notified if something goes wrong 👨‍🎤 Setup 1. Add your Discord credentials 2. Change the server in each Discord node to the correct one 3. Click the Test Workflow button 3. Activate the workflow to run on a schedule Tip 👇 OAuth2 Authentication is very easy

Front matter
name: Keep discord clean
description: Triggered on a schedule. Connects Discord, Filter, Loop, Schedule, Stop And Error, Wait. **Note ☝️** Don’t forget to setup an error workflow to get notified if something goes wrong ### 👨‍🎤 Setup 1. Add your **Discord** credentials 2. Change the server in each **Discord** node to the correct one 3. Click the Test Workflow button 3. Activate the workflow to run on a schedule **Tip 👇** OAuth2 Authentication is very easy to setup # Nightly Discord Channel Cleanup ### This workflow runs every day at 9:00 p.m. and: - Retrieves all Discord channels using your provided credentials. - Pauses
category: Automation
kind: Workflow
software: Discord|Filter|Loop|Schedule|Stop And Error|Wait

Keep discord clean

Triggered on a schedule. Connects Discord, Filter, Loop, Schedule, Stop And Error, Wait. Note ☝️ Don’t forget to setup an error workflow to get notified if something goes wrong ### 👨‍🎤 Setup

  1. Add your Discord credentials
  2. Change the server in each Discord node to the correct one
  3. Click the Test Workflow button
  4. Activate the workflow to run on a schedule Tip 👇

OAuth2 Authentication is very easy to setup # Nightly Discord Channel Cleanup

This workflow runs every day at 9:00 p.m. and:

  • Retrieves all Discord channels using your provided credentials.
  • Pauses

Steps

  • Loop Over Channels (splitInBatches)
  • Loop Over Messages (splitInBatches)
  • Every day at 9pm (scheduleTrigger)
  • Sticky Note2 (stickyNote)
  • Sticky Note (stickyNote)
  • Cool down Discord API rate limits (wait)
  • Get all Discord channels (discord)
  • Cool down Message deletion API rate limits (wait)
  • Cool down Get messages API rate limits (wait)
  • Get messages from Channel (discord)
  • Delete Message (discord)
  • Filter Messages older than 7 days (filter)
  • Sticky Note3 (stickyNote)
  • Sticky Note1 (stickyNote)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Wait/1609_Wait_Schedule_Automation_Scheduled.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.