App getting number dynamically

You could also try using a Global Variable Connector (although a child device might be simpler, if you’re writing a custom app anyway.)