Help with shortcut to convert PDF to JPEG

Hi, I made a shortcut that takes a file and converts it to a specified format, then outputs the image to photos, but it doesn’t save anything to photos once the shortcut completes. I use the share button on a PDF in files, then I click my shortcut, choose JPEG but it doesn’t save anywhere. Can someone help me fix the issue?

I’ve linked it here, thanks in advance. https://www.icloud.com/shortcuts/0e0e3af88a504df6af6f5e0aea77e818