
1 - Start recording the UI flow.
2 - On the Outputs mens of the UI flow, choos Select text on screen.
3 - Select information to pass to the SharePoint list.
4 - Enter a name and description for the output.
Reference:
https://docs.microsoft.com/en-us/power-automate/ui-flows/inputs-outputs-desktop#use-outputs-to-extract-information-from-the-app