To create a routine, open the Routines tab and tap on the + icon in the upper right hand corner of the screen.

A routine must contain at least one action. If you'd like to have your routine run automatically, be sure to add at least one event.