Skip to content

davidwork8489/p_n_CustomTriggerWithFixedParam

Repository files navigation

n8n-nodes-custom-trigger-with-fixed-param

An n8n community node that acts as a manual trigger, emitting a fixed JSON payload configured directly in the node.

Overview

This node lets you start a workflow with a predefined JSON object as output. It is useful when you need to test or trigger workflows with a known, static input without relying on external webhooks or schedulers.

Unlike the built-in Manual Trigger, this node allows you to configure and store the input payload directly in the workflow, making it self-contained and reproducible.

Features

  • Configure a fixed JSON object as trigger output
  • Can be used multiple times in the same workflow, each with a different payload
  • Input is validated at execution time (must be a JSON object, not an array or primitive)

Installation

Via n8n UI (recommended)

  1. Open your n8n instance
  2. Go to Settings → Community Nodes
  3. Click Install
  4. Enter n8n-nodes-custom-trigger-with-fixed-param and confirm

The node will appear in the editor under the trigger category.

Via npm (self-hosted)

npm install n8n-nodes-custom-trigger-with-fixed-param

Then restart n8n.

Usage

  1. Add the Custom Trigger With Fixed Param node to your workflow
  2. Open the node and configure the Fixed Parameters field with any valid JSON object:
    {
      "environment": "production",
      "userId": 44
    }
  3. Execute the workflow — the node will emit that object as its output

Development

Requirements

  • Node.js >= 22
  • npm

Build

npm install
npm run build

Output is generated in the dist/ folder.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors