How to get real value from automation