Commit 6282b16
authored
feat(hubspot): add notes, emails, properties & associations tools (#5037)
* feat(hubspot): add notes, emails, properties & associations tools
- Add 11 tools: get_properties (read property/enum options), notes
(create/get/list/search), email engagements (create/get/list/search),
and v4 associations (list/create)
- Add scopes: crm.objects.notes.read/write, crm.objects.emails.read/write,
sales-email-read (required for email engagement content)
- Wire new operations into the HubSpot block (subBlocks, conditions,
tool mapping, outputs, BlockMeta templates/skills)
- Fix pre-existing bugs found in validation: list_marketing_events list
URL (/marketing/marketing-events/v3), appointment property names
(hs_appointment_*), get_users output shape (CRM envelope), create_list
response unwrap, and stringified-associations parsing in create tools
- Regenerate integration docs
* fix(hubspot): drop non-grantable notes/emails scopes; remove inline comments
- crm.objects.notes.*/crm.objects.emails.* are not grantable HubSpot
scopes (would break the OAuth authorize flow). Notes/emails engagement
and association endpoints are authorized by crm.objects.contacts.*;
sales-email-read remains for email-engagement content
- Remove non-TSDoc inline comments from new tool files
* fix(hubspot): address review comments
- Forward the properties param for the Get Users operation (block param
mapping + Properties-to-Return field now include get_users)
- Use Record<string, unknown> for create_note/create_email request bodies
- Only send Content-Type on create_association when a body is sent
(default-association PUT has no body)
- Remove stray duplicate JSDoc opener in types.ts1 parent bcedadf commit 6282b16
34 files changed
Lines changed: 2567 additions & 138 deletions
File tree
- apps
- docs
- components
- content/docs/en/integrations
- sim
- blocks/blocks
- lib
- integrations
- oauth
- tools
- hubspot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3704 | 3704 | | |
3705 | 3705 | | |
3706 | 3706 | | |
3707 | | - | |
3708 | | - | |
3709 | | - | |
3710 | | - | |
3711 | | - | |
3712 | | - | |
3713 | | - | |
3714 | | - | |
3715 | | - | |
3716 | | - | |
3717 | | - | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
3721 | | - | |
3722 | | - | |
3723 | | - | |
3724 | | - | |
3725 | | - | |
3726 | | - | |
3727 | | - | |
3728 | | - | |
3729 | | - | |
3730 | | - | |
3731 | | - | |
3732 | | - | |
3733 | | - | |
3734 | | - | |
3735 | | - | |
3736 | | - | |
3737 | | - | |
3738 | | - | |
3739 | | - | |
3740 | | - | |
3741 | | - | |
3742 | | - | |
3743 | | - | |
3744 | | - | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
| 3723 | + | |
3745 | 3724 | | |
3746 | 3725 | | |
3747 | 3726 | | |
| |||
Large diffs are not rendered by default.
0 commit comments