Adds trigger API to trigger event on node