From baeea6d317c8345f0a364c398246f77345de9d74 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Wed, 11 Mar 2026 16:03:21 -0600 Subject: [PATCH] feat: add company property to contact data formatting for HubSpot integration - Included a new property for 'company' in the formatContactDataForHubSpot function to enhance contact data submission. - Updated the objectTypeId for the company property to align with HubSpot's requirements. --- apps/website/lib/hubspot.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/website/lib/hubspot.ts b/apps/website/lib/hubspot.ts index 58ffcac..4eb7e95 100644 --- a/apps/website/lib/hubspot.ts +++ b/apps/website/lib/hubspot.ts @@ -71,6 +71,11 @@ export function formatContactDataForHubSpot( name: "message", value: contactData.message, }, + { + objectTypeId: "0-1", // Contact property for company + name: "company", + value: contactData.company, + }, { objectTypeId: "0-2", // Company object type name: "name",