How does the Code stage work?

I need to know how to make a process work in which the code is not functioning.
I attach a photo of the process.


Hello Americo,

The Code block in your workflow lets you write custom Node.js or TypeScript code, using npm packages to accomplish tasks that the standard pieces can’t.

For us to assist with your non-functioning code, please share the purpose of your code and any errors you’re seeing.