Conditions depending on external data

Hi, is there a way to make face elements depending on external data (like values on a web page, text, file on smartphone, or other)? Thank you