iOS 27.2 adds an iPhone Duo open-or-close automation to Shortcuts, Apple's release notes say
Apple's latest software update brings a round of changes to the Shortcuts app, including a new automation built around the foldable iPhone Duo. The changes are listed in the Shortcuts release notes on Apple's support site, and 9to5Mac has also walked through them.
The headline addition is a new personal automation called "When my iPhone is opened or closed." As the name suggests, it fires when the iPhone Duo is unfolded or folded shut, letting owners chain actions such as changing a Focus mode, adjusting a setting or launching an app to the state of the hinge. 9to5Mac says the automation has already proven popular with early Duo users.