https://s2-labs.com/developer-tutorials/when-to-use-triggers/