How to create conditions based on external source?