Turn on a switch for X minutes and then turn it off?

Is this possible? I’d like IFTTT to trigger turning on a switch for 10 minutes and then have the switch turn off.

Is there a way to get Smartthings to turn a switch on and turn it back off after a set amount of time?

What I’m trying to do is have IFTTT turn on my rain barrel pump and water my garden when my garden needs water (Using the Flower Power channel to trigger it). While IFTTT can turn the pump on, it can’t turn it back off-- and thus I’m hoping it’s a whole sequence that Samrtthings can do.

I’m a newbie here, so any help would be greatly appreciated.