Skip to content

Conversation

@naaa760
Copy link
Contributor

@naaa760 naaa760 commented Jan 22, 2026

What does this PR do?

  • fixes issue where attendee phone numbers were not saved to HubSpot contacts when created from meeting bookings. Phone number is now mapped from booking attendee data and saved to HubSpot contact's phone field.

fixes #27108

Visual Demo

N/A - Backend change only. Phone number now appears in HubSpot contact after booking creation.

How should this be tested?

  1. Create a booking with an attendee that has a phone number
  2. Verify HubSpot contact is created with phone field populated
  3. Test edge case: booking without phone number should still work

@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Jan 22, 2026
@github-actions github-actions bot added ✨ feature New feature or request 🚨 needs approval This feature request has not been reviewed yet by the Product Team and needs approval beforehand labels Jan 22, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Copy link
Member

@pallava-joshi pallava-joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would be needing a visual demo, please install the app integration on some event and test through hubspot, if the fix is working. lmk if you need any help with that.

@pallava-joshi pallava-joshi marked this pull request as draft January 22, 2026 19:08
@keithwillcode keithwillcode removed the 🚨 needs approval This feature request has not been reviewed yet by the Product Team and needs approval beforehand label Jan 26, 2026
Copy link

@CobySim01 CobySim01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naaa760, thanks for your contribution. However, I tested this and it doesn't work as expected.

You need to add this line after packages/app-store/hubspot/lib/CrmService.ts#535

...(attendee.phoneNumber ? { phone: attendee.phoneNumber } : {}),

i.e.

    const simplePublicObjectInputs = contactsToCreate.map((attendee) => {
      const [firstname, lastname] = attendee.name ? attendee.name.split(" ") : [attendee.email, ""];
      return {
        properties: {
          firstname,
          lastname,
          email: attendee.email,
          ...(attendee.phoneNumber ? { phone: attendee.phoneNumber } : {}),
        },
      };
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Created by Linear-GitHub Sync ✨ feature New feature or request size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When meeting booking results in HubSpot contact creation, attendee phone number is not saved to HubSpot

4 participants