Implement the option of triggering code-blocks on specific events, providing the event context to the code-block as arguments.
Whenever an intent is triggered, run a custom code-block that receives the event's context (like intent-name and matching percentage) as arguments. This can then be used to feed custom analytics / BI.
There are other use-cases possible with this.
More info on AOP: https://en.wikipedia.org/wiki/Aspect-oriented_programming
Please sign in to leave a comment.