Link action to custom pros

hi i create simple package and rig it. create action for opening box, i want to link this action to custom properties to control this action. can anyone help me?
https://i.ibb.co/pxKL8LV/Screenshot-2022-01-02-163817.jpg