Onesignal: how to do action with button on notification?

Hello, I’m using onesignal to show notifications.
I want to do action after user pressed on button in notification. how to do it?
this in one signal:

---- and this is what i have in kodular;

How to do it? thanks

Currently Kodular Does Not Have Event For that.

Currently it is not possible. :kodular: apps doesn’t works in background

This action is not possible with One Signal right now but you can customize your app notification using this extension.

You can add button to your notification and then chose your action according to your need.