I’m struggling with processing input data in the Code node (taken from a n8n Form). I have a following input:
[
{
“Imię i nazwisko:”: “dfgdg”,
“e-mail:”: “gdg@dfdf.gdf”,
“Telefon:”: “4453453”,
“Bierzesz udział jako:”: “Firma”,
“submittedAt”: “2026-06-18T17:04:14.285+02:00”,
“formMode”: “test”
}
]
I want to check if the value of the field “Telefon:” has whitespaces and if so, to remove them, and next to put modified input to the output, with some extra fields created in the Code node. The problem I have is that I can’t put this modified input in the output of the node.
Here is my workflow, and the node I have problem with, is called “Calculate dates and NIP”.