Follow

How do transformations work?

We built a transformation engine to transform your JSON data from one format to another. For example, you can transform data from the standard Salesforce format to the format that HubSpot would expect.

First you create an Object Definition using the POST /organizations/objects/definitions API or in our tool, Element Mapper. This Object Definition will exist across your entire organization and can be applied to any Instance of any Element.

Next, go into each endpoint whose data you want to transform and map their data to your Object Definition.

To utilize this transformation you need to use the /{objectName} APIs. The {objectName} will be replaced by the name of your Object Definition. Then any data flowing through that API, to or from the endpoint, will be transformed.

If you have a very complex transformation or are trying to transform field values, you can include your own custom JavaScript.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments