Even very short tasks may be worth automating if you do them frequently. Here’s how to decide what to tackle first.