Javascript Using Toolbox Plugi

As a complete JS novice, I am trying to run a script to extract text from a PDF uploaded using a bubble file uploaded, then store that text in the bubble DB.

How would I use the ‘run javascript’ function in the toolbox plug in to execute this?

Here is the request and response examples from the PDF-to-text API: Extractor API | Docs

Bumping in case there’s anyone out there that can help. Cheers!

if you are getting a api response back as a string, i dont think you need toolbox for this. Why dont you treat this as a regular api response workflow?

Thanks Jefe - but not sure how I’d set up the API with the given Javasript?