Hello @E1cid,
sorry for the confusion.
I show you my code. Maybe it is more understandable.
[{"id":"28957e037055f9ad","type":"function","z":"67e5e39e7b6a8e54","name":"set payload and headers","func":"msg.headers = {};\nmsg.headers = {\n};\n\n\nmsg.payload = {};\nmsg.payload = {\n 'region' : 9,\n 'province': 'RM',\n 'town' : 'Monterotondo',\n 'priceOrder':'desc', \n 'fuelType': '1-1',\n 'refuelingMode': 1\n};\n\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":330,"y":3640,"wires":[["032934fb12b24bb2"]]},{"id":"cf770b6810ef06f2","type":"inject","z":"67e5e39e7b6a8e54","name":"","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"date","x":140,"y":3640,"wires":[["28957e037055f9ad"]]},{"id":"032934fb12b24bb2","type":"http request","z":"67e5e39e7b6a8e54","name":"post to HttpBin","method":"POST","ret":"obj","paytoqs":"ignore","url":"https://carburanti.mise.gov.it/ospzApi/search/area","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"credentials":{},"x":540,"y":3640,"wires":[["abee4808abae2642","c62fd51268123011"]]},{"id":"d68df420c3c419a9","type":"inject","z":"67e5e39e7b6a8e54","name":"","props":[{"p":"payload"},{"p":"name","v":"Be","vt":"str"},{"p":"fuelId","v":"12","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"success\":true,\"center\":{\"lat\":88,\"lng\":99},\"results\":[{\"id\":8524,\"name\":\"Kkkk\",\"fuels\":[{\"id\":514,\"price\":1.871,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":false},{\"id\":589,\"price\":1.879,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":true},{\"id\":687,\"price\":1.719,\"name\":\"G\",\"fuelId\":2,\"isSelf\":false}],\"location\":{\"lat\":1587,\"lng\":1474},\"insertDate\":\"2023\",\"address\":\"test\",\"tk\":\"hello\"},{\"id\":24864,\"name\":\"aaaaaaaaaaaaa\",\"fuels\":[{\"id\":51455,\"price\":1.879,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":true},{\"id\":9841,\"price\":1.719,\"name\":\"Ga\",\"fuelId\":2,\"isSelf\":true}],\"location\":{\"lat\":47,\"lng\":45},\"insertDate\":\"2023\",\"address\":\"hgjnn\",\"tk\":\"test\"}]}","payloadType":"json","x":170,"y":3760,"wires":[["c62fd51268123011"]]},{"id":"c62fd51268123011","type":"change","z":"67e5e39e7b6a8e54","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"($$.payload.results{\t $.name: {\t \"name\": $.name,\t \"fuels\": [$.fuels[$.fuelId = $$.fuelId and $.name = $$.name]],\t \"insertDate\":$.insertDate\t }\t}).*[$exists($.fuels[0])]","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":3760,"wires":[["c5ec8cb9fb1e5dee","525d43e58e968f9b"]]},{"id":"c5ec8cb9fb1e5dee","type":"template","z":"67e5e39e7b6a8e54","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{#payload}}\nName company: {{name}}\n-------------\n{{#fuels}}\nprice: {{price}}\nfuel: {{name}}\nisSelf: {{isSelf}}\n-------------\n{{/fuels}}\nDate and time: {{insertDate}}\n______________\n\n{{/payload}}\n{{^payload}}No Result for\nname: {{name}}\nfuelId: {{fuelId}}{{/payload}}","output":"str","x":560,"y":3760,"wires":[["0ceb4c62b14375c6"]]},{"id":"0ceb4c62b14375c6","type":"debug","z":"67e5e39e7b6a8e54","name":"debug 199","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":750,"y":3760,"wires":[]},{"id":"abee4808abae2642","type":"debug","z":"67e5e39e7b6a8e54","name":"debug 201","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":810,"y":3640,"wires":[]},{"id":"7df991ec4a32e86d","type":"inject","z":"67e5e39e7b6a8e54","name":"","props":[{"p":"payload"},{"p":"name","v":"Be","vt":"str"},{"p":"fuelId","v":"1","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"success\":true,\"center\":{\"lat\":88,\"lng\":99},\"results\":[{\"id\":8524,\"name\":\"Kkkk\",\"fuels\":[{\"id\":514,\"price\":1.871,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":false},{\"id\":589,\"price\":1.879,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":true},{\"id\":687,\"price\":1.719,\"name\":\"G\",\"fuelId\":2,\"isSelf\":false}],\"location\":{\"lat\":1587,\"lng\":1474},\"insertDate\":\"2023\",\"address\":\"test\",\"tk\":\"hello\"},{\"id\":24864,\"name\":\"aaaaaaaaaaaaa\",\"fuels\":[{\"id\":51455,\"price\":1.879,\"name\":\"Be\",\"fuelId\":1,\"isSelf\":true},{\"id\":9841,\"price\":1.719,\"name\":\"Ga\",\"fuelId\":2,\"isSelf\":true}],\"location\":{\"lat\":47,\"lng\":45},\"insertDate\":\"2023\",\"address\":\"hgjnn\",\"tk\":\"test\"}]}","payloadType":"json","x":170,"y":3840,"wires":[["c62fd51268123011","04979bd3d7004a7b"]]},{"id":"525d43e58e968f9b","type":"debug","z":"67e5e39e7b6a8e54","name":"debug 203","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":610,"y":3840,"wires":[]},{"id":"04979bd3d7004a7b","type":"debug","z":"67e5e39e7b6a8e54","name":"debug 204","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":370,"y":3840,"wires":[]}]
The example data in the inject nodes are a little different from the http request data.
I used them only for different tests.