How can I use _input.item in python code

It appears _input.item is of type [Node: “Code”] <class ‘pyodide.ffi.JsProxy’>. How do I convert this to a python object that I can use in my code?

Information on your n8n setup

  • n8n version:: 1.68.0
  • Running n8n via (Docker, npm, n8n cloud, desktop app): :desktop app
  • Operating system:: Mac OS M4

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @PhilC , looks like working with items as dictionary does not require any special conversion.

1 Like

Thanks so much @ihortom I think this is working. I’ll need to do some more testing, however.

After more testing, this works perfectly. Thanks so much for the response.

Any chance you could have a look at my " Python file read is not working question?

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