Part 6 of the Photon Camera Manual covers how to configure Shortcuts. These can do many things and be triggered in a variety of ways, including the physical Action Button on the iPhone 15.