The Processor connector gives you the flexibility you need to transform the data according to your needs. Inside the connector, you can write javascript code on Users and Accounts respectively with the Processor connector and the Account Processor connector.
Start by installing Hull's Processor Connector. Give it a name and a description. Then, select the User segments on which you want to apply your code:
You can add custom variables that you want to use directly inside your Processor code. For instance, define a variable name called api_key
that will take as a default value 25kt
and access it inside the processor as variables.foo
. Note that these custom variables can only be defined as strings.
Start by installing Hull's Account Processor Connector. Give it a name and a description. Then, select the Account segments on which you want to apply your code:
You can add custom variables that you want to use directly inside your Processor code. For instance, define a variable name called api_key
that will take as a default value 25kt
and access it inside the processor as variables.foo
. Note that these custom variables can only be defined as strings.
Once you have configured either your User or Account Processor connector, you can start coding. To do open the Code editor
using the button inside the Overview page of the connector:
To have input data, you need to load the payload on the left by selecting a user email or user id. Then, apply some code in the Code section in the middle.
You will be able to see the results of your code inside the Console section on the right.
We recommend you read the full documentation for these connectors to get a good understanding of the proper way to manipulate data
⚠️ Warning ⚠️:
You can test the code as much as you want. Unless you hit the Save
button, the code will not impact the data flow.