I've shared a very similar macro for the Trigger Macro by Name action:
Expand the Trigger Macro by Name action
For more information, see the wiki Searching the Forum for Answers section.