I have scanned PDFs I want to share to a shortcut to process them further. However, when sharing from the share sheet that props up when I click on the share button in the Notes app for my shortcut it does not receive the file.
This can be verified when scanning anything in a notes, opening it and pressing on the share button in the top right. Simply share it with a Shortcut that displays the content graph.
Sharing a PDF from Files works as expected, but from the Notes app the graph is simply empty.
Addendum: It is possible to first save the files to the Files app, however this is impractical as the scanned PDFs are usually simply called
Scanned Document.pdf which causes name collisions as well as not being practical to scroll through.