The following thread has some details on one approach for having Tasker react to alarms and how to integrate that with SmartThings: (including a video showing the process)
There are several different ways to accomplish this depending on your needs, so if that doesn’t help feel free to tag me.