Keystroke actions are useful for simulate key commands from widgets, quick actions, and tags.
Open the Action Wizard (i.e. from the widget editor, quick actions editor, or NFC programmer).
Select "Remote Action".
Search for "Keyboard" and select "Keyboard - Core.Keyboard".
Select "Stroke".
Press the "+" button add all of the keys that need to be pressed. For example "Ctrl+N":