Add custom node to n8n to store variable values
In the n8n community edition you cannot use variables, but a user created a custom node (plugin) to allow you to store variable values, albeit only in your workflow. This is the n8n-nodes-globals NPM package, also known as “Global Constants”. In this post we will look at how to add this custom node to n8n.
Adding the custom node
In n8n, in the bottom left corner, click your profile icon and then Settings.

Then click on “Community nodes” and then click on Install.

In another tab go to the n8n-nodes-globals NPM URL and copy the name of the NPM package.

Now click the Install button and paste the name of the package.

It will take a while to install and then show up in your list of Community nodes.

To add it to your Workflow, search for “Global Constants”.
