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-conditional-message

v2.1.1

Published

N8N Community Node - Conditional Message Node combining If, Switch and Notice functionality

Readme

N8N Conditional Message Node

A custom node for N8N that evaluates conditions and displays custom messages with intelligent routing.

Features

🔀 Conditional Operation

  • Conditional Message: Evaluates multiple conditions with AND/OR operators and displays custom messages

📋 Supported Operators

  • Equal / Not Equal
  • Contains / Not Contains
  • Starts With / Ends With
  • Greater Than / Less Than
  • Greater Than or Equal / Less Than or Equal
  • Is Empty / Is Not Empty
  • Filter (multiple words separated by comma)
  • Select (always returns false, used as placeholder)

💬 Per-Condition Message System

  • Each condition has its own message configuration
  • Customizable title and body per condition
  • Types: Info, Success, Warning, Error
  • Individual control to show or hide message per condition
  • Automatic timestamp

🛤️ Intelligent Routing

  • True/False outputs
  • Preserved data with detailed information from all conditions
  • Condition combination with AND/OR

Installation

npm install n8n-nodes-conditional-message

How to Use

  1. Add Conditions: Define up to 2 conditions with Value 1, Operator and Value 2 (or Filter)
  2. Configure Messages: For each condition, define title, body and message type (optional)
  3. Combine Conditions: Choose AND (all must be true) or OR (at least one must be true)
  4. Routing: Data is routed to True or False output based on result

⚠️ Limitations

  • Maximum of 2 conditions per node
  • Original data always preserved and passed to next nodes

Output Example

{
  "originalData": "...",
  "conditionalMessage": {
    "overallResult": true,
    "messages": [
      {
        "title": "Status Validation",
        "body": "Status is active",
        "type": "success",
        "conditionIndex": 0,
        "conditionMet": true
      },
      {
        "title": "Age Verification",
        "body": "Age is in valid range",
        "type": "info",
        "conditionIndex": 1,
        "conditionMet": true
      }
    ],
    "totalConditions": 2,
    "metConditions": 2,
    "combineOperation": "and",
    "timestamp": "2024-01-15T10:30:00.000Z"
  }
}

Development

# Install dependencies
npm install

# Build project
npm run build

# Development with watch
npm run dev

# Lint
npm run lint

License

MIT