SMS sent trigger

Hi !
Thank you for creating a great framework. I’m implementing it, an I have a problem.
I want to create a trigger, do some task when a sms is sent. How to do that ? Please help me !!!
Thank you so much.