Record actions?

Is there a way to record a series of actions (similarly to Photoshop or Word’s Macros)?

Such a feature would be very useful to automate steps so we don’t have to repeat them over and over.

There is ‘Repeat Last’ but it doesn’t seem powerful, it seems to repeat only 1 last action.