How can I set up conditions based on the Input Table (Matrix Field)?