npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-discord-trigger

v0.8.0

Published

A node that triggers a workflow whenever a message from discord is sent.

Readme

n8n-nodes-discord-trigger

n8n.io - Workflow Automation

n8n nodes to trigger workflows from Discord messages.

This node utilizes a Discord bot to transmit or receive data from child processes when a node is executed.

n8n is a fair-code licensed workflow automation platform.

Installation
Bot Setup
Operations
Credentials
Compatibility
Usage
Version history

Installation

Follow the installation guide in the n8n community nodes documentation.

Bot Setup

To send, listen to messages, or fetch the list of channels or roles, you need to set up a bot using the Discord Developer Portal.

  1. Create a new application and set it up as a bot.
  2. Enable the Privileged Gateway Intents for Message Intent.
  3. Add the bot to your server with at least read channel permissions.

Operations

With this node, you can:

  • Listen to Discord chat messages (both server messages and direct messages).
  • React to messages with specific patterns or triggers.
  • Fetch lists of channels and roles.

Credentials

You need to authenticate the node with the following credentials:

  • Client ID: The OAuth2 client ID of the Discord App.
  • Bot Token: The bot token of the Discord App.
  • n8n API Key: The API key of your n8n server.
  • Base URL: The API URL of your n8n instance (e.g., https://n8n.example.com/api/v1).

Refer to the official n8n documentation for more details.

Compatibility

  • Tested on n8n version 1.75.2 (coming soon)

Usage

To use this node:

  1. Install it as a community node in your n8n instance.
  2. Configure the required credentials.
  3. Set up triggers for Discord messages based on your use case.

For more help on setting up n8n workflows, check the Try it out documentation.

Version history

  • v0.8.0: Add GuildMemberUpdate trigger, add option to rename confirm button choices.
  • v0.7.0: Add multiclient support. Multiple credentials across multiple workflows are now possible.
  • v0.6.0: Add direct message support (Thank you Fank)
  • v0.5.1: Add additional timeout field for confirmation message
  • v0.5.0: Add a reaction trigger on messages, add attachments to message
  • v0.4.0: Introduce additional trigger options, such as User joins guild, User leaves guild, Role created, Role deleted or Role updated.
  • v0.3.2: Update for multiple simultaneous trigger nodes with one bot.
  • v0.3.1: Added additional option to trigger node to trigger on other bot messages
  • v0.3.0: Added option to require a reference message in order to trigger the node. Enhance interaction node with a confirmation node
  • v0.2.9: Bug fix, where a message won't trigger when multiple trigger nodes are included.
  • v0.2.8: Multiple trigger nodes are now supported.
  • v0.2.7: A second node Discord Interaction is added to send a message with the same credentials. Additionally roles of users can be added or removed based on interaction.
  • v0.1.5: Initial release with message triggers and channel/role fetching capabilities.