Shortcut to convert/save screenshot from png to jpg?

I thought I had this working at one point but maybe not. I’ve got a simple Shortcut to convert an image and save. I can select an image in the Files app and share to the Shortcut and it works fine. But I’d also like to be able to take a screenshot and from the share menu select the shortcut and convert/save directly. In other words, eliminate the step of first saving the png to Files then going back to convert. Not sure why this isn’t working.