Identify device running the shortcut

I have a couple of shortcuts that do slightly different things (open optimized dashboards, save state in Data Jar, etc.) depending on where I run them (iPhone vs iPad vs Apple Watch).

I’ve used screen size in the past for this, but I was wondering if there is a more reliable/better way to identify which device is running it so I can take some decisions in the shortcut. Identifying iPhone vs iPad is a must, Apple Watch is a nice to have.

You want the Get Device Details action. It gives you lots of information about the device including the name and model.

Excellent, just what I needed!

I have no idea why it never occurred to me to see if there was something new in Get Device Details. I swear last time I saw those, Device Name, Device Model, and Device Is Watch were not there.

Thanks @sylumer!