Add ability to pre / post fix all object keys with rename keys

The idea is:

Make Rename keys more powerful

My use case:

I would like to rename all object keys using an option or an expression so that I can operate on objects with an arbitrary amount of keys and key names -

I think it would be beneficial to add this because:

this is very useful for use with the merge by key functionality as sometimes two data streams will have very similar keys

Any resources to support this?

Are you willing to work on this?

Potentially, I may end up writing some code to do this myself and will post here if I end up doing that (seems pretty simple to achieve)

Would having regex support help? You could for example prepend all keys with TEST_ like this:


I’ve opened a PR here ✨ Add regex replace for Rename node by pemontto · Pull Request #2576 · n8n-io/n8n · GitHub

1 Like

Yes, this is excellent!!