Sometimes, you want to make some part of the workflow automated, so you don't need to repeat the same manual tasks again and again.
When it's a bunch of commands that you need to execute sequentially, most people go for bash scripts (UNIX people, Windows users