The AI builder can handle this node for you. Describe what the step should do on the Chat tab, and it writes the code and sets up its inputs and outputs for you. See Build with AI.
How it works
The code lives in the Code field, written as aprocess function that receives the node’s inputs and returns its outputs.
The ports on the node come from what is declared. Each row under Declared Inputs becomes a field you can wire an earlier node into, and each row under Declared Outputs becomes a value later nodes can use. Every row has a name and a type.

