Open a page depending on notification Data

This feature is highly needed, as our app is based on notifications, does anyone have an idea on how to go about doing so. I’ve tried to get it done but somehow some information is missing or it may be simple but not finidng any documentation on where i can start.