{
  "flowDeveloperName": "HubSpot_Lead_Contact_Outbound_Update",
  "flowActionName": "PushLeadToHubSpotContact",
  "slotLineageId": "hubspot-contact",
  "sourceObject": "Lead",
  "destinationSlotId": "hubspot-contact",
  "profileOwnerPack": "hubspot-crm-connector",
  "profileName": "hubspot-crm-contact-write",
  "targetObject": "contacts",
  "bodyRoot": "properties",
  "createPathTemplate": "/crm/v3/objects/contacts",
  "updatePathTemplate": "/crm/v3/objects/contacts/{remoteId}",
  "responseIdPath": "id",
  "remoteIdField": "HubSpot_Id__c",
  "remoteIdProvenanceField": "",
  "recoverySourceEligibility": {
    "requiredFalseBooleanFields": [
      "IsDeleted",
      "IsConverted"
    ]
  },
  "sameOriginWritePolicy": "allowPatchExisting",
  "diagnosticErrorFieldPaths": [
    "category",
    "errors[].code"
  ],
  "createConflictResolution": {
    "statusCodes": [
      409
    ],
    "diagnosticMatch": {
      "category": "CONFLICT"
    },
    "identity": {
      "sourceField": "Email",
      "targetProperty": "email",
      "requestBodyPath": "properties.email",
      "normalization": "email"
    },
    "resolve": {
      "method": "GET",
      "pathTemplate": "/crm/v3/objects/contacts/{identity}?idProperty=email&properties=email",
      "responseIdPath": "id",
      "requireExactlyOne": true
    },
    "onResolved": "adoptLinkThenPatch",
    "noOldSnapshotPolicy": "adoptLinkThenPatchAuthorizedFrozenCreatePayload"
  }
}
