Hooks are custom code that can run at different stages during the execution of a flow to modify the behavior of export and import processes. You can use different types of hooks at each step of the integration process to perform advanced functions.
Note: Hooks typically modify the JSON records in your flow’s data, including any records parsed from a file exported from a server or uploaded in Data Loader. Hooks cannot make changes to a “blob” (file download passed intact within a flow).
The following table lists the script formats available for each export hook type:
In NetSuite integrations, the script format used for hooks should be the same as the NetSuite API version used in the export.
- Script – integrator.io manages and executes your code
- Stack – Your own server or AWS lambda hosts your code