Creating new actions on Mac

Can you check this topic from the documentation and see if it answers your question?

TLDR; You can create an action (or multiple ones) in an action group if you want to reuse them or use Quick Actions for disposable ones.