Sometimes it is nice to have the option to set variable credentials in a node. This can already be done by using the “execute workflow” node. But I have found it to be a bit of a hassle sometimes, specifically with nodes where you have queries inside them.
Just select the ID of the credentials you want to use and copy-paste in the node you want to be executed with those credentials.
Of course, the credentials need to be a match for the node.
Note: you need to make sure to set the credentials in the node before copy-pasting so the node knows what type of credentials are used.