A Data Hook® is a short snippet of code that allows you to validate, manipulate, and format data as it is being uploaded.
To write, edit, or view a Data Hook®, click on Templates in the left-hand navigation menu, then click on a specific data template. If you have access to data templates, you should see a Data Hooks tab. Click on that, and you’re set!
A previous version of our data hooks allowed data hooks to be run in a specific order. Currently, all data hooks in Portal 3.0 and Workspaces run in parallel rather than one after the other, so any hooks that will need to rely on other actions performed during the running of data hooks should combine logic where there are dependencies, rather than having separate data hooks.
In Portal 3.0 and Workspaces, all data hooks run after the mapping step and before the review stage, so their place in the data import workflow should be taken into consideration while building them out.
To learn more about writing or editing Data Hooks®, take a look at our Data Hooks guide.