You can use hooks to integrate custom code to perform calculations, data comparisons, or transformations and trigger functions to run at a specific point during the flow.
Step 1: Find the records
Note: If you already have the flow you want open in Flow Builder, skip to Step 2: Create your hook.
- Go go to integrator.io.
- Click the integration tile that has the flow with the records you want to map.
- In the list, click the flow you want to modify.
Step 2: Create your hook
- Click the hook icon in the destination app flow step.

The Hooks panel displays.

Note: The Hooks panel is a dynamic form. The fields in the editor may vary based on the app and the record type.
- Complete the following fields to define your hook:
- Hook type:
- Script: Select this radio button if your code is managed and executed by integrator.io.
Note: For scripts, you can choose to edit your script or add a new one.
- Stack: Select this radio button if your code will be hosted on your own server or AWS lambda.
- Script: Select this radio button if your code is managed and executed by integrator.io.
- Function: Enter the function you want the hook to trigger.
- Pre map: The function your write in your script or stack will be triggered before the mapping.
- Post map: The function you write in your script or stack will be triggered after the mapping.
- Post Submit: The function you write in your script or stack will be triggered after the record is submitted.
- Scripts/Stacks: Select your script or stack from the drop-down menu. If you’re using a script, you can click Add (+) to add a new script or the pencil icon to edit an existing script.
- Hook type:
- Click Save or Save & close.
For more information on hooks, see Hooks for integrator.io.
Check out our community forum for tips on creating hooks. You can ask questions and post answers.
Comments
0 comments
Please sign in to leave a comment.