Trouble to get the input items properly in a Code node

I fail to import properly the input items in the Code node, so the node fails to give me results.

Please share your workflow

The node named “Working Fine” just have the input data as part of the Code and working just fine.

I know how to link specific property like “$json.property;” but i fail at this.

Thanks in advance

Information on your n8n setup

  • n8n version:Version 0.227.1
  • Running n8n via: Docker
  • Operating system:Linux

Hey @Chipset,

It looks like you are still trying to loop on items, Try swapping that out for $input.all() then where you set your extracted properties to item try changing that to item.json. Updated example below.

1 Like

Thank you very much

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.