In addition to the already available run macro parameter when making a notification, I'd like to be able to add up to three action buttons that can execute code.
Create a notification | Views | Android Developers
developer.android.com