Event hooks & actions

Table of contents

Event hooks are blocks of code - typically JavaScript functions - that execute during specific events in a policy’s lifecycle. These functions either return a result in a specific format, such as a new quote, or they return actions to be performed, such as updating existing policy information.