Trying to make a control that opens a view in my app (iOS18)

Hello. I am having trouble trying to create a control in control center view that opens a specific view in my app using AppIntents (iOS18 )and WidgetKit, can someone help me please? I feel like the original videos and documentations are incomplete.

Controls are designed to quickly read the state of your app or its accessories, and take quick actions, without having to open your app. It is not an intended use case although it is possible to do so using App Intents openAppWhenRun property but not via the Control Widget itself.

Trying to make a control that opens a view in my app (iOS18)
 
 
Q