I'm looking to add functionality to my managed package that would dynamically create a trigger based on user inputs. I've seen some conflicting answers about whether a trigger can be created using the REST or Tooling API, does anyone have any experience creating a trigger on the fly?
The functionality I'm looking for would allow them to set up a trigger within our app without the need for first writing the trigger in a sandbox, writing the test case, deploying, etc.