Apple CarPlay Notification Custom Actions

I am setting up push notifications in CarPlay and when the user taps on notification from infotainment screen, it should open the app and a CPAlertTemplate should be presented. How can I achieve this? since I'm unable to get a trigger on the didReceiveNotificationResponse so handle some custom actions in between.

Apple CarPlay Notification Custom Actions
 
 
Q