Skip to content

Commit baeea6d

Browse files
committed
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.
1 parent 323d79b commit baeea6d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/website/lib/hubspot.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ export function formatContactDataForHubSpot(
7171
name: "message",
7272
value: contactData.message,
7373
},
74+
{
75+
objectTypeId: "0-1", // Contact property for company
76+
name: "company",
77+
value: contactData.company,
78+
},
7479
{
7580
objectTypeId: "0-2", // Company object type
7681
name: "name",

0 commit comments

Comments
 (0)