Help with Image to PDF for use in Hazel workflow

I have been working on and trying various iterations of an “Image to PDF” shortcut to use with hazel. The goal is: when screenshots of bills come in, Hazel identifies them, runs the conversion shortcut, and then saves the file in the new designated location.

System details: Mac (soon to be Tahoe, currently Sequoia), Hazel 6. I DON’T use the photos app.

Problem: when Hazel tries to run the shortcut portion, the log states it cannot extract the text from the file.

But: I am able to right click on the file and run a quick action in Finder and it works successfully, and I am able to run the hazel workflow without the conversion step and it successfully identifies and moves the file - still as a JPEG.

Other things I have tried: converting to rich text, doing it without getting the image or extracting text, creating an automation to do the same thing (also works outside of Hazel).

I would super love and appreciate some help as I have spent about a month trying this!

I have attached to my current shortcut. THANK YOU!