hubspot_deals_merge
Merge two HubSpot deals into one by absorbing the secondary deal into the primary, archiving the secondary and preserving primary property values.
Instructions
Merge two HubSpot deal records into one. The secondary deal is absorbed into the primary: all associated contacts, companies, activities, and line items are moved to the primary deal. Properties from the secondary deal fill in any blanks on the primary (primary values take precedence on conflicts). The secondary deal is then archived. This operation is IRREVERSIBLE — confirm the deal IDs before calling. Required scopes: crm.objects.deals.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectIdToMerge | Yes | HubSpot ID of the deal to ABSORB. This deal is archived after the merge. | |
| primaryObjectId | Yes | HubSpot ID of the SURVIVING deal (kept after merge). Its property values take precedence on conflicts. |