Need help setting up Android Smarthings App to integrate Ecolink Tilt sensor and Z-wave relay

Hi there, I am new to using the Samsung Smart Things hub v2. I recently purchased the Ecolink tilt sensor and GoControl Z-wave Isolated Contact Fixture module (relay). They are both installed and working fine independently within the app. However, I couldn’t figure out which Smartapp to install which would automate my garage door to close after a certain time when it has been open for a certain amount of time. For example, I would like the garage door to close after 11 pm if open for more than 15 min. How do I set this up? Thanks.