Is it possible to create a custom node based on a Python script?

Describe the problem/error/question

I’ve created a Python script to parse incoming data from one format to another. I’m currently using a code node to execute this script, but was wondering if it’s possible to build a custom node with this Python script so that we wouldn’t have to use the code node to use it’s functionalities.

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:

Everyone is suggesting to use this GitHub - n8n-io/n8n-nodes-starter: Example starter module for custom n8n nodes. but never really tried by my self.

Bro, btw how do you use any lib at the first place i am trying to use request and some basic libs not able to use it> Not able to use request and Beautiful soup, something is listed in Pyodide

1 Like

@Tapan_Kumar_Patro Thank you for your response. I’ve looked at the starter module that you’ve referenced to and it’s now my understanding that I need to use JavaScript/TypeScript to create a custom node. Maybe it would be possible to execute the Python script externally when called upon by custom node but that might make it unnecessarily complex and could decrease performance.

I saw that your question was answered in it’s own thread so I hope that you’ll manage to find a workaround