You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json.first_name_reversed = item.json = {\n name: item.json.name,\n firstnNameReversed: item.json.name_BUG.split(\"\").reverse().join(\"\")\n };\n}\n\nreturn $input.all();"
19
18
},
20
-
"id": "22511d75-ab54-49e1-b8af-08b8b3372373",
21
-
"name": "fetch 5 random users",
22
-
"type": "n8n-nodes-base.httpRequest",
23
-
"typeVersion": 4.1,
24
-
"position": [
25
-
680,
26
-
460
27
-
]
28
-
},
29
-
{
30
-
"parameters": {
31
-
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json.first_name_reversed = item.json = {\n firstName: item.json.first_name,\n firstnNameReversed: item.json.first_name_BUG.split(\"\").reverse().join(\"\")\n };\n}\n\nreturn $input.all();"
0 commit comments