Maybe let the user select a task from their Tasker tasks and set the Pavlok button to trigger that task? - taking inspiration from what PebbleTasker did for Pebble watches.
For example, I could have tasker task that toggles "do not disturb" mode on my phone, then with this I could choose to trigger that task every time I long press the top button on my Pavlok.
Since Tasker is already a pretty powerful automation platform (you can change phone settings, make web requests, send intents, etc.), integrating with it might require less effort and unlock more functionality than trying to write your own set of things to choose from. But it's only available on Android and requires a bit of tinkering by the user to get it to do what they want 🤷 I love it because I love the tinkering part.