Back to Nodes

Global Constants

Last updated Jun 20, 2025

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

144,575 Weekly Downloads
552,102 Monthly Downloads

Included Nodes

Global Constants

Description

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