Skip to main content

Code tool (workflows)

In Higent you wire a workflow Tool node to a saved tool of type code_tool. You write Python in that tool — not JavaScript.

Full documentation: switch the site language to Deutsch, then Builders → Workflows → Node types → Code-Tool (Python).

At a glance:

  • Implement handler(data) in the tool (sync or async). data matches the inputs you configured in the tool UI for that tool revision.
  • Return a dict that satisfies your configured outputs — typically result (business payload) plus console when your schema expects it.

See also Building workflows and the node catalog.