Skip to content

Instantly share code, notes, and snippets.

@MatthewJBloom
Created July 7, 2020 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatthewJBloom/8e5bf0f3a23dbc0850166d159354c1bf to your computer and use it in GitHub Desktop.
Save MatthewJBloom/8e5bf0f3a23dbc0850166d159354c1bf to your computer and use it in GitHub Desktop.
[
{
"customer": "Mews",
"customer id": "5d10e6c879276e3026443bbd",
"object": "company",
"targets": {
"hubspot0": "properties/pipedrive_id",
"pipedrive0": "idString"
}
},
{
"hubspot patches": [
{
"path": "company/fields/COMPANY_NAME",
"value": {
"label": "Pipedrive ID (Dedupe Key)",
"description": "Unique ID from Pipedrive",
"path": "properties/pipedrive_id",
"group": "Company",
"type": "text",
"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"
}
}
]
}
}
]
},
{
"pipedrive patches": [
{
"path": "organization/fields/COMPANY_NAME",
"value": {
"path": "idString",
"label": "ID String (Dedupe Key)",
"type": "text",
"readOnly": true
}
},
{
"path": "organization/fields/ACCOUNT_NAME",
"value": {
"path": "name",
"label": "Name",
"type": "text",
"required": true
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment