Similar to Quick Run, Quick Settings Tile, and Widgets, if like to be able to set Macros as an App Shortcut.
The API looks simple enough: https://developer.android.com/guide/topics/ui/shortcuts
The API looks simple enough: https://developer.android.com/guide/topics/ui/shortcuts