Great idea, I support it.
Additionally, you could introduce automatic import of a macro from a file as an action after a trigger.
E.g. SMS: run macro ID.
ID - file number in the macro directory of the application.
You could also consider if some other format would be better
and simpler...