multiple-manual-triggers

n8n community node plugin to allow placing multiple manual triggers in a workflow

Package Information

Released: 3 mo ago
Downloads: 177 weekly / 177 monthly
Latest Version: 1.0.0
Author: Dan Even Segler

Documentation

n8n-nodes-multiple-manual-triggers

This is an n8n community node package that solves a common editor limitation: the standard "Manual Trigger" (when clicking "Test workflow") can only be placed once per workflow.

This plugin introduces the Multiple Manual Trigger node, which has no instance count constraints, allowing you to place it multiple times in a single workflow.

Additionally, it adds robust testing capabilities by allowing you to define mock output payloads (JSON or custom key-value pairs) directly inside the trigger node.


Key Features

  • Multiple Instances: Unlike the built-in Manual Trigger, you can place this node as many times as you like in your workflow.
  • Custom Output Mocking: Define exactly what data this trigger emits when activated:
    • Empty (No Data): Emits an empty object [{}].
    • JSON: Define a raw JSON object to simulate the exact payload your workflow expects.
    • Key-Value Pairs: Input custom fields as key-value pairs for rapid, form-like data entry.
  • Node-level Manual Activation: Trigger each node individually using the n8n editor's built-in "Test step" button, allowing you to selectively execute branches.

Directory Structure

n8n-nodes-multiple-manual-triggers/
├── icons/
│   ├── multiple-manual-trigger.svg        # Icon for light mode
│   └── multiple-manual-trigger.dark.svg   # Icon for dark mode
├── nodes/
│   └── MultipleManualTrigger/
│       └── MultipleManualTrigger.node.ts  # Node definition and execution logic
├── package.json                           # Package configurations and dependencies
└── tsconfig.json                          # TypeScript configuration

Available Nodes & Operations

Multiple Manual Trigger

Acts as a manual trigger for your workflow with configurable output data.

Parameters:

  • Data Mode:
    • Empty (No Data): Outputs an empty object [{}].
    • JSON: A multi-line JSON input field to specify structured mock data.
    • Key-Value Pairs: An expandable list of custom key and value pairs.

Installation

Community Node Install (Standard)

Refer to the official n8n Community Nodes Installation Guide to install this package in your n8n instance using:

n8n-nodes-multiple-manual-triggers

Local Development Setup

To link and run this node locally for testing:

  1. Build & Link the Node:

    cd /path/to/n8n-nodes-multiple-manual-triggers
    npm install
    npm run build
    npm link
    
  2. Mount in your local n8n installation:
    Navigate to your local n8n folder (usually ~/.n8n/):

    cd ~/.n8n
    mkdir nodes
    cd nodes
    npm link n8n-nodes-multiple-manual-triggers
    
  3. Restart n8n:
    Restart your n8n server, and the new nodes will appear in your workflow editor.


License

MIT

Discussion