macOS

Click Shortcut Name, then type a name for your shortcut.
Select a category from the sidebar on the right (Documents, for example), then double-click an action in the list that appears.
You can also drag an action from the list to the position you want in the shortcut editor.
To add another action, repeat step 3.
When you’re finished adding actions to your workflow, click the close button.
The shortcut appears in the main Shortcuts window, in the All Shortcuts category.
For information on customizing the appearance of your new shortcut (the rectangle in your shortcuts collection), see Reorder shortcuts on Mac.
Undo or redo steps while composing your shortcut
In the shortcut editor of the Shortcuts app
on an action to remove it from the shortcut editor.