How to use deeplink in capacitor push notifications

Hello i am currently using ionc angular and capacitor for my project but go stucked on how to use deeplink in push notification
my aim is to get the push notification payload and route the user to a page in app whenever the notification is clicked