"If then else" condition without script is needed for actions

for example,
if airpods is connected,
run action 1
else
run action 2 ...

without script
you may know using java,applescript is too hard for many users
and I want to use many actions prepared in BTT which is impossible to use in Shortcut application