Unable to fill a text box

Sorry I’m a beginner
How to put in a text box the result of a WiFi block? For example I want to display the SSID or the IP address of my phone.
When I enter a simple text it works…
Thank you for your answer

Your blocks are correct, however for newer devices it is not possible anymore to get that information… say thank you to Google to continuously improving the security of the Android system