The shortcut you are referring to (the one provided in the last answer) is to create alarms in the Clock app, based on the input time. Given a time, it creates 8 alarms: 3 alarms 5, 10 and 15 minutes before the input time and 5 alarms at 1 minute intervals after the input time. I don't know the purpose of settings so many alarms but the user probably had very good reasons to do so.
Now, the shortcut is not for sending a message. All it does is to set up alarms.
Unfortunately, the personal automation solution indicated above will not work in the situation where you create alarms on the fly. The personal automation needs to be created based on an existing, repeating daily alarm.
Could you give us more information on what you are trying to achieve? We may be able to offer different means of achieving it.