Rename fields
FreeLogic@rabbinatix/rename-fields by Rabbinatixupdated Oct 4, 2026
Reshapes `first_name`, `last_name`, `address.city` into `firstName`, `lastName`, `city`.
Mapping between an external API and your own model in one node: Transform reads target = source.path lines. Missing sources are left out.
Shows: Transform.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Rename fields. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
source: Record
Outputs
result: Record
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 3
Rename fields
source
Transform, Object. 1 input, 1 output. step 2 of 3
Transform
source
result
Return, Input / output. 2 inputs, 0 outputs. step 3 of 3
Return
result
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Full record | {"source":{"first_name":"Ada","last_name":"Lovelace","address":{"city":"London"}}} | {"result":{"firstName":"Ada","lastName":"Lovelace","city":"London"}} | |
| No address | {"source":{"first_name":"Bo","last_name":"Li"}} | {"result":{"firstName":"Bo","lastName":"Li"}} |
Try it
Versions
In this package
Rename fields (entry)
