Utils.* functions in Workflow?

How can I use/call utils.* functions inside a JS block in a workflow? I get this error:

{"data":null,"error":"Iteration 0 failed: "TypeError: utils.getDataByObjectURL is not a function"}

Hi @jeffmul23! Welcome back to the forum. :wave:

I'm surprised that I haven't noticed this before! It certainly seems like the utils library isn't accessible from within a workflow. I'm pretty confident this is intentional, though, as many of those utility functions are very much scoped to work in the context of an app - like downloadPage.

Fortunately, it's pretty straightforward to add a variety of your own custom libraries to the node runtime environment where workflows are executed. You can likely implement this solution after adding the axios and filereader libraries, for example!