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.
This commit is contained in:
Mauricio Siu
2026-03-11 16:03:21 -06:00
parent 323d79be3c
commit baeea6d317

View File

@@ -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",