How to create an auto-reply automation to a phone number

Hi,

I will creat this autmation:

When this number calls then answers automatically, press 1 and hang up

Is this possible with the Shortcut application? Can anyone help me.

I want when the intercom in my building calls to answer and open automatically

Thanks

How to create an auto-reply automation to a phone number
 
 
Q