Discovering automatable routines from user interaction logs