How to call another node?

I have a standalone code node that acts as “reuseable javascript function”. How to call and pass data to this node programatically to gets its return value from any other code node which need that?

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

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:

sorry. updated

Either copy and paste it, whenever you need it, or add it to a separate workflow with the trigger execute workflow and call it with execute workflow.

…or create a custom node.