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.