Hi Community,
I am currently using the self-hosted community edition of n8n.
In my current project, I am working with different environments for developing, staging and production for some applications I use.
However, for n8n I thought I don’t need that and just use one installation for both staging and production (won’t need it for local).
My intention was to use CustomAuth Credentials and setup the Token + URL per environment in separate credentials for staging and production - and then, in the flows just use whatever is needed.
Example:
The idea was to access these variables in a HTTP node by referencing them like this:
Unfortunately, this does not pull the values. They remain [undefined] in the flow and cannot be used for execution.
Is there any different workaround to use URLs and other fields (besides actual credentials) in CustomAuth credentials? Am I missing something?
—
I know there is a feature for multi-environments in n8n, but this requires an Enterprise License, which is simply not in the budget at this stage (my project is still in development and not live yet).
Happy about any tipps and recommendations. Maybe I’m overthinking this.

