Keyboard Maestro is a powerful Mac automation tool. You can integrate it with Bunch in two directions.
You can call any Bunch from Keyboard Maestro using AppleScript in a Run AppleScript action, or the Bunch URL handler in an Open URL action. This allows full control of Bunch, including the ability to run raw text as snippets after Keyboard Maestro has performed any alterations on it.
Keyboard Maestro macros and variables can also be controlled by AppleScript, Automator, or
keyboardmaestro:// urls. These can easily be integrated into a Bunch using Bunch’s ability to run AppleScripts, Automator Workflows, or open urls.