How to Make Your iPhone Action Button Do Different Things in Different Apps
The "Get Current App" action can make the Action Button even more versatile.
One of Apple's most useful additions to the Shortcuts app is the "Get Current App" action, which allows you to perform actions based on which app you currently have open. Using this action, you can make your iPhone's Action Button do different things in different apps.