n8n Community
How to define custom environment variables available in the n8n workflow
Questions
core
sscarduzio
April 7, 2022, 8:20am
14
Apparently this does not work anymore in the latest n8n (installed as npm)
image
1138×450 25.7 KB
console:
image
766×170 13.4 KB
Environment variables not accessible in self-hosted setup - $env returns empty object
show post in topic
Related topics
Topic
Replies
Views
Activity
Environmental variables in workflows
Questions
4
133
December 2, 2025
Sharing community node: Environment Variables
Built with n8n
custom-node
,
community-node
0
67
January 19, 2026
Not accessible via UI, please run node
Questions
expressions
3
940
November 6, 2023
How to modify environment variables inside n8n?
Questions
deployment
5
8949
June 24, 2025
Variables in n8n
Questions
10
3297
March 30, 2025