Created
May 29, 2020 14:24
-
-
Save MatthewJBloom/7a8460ca72d96511aa673dba07f15b3d to your computer and use it in GitHub Desktop.
avertium dedupe key patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"5e2f11056ac61c0576bf4693 Avertium": "dedupe key swap for companies", | |
"targets": { | |
"hubspot": { | |
"Company ID": "properties/hs_object_id" | |
}, | |
"connectwise": { | |
"Hubspot Company ID": "customFields/107" | |
} | |
}, | |
"hubspot patches": [ | |
{ | |
"path": "company/fields/COMPANY_NAME", | |
"value": { | |
"label": "Company ID (Dedupe Key)", | |
"description": "The unique ID for this company. This unique ID is automatically populated by HubSpot and cannot be changed.", | |
"path": "properties/hs_object_id", | |
"group": "Company", | |
"readOnly": true, | |
"type": "number", | |
"translate": [ | |
{ | |
"cast": { | |
"denormal": "str" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"path": "company/fields/ACCOUNT_NAME", | |
"value": { | |
"label": "Name", | |
"description": "The name of the company or organization. Powered by HubSpot Insights.", | |
"path": "properties/name", | |
"group": "Company", | |
"type": "text", | |
"translate": [ | |
{ | |
"cast": { | |
"denormal": "str" | |
} | |
} | |
] | |
} | |
} | |
], | |
"connectwise patches": [ | |
{ | |
"path": "company/fields/COMPANY_NAME", | |
"value": { | |
"path": "customFields/107", | |
"type": "number", | |
"label": "HubSpot Company ID", | |
"required": false, | |
"readOnly": false | |
} | |
}, | |
{ | |
"path": "company/fields/ACCOUNT_NAME", | |
"value": { | |
"path": "name", | |
"type": "text", | |
"label": "Name", | |
"required": true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment