feat: createEventOnLeadCheckForContact feature to Hubspot
https://github.com/user-attachments/assets/4ea2809d-e2ea-4a89-9842-762f2b749ece
Summary by cubic
Adds an optional setting to the HubSpot integration to create events on contacts first, and fall back to leads if no contact is found.
-
New Features
- UI toggle in the Event Type card: “Create event on contact, if it exists. Else fall back to lead”.
- When enabled, CRM service searches contacts first; if none found, it searches leads.
- Added locale string and updated app data schema for the new setting.
Written for commit d7b11f30d9ebb4a729d00948fcc3751d1cafff62. Summary will update automatically on new commits.
@Pallava-Joshi is attempting to deploy a commit to the cal-staging Team on Vercel.
A member of the Team first needs to authorize it.
Company - Toggle OFF
- event is created in company https://github.com/user-attachments/assets/adfcdebb-f4d5-4ec6-b75f-3292c1602f52
Company - Toggle ON, Contacts - Toggle OFF
- event created on company if contact doesn't exist
- event created on contact, if it exists https://github.com/user-attachments/assets/c5b65308-db02-4d48-b652-c88fde8b62f0
Contacts - Toggle ON
- skip creation of contacts if not present https://github.com/user-attachments/assets/c76a24a5-d8dc-4c42-a0b4-0f96ebb18c52
@cubic-dev-ai leave a review.
@cubic-dev-ai leave a review.
@Pallava-Joshi I've started the AI code review. It'll take a few minutes to complete.