diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 7bd4597b8a..8c66afbd28 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -170,6 +170,12 @@ export const dealFields = [ }, ], }, + { + displayName: 'Deal Description', + name: 'description', + type: 'string', + default: '', + }, { displayName: 'Deal Name', name: 'dealName', @@ -279,6 +285,12 @@ export const dealFields = [ }, ], }, + { + displayName: 'Deal Description', + name: 'description', + type: 'string', + default: '', + }, { displayName: 'Deal Name', name: 'dealName', diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index 3c82f2941e..b99fbaf0d7 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -1924,6 +1924,12 @@ export class Hubspot implements INodeType { value: additionalFields.pipeline as string, }); } + if (additionalFields.description) { + body.properties.push({ + name: 'description', + value: additionalFields.description as string, + }); + } if (additionalFields.customPropertiesUi) { const customProperties = (additionalFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; if (customProperties) { @@ -1980,6 +1986,12 @@ export class Hubspot implements INodeType { value: updateFields.pipeline as string, }); } + if (updateFields.description) { + body.properties.push({ + name: 'description', + value: updateFields.description as string, + }); + } if (updateFields.customPropertiesUi) { const customProperties = (updateFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; if (customProperties) {