Task: n8n Nodemation basic - transforming json (3/3)

n8n workflow:
{"id":"6","name":"greetingsworkflow","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","disabled":true,"position":[-80,160],"parameters":{},"typeVersion":1},{"name":"Webhook","type":"n8n-nodes-base.webhook","position":[490,450],"parameters":{"path":"greetingswebhook","httpMethod":"POST"},"typeVersion":1},{"name":"HTTP Request","type":"n8n-nodes-base.httpRequest","position":[1080,450],"parameters":{"url":"https://webhook.site/68956578-d611-4e84-829f-0682b4ab03ac","requestMethod":"POST","responseFormat":"string","bodyParametersUi":{"parameter":[{"name":"orderdata","value":"={{$node[\"FunctionItem\"].data[\"orderdata\"]}}"}]}},"typeVersion":1},{"name":"FunctionItem","type":"n8n-nodes-base.functionItem","position":[890,450],"parameters":{"functionCode":"item.orderdata.onlineorder = 1;\nif (Array.isArray(item.orderdata.articlelist.position)) {\n    item.orderdata.articlelist.position.forEach(function(position) {\n        position.isElectronic = 1;\n    })\n} else {\n    item.orderdata.articlelist.position.isElectronic = 1;\n}\nreturn item;\n"},"typeVersion":1},{"name":"Set","type":"n8n-nodes-base.set","position":[680,450],"parameters":{"values":{"string":[{"name":"orderdata","value":"={{$node[\"Webhook\"].data[\"body\"][\"data\"]}}"}]},"keepOnlySet":true},"typeVersion":1}],"active":true,"settings":{},"connections":{"Set":{"main":[[{"node":"FunctionItem","type":"main","index":0}]]},"Webhook":{"main":[[{"node":"Set","type":"main","index":0}]]},"FunctionItem":{"main":[[{"node":"HTTP Request","type":"main","index":0}]]},"On clicking 'execute'":{"main":[[]]}}}