In past version of libreForms, we had event hooks for onCreate, onRead, onUpdate, onApproval, onDisapproval, and onDuplication. Perhaps we add onDelete and onSign event hooks here too.
We should use background tasks for these, and build some assumptions into the types of params that will be passed. For example, onCreate will pass the document data, etc.
Originally posted by @signebedi in https://github.com/signebedi/libreforms-fastapi/issues/59#issuecomment-2019307589