When Can We Expect To Be Able To Select Credentials by Expression?

The idea is:

There are many use cases that require credentials to be selected dynamically (by expression instead of having to go in manually and select from the drop down list in the node). There are already many threads requesting this, some dating all the way back to 2020/2021.

My use case:

The practical use cases for this are too numerous to mention here (please see other posts in this forum) but in my case I am managing many WordPress sites and my workflows involve multiple WP nodes. Currently I have to go in to each of these nodes and manually change credentials depending on which site I am working with. Some of my workflows have up to 12 different WP nodes which all must be changed before I can run the workflow. This problem would be entirely solved if n8n would allow me to dynamically select the credential with an expression as they do with virtually every other input field.

Important Note:

Although my use case mentions the WordPress node specifically, this should be a feature of any node that requires credentials. As I mentioned before there are many other posts and comments about this elsewhere on this forum but it’s been requested for so many years and I can’t see anything on here that hints that it is being worked on, or when it might be released.

I think it would be beneficial to add this because:

Then people would be able to pass in one argument at the start of their workflow and subsequent nodes that rely on credentials would know which credential needs to be selected. This would save lots of time instead of having to go in manually and change each one, especially for workflows that run many iterations in rapid succession. The whole point of n8n is automation - but this critical step must be done by a human? Doesn’t make sense.

Any resources to support this?

My own experience building workflows / numerous posts and feature requests on this forum.

Are you willing to work on this?

Yes - I’m not that good with code or building new nodes or anything but at this point, I need this feature so bad that I am willing to do just about anything to help get it across the finish line.

Hey @mg_brent

There’s a similar topic on this

Hi mrrobot,

Thanks for your reply! Yes I see many similar posts to mine but as far as I can tell there is no resolution for this issue. There are a few janky custom nodes people have created which is fine if you are self hosting I guess and there are a couple of questionable work arounds but I’m trying to get an official response from n8n on whether or not this is even on their radar, and if so, when they think they might be able to roll it out to cloud users.

I appreciate you sharing that post with me but after reading through it again it doesn’t sound like the problem has been addressed or a solution has actually been implemented. This seems like a no-brainer to me and maybe I’m wrong but something that n8n should easily be able to implement. The feature requests for this have numerous upvotes but no sign from them on whether or not this is in the works.