You would need something like sharptools or webcore to do the repeat, but otherwise it should be pretty straightforward. The trick is to use a virtual sensor which is also a switch. That way you can turn the switch on and off with a SmartThings code, including the official smart lights feature or webcore, and it will be perceived by echo as a sensor coming on, which allows you to start an echo routine. See the community FAQ:
But the repeating loop requires advanced logic. So see the FAQ on that:
As for sharptools, the developer, @joshua_lyon is active in this community and can say more.