globals

N8N community node that allows users to create global constants and use them in all their workflows

Package Information

Released: 6/20/2025
Downloads: 139,768 weekly / 322,016 monthly
Latest Version: 1.1.0
Author: Vasily Maslyukov

Documentation

n8n-nodes-globals

This is an n8n community node. It lets you create global constants that can be used in any workflow.

Installation

Follow the installation guide in the n8n community nodes documentation.

Usage

This node uses N8N Credential to store the global variables.

  1. Add "Global Constants" node to your workflow.
    Global Constants node

  2. In the node configuration, either select an existing credential or create a new one.

  3. Select the format for your global constants:

    • Key-value pairs format: Use "name=value" pairs, one per line
    • JSON format: Provide constants as a JSON object
  4. Add your constants according to the chosen format:

    KeyKey-value pairs
    Define constants String

    JSON
    Define constants

  5. Use the global constants in your workflow
    Use constants

Discussion