Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

feat(hubspot): ui improvement (#16641)

Talal Jaber66f545a7edbf
diff --git a/bun.lock b/bun.lock
index a4039757fc3..a15a1b9749a 100644
--- a/bun.lock
+++ b/bun.lock
@@ -4454,7 +4454,7 @@
},
"packages/pieces/community/hubspot": {
"name": "@activepieces/piece-hubspot",
- "version": "0.12.1",
+ "version": "0.13.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/hubspot/package.json b/packages/pieces/community/hubspot/package.json
index fe04cdbebb6..f723edf711b 100644
--- a/packages/pieces/community/hubspot/package.json
+++ b/packages/pieces/community/hubspot/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-hubspot",
- "version": "0.12.1",
+ "version": "0.13.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/hubspot/src/i18n/ca.json b/packages/pieces/community/hubspot/src/i18n/ca.json
index ff9529e0ad6..49e4a3705cf 100644
--- a/packages/pieces/community/hubspot/src/i18n/ca.json
+++ b/packages/pieces/community/hubspot/src/i18n/ca.json
@@ -311,5 +311,6 @@
"Note": "Note",
"Task": "Task",
"Meeting": "Meeting",
- "Call": "Call"
+ "Call": "Call",
+ "Fields left empty keep their current value.": "Els camps que deixis buits conserven el valor actual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/de.json b/packages/pieces/community/hubspot/src/i18n/de.json
index 5a973644df4..07b1b816cce 100644
--- a/packages/pieces/community/hubspot/src/i18n/de.json
+++ b/packages/pieces/community/hubspot/src/i18n/de.json
@@ -320,5 +320,6 @@
"Note": "Notiz",
"Task": "Aufgabe",
"Meeting": "Meeting",
- "Call": "Anruf"
+ "Call": "Anruf",
+ "Fields left empty keep their current value.": "Leere Felder behalten ihren aktuellen Wert."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/es.json b/packages/pieces/community/hubspot/src/i18n/es.json
index 423c8e33f82..0dbc9b4f6e9 100644
--- a/packages/pieces/community/hubspot/src/i18n/es.json
+++ b/packages/pieces/community/hubspot/src/i18n/es.json
@@ -320,5 +320,6 @@
"Note": "Nota",
"Task": "Tarea",
"Meeting": "Reunión",
- "Call": "Llamar"
+ "Call": "Llamar",
+ "Fields left empty keep their current value.": "Los campos que dejes vacíos conservan su valor actual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/fr.json b/packages/pieces/community/hubspot/src/i18n/fr.json
index 9445df7ceb5..cd2d5d29f6d 100644
--- a/packages/pieces/community/hubspot/src/i18n/fr.json
+++ b/packages/pieces/community/hubspot/src/i18n/fr.json
@@ -320,5 +320,6 @@
"Note": "Note",
"Task": "Tâche",
"Meeting": "Réunion",
- "Call": "Appel"
+ "Call": "Appel",
+ "Fields left empty keep their current value.": "Les champs laissés vides conservent leur valeur actuelle."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/hi.json b/packages/pieces/community/hubspot/src/i18n/hi.json
index eed7343b4ad..c68b7bc71e1 100644
--- a/packages/pieces/community/hubspot/src/i18n/hi.json
+++ b/packages/pieces/community/hubspot/src/i18n/hi.json
@@ -311,5 +311,6 @@
"Note": "Note",
"Task": "Task",
"Meeting": "Meeting",
- "Call": "Call"
+ "Call": "Call",
+ "Fields left empty keep their current value.": "खाली छोड़े गए फ़ील्ड अपना मौजूदा मान बनाए रखते हैं।"
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/id.json b/packages/pieces/community/hubspot/src/i18n/id.json
index 936d662dfc9..98a82aea47d 100644
--- a/packages/pieces/community/hubspot/src/i18n/id.json
+++ b/packages/pieces/community/hubspot/src/i18n/id.json
@@ -311,5 +311,6 @@
"Note": "Note",
"Task": "Task",
"Meeting": "Meeting",
- "Call": "Call"
+ "Call": "Call",
+ "Fields left empty keep their current value.": "Kolom yang dibiarkan kosong tetap memakai nilai saat ini."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/ja.json b/packages/pieces/community/hubspot/src/i18n/ja.json
index 37a00d42ad3..21633d59998 100644
--- a/packages/pieces/community/hubspot/src/i18n/ja.json
+++ b/packages/pieces/community/hubspot/src/i18n/ja.json
@@ -320,5 +320,6 @@
"Note": "メモ",
"Task": "タスク",
"Meeting": "会議",
- "Call": "電話"
+ "Call": "電話",
+ "Fields left empty keep their current value.": "空欄のフィールドは現在の値のまま変更されません。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/nl.json b/packages/pieces/community/hubspot/src/i18n/nl.json
index 6f42b3d1889..bac92d6be66 100644
--- a/packages/pieces/community/hubspot/src/i18n/nl.json
+++ b/packages/pieces/community/hubspot/src/i18n/nl.json
@@ -320,5 +320,6 @@
"Note": "Notitie",
"Task": "Opdracht",
"Meeting": "Afspraak",
- "Call": "Oproepen"
+ "Call": "Oproepen",
+ "Fields left empty keep their current value.": "Velden die je leeg laat, behouden hun huidige waarde."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/pt.json b/packages/pieces/community/hubspot/src/i18n/pt.json
index 3a5652d6699..c6c2bdb2523 100644
--- a/packages/pieces/community/hubspot/src/i18n/pt.json
+++ b/packages/pieces/community/hubspot/src/i18n/pt.json
@@ -320,5 +320,6 @@
"Note": "Observação",
"Task": "Tarefas",
"Meeting": "Reunião",
- "Call": "Chamada"
+ "Call": "Chamada",
+ "Fields left empty keep their current value.": "Os campos deixados em branco mantêm o valor atual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/ru.json b/packages/pieces/community/hubspot/src/i18n/ru.json
index ce8e372abfb..d025ef78d88 100644
--- a/packages/pieces/community/hubspot/src/i18n/ru.json
+++ b/packages/pieces/community/hubspot/src/i18n/ru.json
@@ -311,5 +311,6 @@
"Note": "Примечание",
"Task": "Задача",
"Meeting": "Встреча",
- "Call": "Звонок"
+ "Call": "Звонок",
+ "Fields left empty keep their current value.": "Пустые поля сохраняют текущее значение."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/translation.json b/packages/pieces/community/hubspot/src/i18n/translation.json
index f8cd51012c2..244cf398cec 100644
--- a/packages/pieces/community/hubspot/src/i18n/translation.json
+++ b/packages/pieces/community/hubspot/src/i18n/translation.json
@@ -218,6 +218,7 @@
"Map it from an earlier step like Find Ticket.": "Map it from an earlier step like Find Ticket.",
"The object type of the linked records.": "The object type of the linked records.",
"The linked records to unlink.": "The linked records to unlink.",
+ "Fields left empty keep their current value.": "Fields left empty keep their current value.",
"Leave empty to keep the current name.": "Leave empty to keep the current name.",
"Leave empty to keep the current pipeline.": "Leave empty to keep the current pipeline.",
"Leave empty to keep the current stage.": "Leave empty to keep the current stage.",
diff --git a/packages/pieces/community/hubspot/src/i18n/vi.json b/packages/pieces/community/hubspot/src/i18n/vi.json
index 677e9eae433..b7b032f9c8d 100644
--- a/packages/pieces/community/hubspot/src/i18n/vi.json
+++ b/packages/pieces/community/hubspot/src/i18n/vi.json
@@ -311,5 +311,6 @@
"Note": "Note",
"Task": "Task",
"Meeting": "Meeting",
- "Call": "Call"
+ "Call": "Call",
+ "Fields left empty keep their current value.": "Các trường để trống sẽ giữ nguyên giá trị hiện tại."
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/i18n/zh.json b/packages/pieces/community/hubspot/src/i18n/zh.json
index 011ea68795c..b365d3b9e56 100644
--- a/packages/pieces/community/hubspot/src/i18n/zh.json
+++ b/packages/pieces/community/hubspot/src/i18n/zh.json
@@ -320,5 +320,6 @@
"Note": "说明",
"Task": "Task",
"Meeting": "Meeting",
- "Call": "Call"
+ "Call": "Call",
+ "Fields left empty keep their current value.": "留空的字段将保留其当前值。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/hubspot/src/index.ts b/packages/pieces/community/hubspot/src/index.ts
index 64e41d69b9d..ad5c16643c8 100644
--- a/packages/pieces/community/hubspot/src/index.ts
+++ b/packages/pieces/community/hubspot/src/index.ts
@@ -148,6 +148,12 @@ export const hubspot = createPiece({
authMapping: async (auth) => ({
Authorization: `Bearer ${getHubspotAccessToken(auth)}`,
}),
+ props: {
+ url: {
+ description: 'Full URL, or a path relative to https://api.hubapi.com',
+ placeholder: '/crm/v3/objects/contacts',
+ },
+ },
}),
],
triggers: [
diff --git a/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-list-action.ts b/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-list-action.ts
index 5f9aa8149b7..041b4982469 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-list-action.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-list-action.ts
@@ -11,6 +11,22 @@ export const hubSpotListsAddContactAction = createAction({
description: 'Adds a contact to a static list by email.',
audience: 'both',
aiMetadata: { description: 'Adds a contact, identified by email, to a chosen HubSpot static contact list. Use to enroll a known contact into a list for segmentation or workflow targeting; the list must be static (not dynamic/active). Idempotent: a contact already on the list stays a single member.', idempotent: true },
+ propertyGroups: [
+ {
+ key: 'list',
+ display: 'section',
+ label: 'List',
+ icon: 'users',
+ props: ['listId'],
+ },
+ {
+ key: 'contact',
+ display: 'section',
+ label: 'Contact',
+ icon: 'user',
+ props: ['email'],
+ },
+ ],
props: {
listId: staticListsDropdown,
email: Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-workflow.ts b/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-workflow.ts
index 1bafe7dfeff..1b8b8720fd4 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-workflow.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/add-contact-to-workflow.ts
@@ -11,6 +11,22 @@ export const addContactToWorkflowAction = createAction({
description:'Adds a contact to a specified workflow in your HubSpot account.',
audience: 'both',
aiMetadata: { description: 'Enroll a contact (identified by email) into a specific HubSpot automation workflow. Only works with API-enrollable workflows. Re-enrolling an already-enrolled contact does not duplicate the enrollment, so it is effectively idempotent.', idempotent: true },
+ propertyGroups: [
+ {
+ key: 'workflow',
+ display: 'section',
+ label: 'Workflow',
+ icon: 'sliders',
+ props: ['workflowId'],
+ },
+ {
+ key: 'contact',
+ display: 'section',
+ label: 'Contact',
+ icon: 'user',
+ props: ['email'],
+ },
+ ],
props:{
workflowId : workflowIdDropdown,
email:Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-associations.ts b/packages/pieces/community/hubspot/src/lib/actions/create-associations.ts
index c701386a4b1..ee744319f9b 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-associations.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-associations.ts
@@ -20,6 +20,22 @@ export const createAssociationsAction = createAction({
audience: 'both',
aiMetadata: { description: 'Link one source HubSpot object (e.g. a company) to one or more target objects using a specific association type, batching the targets. Re-running with the same inputs re-applies the same association without creating duplicates. Use Remove Associations to undo a link.', idempotent: true },
outputSchema: createAssociationsOutputSchema,
+ propertyGroups: [
+ {
+ key: 'source',
+ display: 'section',
+ label: 'From Record',
+ icon: 'file',
+ props: ['fromObjectId', 'fromObjectType'],
+ },
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Records to Link',
+ icon: 'send',
+ props: ['toObjectType', 'associationType', 'toObjectIds'],
+ },
+ ],
props: {
fromObjectId: Property.ShortText({
displayName: 'From Object ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-blog-post.ts b/packages/pieces/community/hubspot/src/lib/actions/create-blog-post.ts
index 065899fc5ac..2ace8e7d98a 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-blog-post.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-blog-post.ts
@@ -13,6 +13,29 @@ export const createBlogPostAction = createAction({
audience: 'both',
aiMetadata: { description: 'Create a post in a HubSpot CMS (COS) blog with title, slug, body, and featured image, then optionally publish it immediately when Status is set to publish rather than draft. Each call creates a new post, so it is not idempotent.', idempotent: false },
outputSchema: createBlogPostOutputSchema,
+ propertyGroups: [
+ {
+ key: 'blog',
+ display: 'section',
+ label: 'Blog',
+ icon: 'file',
+ props: ['contentGroupId', 'authorId'],
+ },
+ {
+ key: 'post',
+ display: 'section',
+ label: 'Post',
+ icon: 'text',
+ props: ['title', 'slug', 'body', 'meta', 'imageUrl'],
+ },
+ {
+ key: 'publishing',
+ display: 'section',
+ label: 'Publishing',
+ icon: 'send',
+ props: ['status'],
+ },
+ ],
props: {
contentGroupId: blogUrlDropdown,
authorId: blogAuthorDropdown,
@@ -26,13 +49,13 @@ export const createBlogPostAction = createAction({
{
label: 'Draft',
value: 'DRAFT',
- description: 'Kept unpublished',
+ description: 'Not published',
icon: 'file',
},
{
label: 'Publish',
value: 'PUBLISHED',
- description: 'Live once created',
+ description: 'Goes live now',
icon: 'send',
},
],
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-company.ts b/packages/pieces/community/hubspot/src/lib/actions/create-company.ts
index fec3bcd622a..0040b75db35 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-company.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-company.ts
@@ -15,6 +15,15 @@ export const createCompanyAction = createAction({
audience: 'both',
aiMetadata: { description: 'Create a new HubSpot company record from the supplied properties (name, domain, industry, etc.). Always inserts a new company even if one with the same domain already exists, so it is not idempotent; to change an existing record use Update Company, and to locate one first use a find action.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.COMPANY, []),
markdown: Property.MarkDown({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-contact.ts b/packages/pieces/community/hubspot/src/lib/actions/create-contact.ts
index 9c1f36f29ce..f57b97e96d6 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-contact.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-contact.ts
@@ -16,6 +16,15 @@ export const createContactAction = createAction({
audience: 'both',
aiMetadata: { description: 'Creates a new contact record in HubSpot from the supplied property values, then returns the created contact. Use when you specifically need a new contact; to avoid duplicates when a contact may already exist, prefer Create or Update Contact, which upserts on email. Not idempotent: each call creates a separate contact.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.CONTACT, []),
markdown: Property.MarkDown({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-custom-object.ts b/packages/pieces/community/hubspot/src/lib/actions/create-custom-object.ts
index 48293f8882e..84e0bf687df 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-custom-object.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-custom-object.ts
@@ -19,6 +19,22 @@ export const createCustomObjectAction = createAction({
audience: 'both',
aiMetadata: { description: 'Create a new record of a selected HubSpot custom object type from the supplied properties. Each call inserts a new record, so it is not idempotent. Requires choosing the custom object type; use Find Custom Object to locate an existing record.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'object',
+ display: 'section',
+ label: 'Object Type',
+ icon: 'tag',
+ props: ['customObjectType'],
+ },
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
objectProperties: customObjectDynamicProperties,
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-deal.ts b/packages/pieces/community/hubspot/src/lib/actions/create-deal.ts
index 48c213adafd..3fec9b5b00f 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-deal.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-deal.ts
@@ -24,6 +24,29 @@ export const createDealAction = createAction({
audience: 'both',
aiMetadata: { description: 'Creates a new deal in HubSpot, requiring a deal name plus a pipeline and stage, and returns the created deal. Use to open a new opportunity; use Update Deal to modify an existing one. Not idempotent: each call creates a separate deal, so guard against duplicates.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'deal',
+ display: 'section',
+ label: 'Deal',
+ icon: 'tag',
+ props: ['dealname'],
+ },
+ {
+ key: 'pipeline',
+ display: 'section',
+ label: 'Pipeline',
+ icon: 'sliders',
+ props: ['pipelineId', 'pipelineStageId'],
+ },
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
dealname: Property.ShortText({
displayName: 'Deal Name',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-line-item.ts b/packages/pieces/community/hubspot/src/lib/actions/create-line-item.ts
index aceaff18d57..01020af955b 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-line-item.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-line-item.ts
@@ -21,6 +21,22 @@ export const createLineItemAction = createAction({
audience: 'both',
aiMetadata: { description: 'Creates a new standalone line item in HubSpot from a required product plus optional property values (quantity, price, discount), and returns the created line item. Use when building out a quote or deal\'s line items. Not idempotent: each call creates a separate line item.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'product',
+ display: 'section',
+ label: 'Product',
+ icon: 'tag',
+ props: ['productId'],
+ },
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
productId: productDropdown({
displayName: 'Product',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-or-update-contact.ts b/packages/pieces/community/hubspot/src/lib/actions/create-or-update-contact.ts
index a8857dfc43c..3dfe14eacbc 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-or-update-contact.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-or-update-contact.ts
@@ -17,6 +17,22 @@ export const createOrUpdateContactAction = createAction({
audience: 'both',
aiMetadata: { description: 'Upserts a contact keyed on email: searches for a contact with the given email and updates it if found, otherwise creates a new one with the provided properties. Use this safe-to-retry path when you want to set a contact by email without risking duplicates; use Create Contact when you specifically need a new record. Idempotent on the email key.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'contact',
+ display: 'section',
+ label: 'Contact',
+ icon: 'user',
+ props: ['email'],
+ },
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
email: Property.ShortText({
displayName: 'Contact Email',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-page.ts b/packages/pieces/community/hubspot/src/lib/actions/create-page.ts
index daa5fc72f51..8592157050e 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-page.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-page.ts
@@ -13,15 +13,33 @@ export const createPageAction = createAction({
audience: 'both',
aiMetadata: { description: 'Create a new HubSpot CMS landing page or site page (choose via Page Type) from a template, then optionally publish it when State is set to publish rather than leaving it as a draft. Each call creates a distinct page, so it is not idempotent.', idempotent: false },
outputSchema: pageOutputSchema,
+ propertyGroups: [
+ {
+ key: 'page',
+ display: 'section',
+ label: 'Page',
+ icon: 'file',
+ props: ['pageType', 'pageTitle', 'internalPageName', 'templatePath', 'slug', 'language'],
+ },
+ {
+ key: 'publishing',
+ display: 'section',
+ label: 'Publishing',
+ icon: 'send',
+ props: ['state'],
+ },
+ ],
props: {
pageType: pageType,
pageTitle: Property.ShortText({
displayName: 'Page Title',
required: true,
+ width: 'half',
}),
internalPageName: Property.ShortText({
displayName: 'Internal Page Name',
required: true,
+ width: 'half',
}),
templatePath: Property.ShortText({
displayName: 'Template Path',
@@ -33,12 +51,14 @@ export const createPageAction = createAction({
displayName: 'Slug',
placeholder: 'spring-sale',
required: true,
+ width: 'half',
}),
language: Property.ShortText({
displayName: 'Language',
description: 'A language code such as en-us or de-de.',
required: false,
defaultValue: 'en-us',
+ width: 'half',
}),
metaDescription: Property.LongText({
displayName: 'Meta Description',
@@ -49,7 +69,6 @@ export const createPageAction = createAction({
displayName: 'Status',
required: false,
defaultValue: 'DRAFT',
- display: 'cards',
options: {
disabled: false,
options: [
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-product.ts b/packages/pieces/community/hubspot/src/lib/actions/create-product.ts
index 373359ac1d4..d212a3f0375 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-product.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-product.ts
@@ -23,6 +23,15 @@ export const createProductAction = createAction({
idempotent: false,
},
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.PRODUCT,[]),
markdown: Property.MarkDown({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/create-ticket.ts b/packages/pieces/community/hubspot/src/lib/actions/create-ticket.ts
index b45cde6fde9..e3ce301f52b 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/create-ticket.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/create-ticket.ts
@@ -16,6 +16,29 @@ export const createTicketAction = createAction({
audience: 'both',
aiMetadata: { description: 'Create a new HubSpot support ticket with a name, pipeline, and pipeline stage plus optional properties. Each call creates a separate ticket even for identical input, so it is not idempotent.', idempotent: false },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'ticket',
+ display: 'section',
+ label: 'Ticket',
+ icon: 'tag',
+ props: ['ticketName'],
+ },
+ {
+ key: 'pipeline',
+ display: 'section',
+ label: 'Pipeline',
+ icon: 'sliders',
+ props: ['pipelineId', 'pipelineStageId'],
+ },
+ {
+ key: 'details',
+ display: 'section',
+ label: 'Details',
+ icon: 'text',
+ props: ['objectProperties'],
+ },
+ ],
props: {
ticketName: Property.ShortText({
displayName: 'Ticket Name',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/delete-page.ts b/packages/pieces/community/hubspot/src/lib/actions/delete-page.ts
index 9d3e6e062a4..af4e3dee8af 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/delete-page.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/delete-page.ts
@@ -11,6 +11,15 @@ export const deletePageAction = createAction({
description: 'Deletes a landing page or site page.',
audience: 'both',
aiMetadata: { description: 'Archive (delete) a HubSpot CMS landing page or site page by its ID; select the matching Page Type. Deleting an already-deleted page is harmless, so the operation is effectively idempotent on the end state. This is destructive and cannot be undone here.', idempotent: true },
+ propertyGroups: [
+ {
+ key: 'page',
+ display: 'section',
+ label: 'Page to Delete',
+ icon: 'trash',
+ props: ['pageType', 'pageId'],
+ },
+ ],
props: {
pageType: pageType,
pageId: Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-associations.ts b/packages/pieces/community/hubspot/src/lib/actions/find-associations.ts
index 899e5c52fba..3e49e76254f 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-associations.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-associations.ts
@@ -14,6 +14,22 @@ export const findAssociationsAction = createAction({
audience: 'both',
aiMetadata: { description: 'Lists all associations from one CRM object to objects of another type (e.g. a company to its contacts or deals), paging through every result. Use to discover what records are linked to a known object given its ID and the from/to object types. Read-only and idempotent.', idempotent: true },
outputSchema: findAssociationsOutputSchema,
+ propertyGroups: [
+ {
+ key: 'source',
+ display: 'section',
+ label: 'From Record',
+ icon: 'file',
+ props: ['fromObjectId', 'fromObjectType'],
+ },
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Records to Find',
+ icon: 'filter',
+ props: ['toObjectType'],
+ },
+ ],
props: {
fromObjectId: Property.ShortText({
displayName: 'From Object ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-company.ts b/packages/pieces/community/hubspot/src/lib/actions/find-company.ts
index 79d7d02acd9..43b6f72f3e4 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-company.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-company.ts
@@ -19,6 +19,15 @@ export const findCompanyAction = createAction({
audience: 'both',
aiMetadata: { description: 'Searches companies via the HubSpot CRM search API, matching on one or two property name/value pairs (exact match, combined as AND), and returns matching companies. Use to locate a company by domain, name, or another property before reading or updating it; prefer Get Company when you already have the company ID. Read-only and idempotent.', idempotent: true },
outputSchema: companySearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-contact.ts b/packages/pieces/community/hubspot/src/lib/actions/find-contact.ts
index c8696e1c31f..67e6bcfd971 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-contact.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-contact.ts
@@ -16,6 +16,15 @@ export const findContactAction = createAction({
audience: 'both',
aiMetadata: { description: 'Search HubSpot contacts by one or two property/value pairs (matched with equality) and return the matching contacts. Read-only and repeatable. Use this to resolve a contact before updating or enrolling it; pick a create action instead when no match should exist.', idempotent: true },
outputSchema: contactSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-custom-object.ts b/packages/pieces/community/hubspot/src/lib/actions/find-custom-object.ts
index 3beb1cc9317..b1eeee7b23e 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-custom-object.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-custom-object.ts
@@ -16,6 +16,15 @@ export const findCustomObjectAction = createAction({
audience: 'both',
aiMetadata: { description: 'Search records of a selected HubSpot custom object type by one or two property/value pairs (matched with equality) and return the matches. Read-only and repeatable. Requires choosing the custom object type; use Create Custom Object to add a new record.', idempotent: true },
outputSchema: customObjectSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['customObjectType', 'firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
firstSearchPropertyName: customObjectPropertiesDropdown({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-deal.ts b/packages/pieces/community/hubspot/src/lib/actions/find-deal.ts
index 2f3aeeba1ca..387ea36ad44 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-deal.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-deal.ts
@@ -16,6 +16,15 @@ export const findDealAction = createAction({
audience: 'both',
aiMetadata: { description: 'Search HubSpot deals by one or two property/value pairs (matched with equality) and return the matching deals. Read-only and repeatable. Use this to look up an existing deal before updating or associating it; pick a create action instead when no matching deal should exist.', idempotent: true },
outputSchema: dealSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-line-item.ts b/packages/pieces/community/hubspot/src/lib/actions/find-line-item.ts
index 87222072b45..3363fa9bcc7 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-line-item.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-line-item.ts
@@ -16,6 +16,15 @@ export const findLineItemAction = createAction({
audience: 'both',
aiMetadata: { description: 'Search HubSpot line items by one or two property/value pairs (matched with equality) and return the matches. Read-only and repeatable. Use this to locate an existing line item before updating it.', idempotent: true },
outputSchema: lineItemSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-product.ts b/packages/pieces/community/hubspot/src/lib/actions/find-product.ts
index ee4e4033cfa..952ee19b675 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-product.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-product.ts
@@ -18,6 +18,15 @@ export const findProductAction = createAction({
audience: 'both',
aiMetadata: { description: 'Search the HubSpot product library by one or two property/value pairs (matched with equality) and return the matching products. Read-only and repeatable. Use Get Product instead when you already have the product ID.', idempotent: true },
outputSchema: productSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/find-ticket.ts b/packages/pieces/community/hubspot/src/lib/actions/find-ticket.ts
index 5c72eea0cdc..babf262c51d 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/find-ticket.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/find-ticket.ts
@@ -16,6 +16,15 @@ export const findTicketAction = createAction({
audience: 'both',
aiMetadata: { description: 'Searches support tickets via the HubSpot CRM search API, matching on one or two property name/value pairs (exact match, combined as AND), and returns matching tickets. Use to locate a ticket by subject or another property before reading or updating it; prefer Get Ticket when you already have the ticket ID. Read-only and idempotent.', idempotent: true },
outputSchema: ticketSearchOutputSchema,
+ propertyGroups: [
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['firstSearchPropertyName', 'firstSearchPropertyValue'],
+ },
+ ],
props: {
firstSearchPropertyName: standardObjectPropertiesDropdown(
{
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-company.ts b/packages/pieces/community/hubspot/src/lib/actions/get-company.ts
index d13bcdb6467..16ad520548e 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-company.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-company.ts
@@ -18,6 +18,15 @@ export const getCompanyAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single company by its HubSpot company ID, returning default and any requested additional properties. Use when you already have the company ID; use Find Company to look one up by domain or another property first. Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Company',
+ icon: 'tag',
+ props: ['companyId'],
+ },
+ ],
props: {
companyId: Property.ShortText({
displayName: 'Company ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-contact.ts b/packages/pieces/community/hubspot/src/lib/actions/get-contact.ts
index 5ec2bb61084..bb569edbe51 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-contact.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-contact.ts
@@ -16,6 +16,15 @@ export const getContactAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single contact by its HubSpot contact ID, returning default and any requested additional properties. Use when you already have the contact ID; to look one up by email instead, use a search-based action. Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Contact',
+ icon: 'tag',
+ props: ['contactId'],
+ },
+ ],
props: {
contactId: Property.ShortText({
displayName: 'Contact ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-custom-object.ts b/packages/pieces/community/hubspot/src/lib/actions/get-custom-object.ts
index 126a88b33b6..35273c5e581 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-custom-object.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-custom-object.ts
@@ -15,6 +15,15 @@ export const getCustomObjectAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single custom-object record by its ID for a chosen custom object type, returning the requested properties. Use when you already have the record ID and the custom object type; for standard CRM objects use the dedicated Get Contact / Deal / Company / Ticket actions instead. Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Custom Object',
+ icon: 'tag',
+ props: ['customObjectType', 'customObjectId'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
customObjectId: Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-deal.ts b/packages/pieces/community/hubspot/src/lib/actions/get-deal.ts
index ef00c0136af..4f0bad24c3d 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-deal.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-deal.ts
@@ -16,6 +16,15 @@ export const getDealAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single deal by its HubSpot deal ID, returning default and any requested additional properties such as amount, stage, and close date. Use when you already have the deal ID. Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Deal',
+ icon: 'tag',
+ props: ['dealId'],
+ },
+ ],
props: {
dealId: Property.ShortText({
displayName: 'Deal ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-line-item.ts b/packages/pieces/community/hubspot/src/lib/actions/get-line-item.ts
index 7dd1bd17772..948c5e06a08 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-line-item.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-line-item.ts
@@ -15,6 +15,15 @@ export const getLineItemAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single line item by its HubSpot line item ID, returning default and any requested additional properties. Use when you already have the line item ID and need its details (price, quantity, product). Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Line Item',
+ icon: 'tag',
+ props: ['lineItemId'],
+ },
+ ],
props: {
lineItemId: Property.ShortText({
displayName: 'Line Item ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-page.ts b/packages/pieces/community/hubspot/src/lib/actions/get-page.ts
index 64a09c6f986..f16ea28a6b2 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-page.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-page.ts
@@ -17,6 +17,15 @@ export const getPageAction = createAction({
idempotent: true,
},
outputSchema: pageOutputSchema,
+ propertyGroups: [
+ {
+ key: 'page',
+ display: 'section',
+ label: 'Page',
+ icon: 'file',
+ props: ['pageType', 'pageId'],
+ },
+ ],
props: {
pageType: pageType,
pageId: Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-pipeline-stage-details.ts b/packages/pieces/community/hubspot/src/lib/actions/get-pipeline-stage-details.ts
index b946027ebb4..10efb2e57a2 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-pipeline-stage-details.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-pipeline-stage-details.ts
@@ -12,20 +12,34 @@ export const getPipelineStageDetailsAction = createAction({
audience: 'both',
aiMetadata: { description: 'Retrieves the configuration of a single pipeline stage (label, order, metadata) for a ticket or deal pipeline, given the object type, pipeline ID, and stage ID. Use to resolve or validate a stage ID before setting a deal or ticket stage. Read-only and idempotent.', idempotent: true },
outputSchema: pipelineStageDetailsOutputSchema,
+ propertyGroups: [
+ {
+ key: 'stage',
+ display: 'section',
+ label: 'Pipeline Stage',
+ icon: 'sliders',
+ props: ['objectType', 'pipelineId', 'stageId'],
+ },
+ ],
props: {
objectType: Property.StaticDropdown({
displayName: 'Object Type',
required: true,
+ display: 'cards',
options: {
disabled: false,
options: [
{
label: 'Ticket',
value: 'ticket',
+ description: 'Support pipeline',
+ icon: 'inbox',
},
{
label: 'Deal',
value: 'deal',
+ description: 'Sales pipeline',
+ icon: 'tag',
},
],
},
@@ -34,11 +48,13 @@ export const getPipelineStageDetailsAction = createAction({
displayName: 'Pipeline ID',
description: 'The pipeline\'s ID, found in a deal or ticket\'s pipeline property.',
required: true,
+ width: 'half',
}),
stageId: Property.ShortText({
displayName: 'Stage ID',
description: 'The stage\'s ID, found in a deal or ticket\'s stage property.',
required: true,
+ width: 'half',
}),
},
async run(context) {
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-product.ts b/packages/pieces/community/hubspot/src/lib/actions/get-product.ts
index 331fada0723..af309166de3 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-product.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-product.ts
@@ -16,6 +16,15 @@ export const getProductAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetch a single HubSpot product by its product ID, returning its default and any requested additional properties. Read-only and repeatable. Use Find Product when you only know property values rather than the ID.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Product',
+ icon: 'tag',
+ props: ['productId'],
+ },
+ ],
props: {
productId: Property.ShortText({
displayName: 'Product ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/get-ticket.ts b/packages/pieces/community/hubspot/src/lib/actions/get-ticket.ts
index 1438a33ea15..40179c9413c 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/get-ticket.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/get-ticket.ts
@@ -16,6 +16,15 @@ export const getTicketAction = createAction({
audience: 'both',
aiMetadata: { description: 'Fetches a single support ticket by its HubSpot ticket ID, returning default and any requested additional properties. Use when you already have the ticket ID; use Find Ticket to look one up by another property first. Read-only and idempotent.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Ticket',
+ icon: 'tag',
+ props: ['ticketId'],
+ },
+ ],
props: {
ticketId: Property.ShortText({
displayName: 'Ticket ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/remove-associations.ts b/packages/pieces/community/hubspot/src/lib/actions/remove-associations.ts
index 40622585679..a3a7cdbc5ec 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/remove-associations.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/remove-associations.ts
@@ -20,6 +20,22 @@ export const removeAssociationsAction = createAction({
audience: 'both',
aiMetadata: { description: 'Remove the labeled association of a specific type between one source HubSpot object and one or more target objects, batching the targets. Removing an already-absent association is harmless, so it is idempotent on the end state. Use Create Associations to add links.', idempotent: true },
outputSchema: removeAssociationsOutputSchema,
+ propertyGroups: [
+ {
+ key: 'source',
+ display: 'section',
+ label: 'From Record',
+ icon: 'file',
+ props: ['fromObjectId', 'fromObjectType'],
+ },
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Records to Unlink',
+ icon: 'trash',
+ props: ['toObjectType', 'associationType', 'toObjectIds'],
+ },
+ ],
props: {
fromObjectId: Property.ShortText({
displayName: 'From Object ID',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/remove-contact-from-list.ts b/packages/pieces/community/hubspot/src/lib/actions/remove-contact-from-list.ts
index aec82b7b2d8..1ea773736ed 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/remove-contact-from-list.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/remove-contact-from-list.ts
@@ -17,6 +17,22 @@ export const removeContactFromListAction = createAction({
'Remove a contact, identified by email, from a specific static HubSpot list (this only works on static lists, not active/dynamic ones). Use to revoke list membership; it first resolves the email to a contact and errors if no such contact exists or if the contact was not a member of the list.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'list',
+ display: 'section',
+ label: 'List',
+ icon: 'users',
+ props: ['listId'],
+ },
+ {
+ key: 'contact',
+ display: 'section',
+ label: 'Contact',
+ icon: 'user',
+ props: ['email'],
+ },
+ ],
props: {
listId: staticListsDropdown,
email: Property.ShortText({
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-company.ts b/packages/pieces/community/hubspot/src/lib/actions/update-company.ts
index 1b86349ede1..fefd7756dbb 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-company.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-company.ts
@@ -20,12 +20,32 @@ export const updateCompanyAction = createAction({
audience: 'both',
aiMetadata: { description: 'Update properties on an existing HubSpot company identified by Company ID; only the supplied fields are changed. Applying the same field values repeatedly leaves the record in the same state, so it is idempotent. Use Create Company to add a new record, or a find action to obtain the ID first.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Company to Update',
+ icon: 'tag',
+ props: ['companyId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'objectProperties'],
+ },
+ ],
props: {
companyId: Property.ShortText({
displayName: 'Company ID',
description: 'Map it from an earlier step like Find Company.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.COMPANY, []),
markdown: Property.MarkDown({
variant: MarkdownVariant.INFO,
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-contact.ts b/packages/pieces/community/hubspot/src/lib/actions/update-contact.ts
index c4c3742a474..ccbe0368529 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-contact.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-contact.ts
@@ -20,12 +20,32 @@ export const updateContactAction = createAction({
audience: 'both',
aiMetadata: { description: 'Update properties on an existing HubSpot contact identified by Contact ID; only the supplied fields are changed. Applying the same values repeatedly is idempotent. Use a find action to resolve the contact ID first, or a create action to add a new contact.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Contact to Update',
+ icon: 'tag',
+ props: ['contactId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'objectProperties'],
+ },
+ ],
props: {
contactId: Property.ShortText({
displayName: 'Contact ID',
description: 'Map it from an earlier step like Find Contact.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.CONTACT, []),
markdown: Property.MarkDown({
variant: MarkdownVariant.INFO,
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-custom-object.ts b/packages/pieces/community/hubspot/src/lib/actions/update-custom-object.ts
index 2ddf8bd762d..3ff210c485e 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-custom-object.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-custom-object.ts
@@ -19,6 +19,22 @@ export const updateCustomObjectAction = createAction({
audience: 'both',
aiMetadata: { description: 'Updates properties on an existing custom-object record identified by its custom object type and record ID, then returns the refreshed record. Use to modify a known custom-object record; for standard CRM objects use the dedicated update actions instead. Idempotent: applying the same property values converges to the same record state.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Custom Object to Update',
+ icon: 'tag',
+ props: ['customObjectType', 'customObjectId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'objectProperties'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
customObjectId: Property.ShortText({
@@ -26,6 +42,10 @@ export const updateCustomObjectAction = createAction({
description: 'Map it from an earlier step like Find Custom Object.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
objectProperties: customObjectDynamicProperties,
markdown: Property.MarkDown({
variant: MarkdownVariant.INFO,
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-deal.ts b/packages/pieces/community/hubspot/src/lib/actions/update-deal.ts
index 92fb5c0dfc6..e09e8829cfa 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-deal.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-deal.ts
@@ -27,12 +27,32 @@ export const updateDealAction = createAction({
audience: 'both',
aiMetadata: { description: 'Updates properties on an existing deal identified by its deal ID, such as name, pipeline, stage, or custom fields, then returns the refreshed deal. Use to modify a known deal; use Create Deal to make a new one. Idempotent: applying the same property values converges to the same deal state.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Deal to Update',
+ icon: 'tag',
+ props: ['dealId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'dealname', 'pipelineId', 'pipelineStageId', 'objectProperties'],
+ },
+ ],
props: {
dealId: Property.ShortText({
displayName: 'Deal ID',
description: 'Map it from an earlier step like Find Deal.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
dealname: Property.ShortText({
displayName: 'Deal Name',
description: 'Leave empty to keep the current name.',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-line-item.ts b/packages/pieces/community/hubspot/src/lib/actions/update-line-item.ts
index e1be5720397..7f2ce4fcc47 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-line-item.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-line-item.ts
@@ -21,12 +21,32 @@ export const updateLineItemAction = createAction({
audience: 'both',
aiMetadata: { description: 'Update properties (product, quantity, price, etc.) on an existing HubSpot line item identified by Line Item ID; only supplied fields change. Applying the same values repeatedly is idempotent. Use a find action to obtain the line item ID first.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Line Item to Update',
+ icon: 'tag',
+ props: ['lineItemId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'productId', 'objectProperties'],
+ },
+ ],
props: {
lineItemId: Property.ShortText({
displayName: 'Line Item ID',
description: 'Map it from an earlier step like Find Line Item.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
productId: productDropdown({
displayName: 'Product',
description: 'Leave empty to keep the current product.',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-product.ts b/packages/pieces/community/hubspot/src/lib/actions/update-product.ts
index b2174d821d7..0a063918ee6 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-product.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-product.ts
@@ -20,12 +20,32 @@ export const updateProductAction = createAction({
audience: 'both',
aiMetadata: { description: 'Updates properties on an existing product identified by its product ID, such as name, price, description, or tax, then returns the refreshed product. Use to modify a known product in the product library. Idempotent: applying the same property values converges to the same product state.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Product to Update',
+ icon: 'tag',
+ props: ['productId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'objectProperties'],
+ },
+ ],
props: {
productId:Property.ShortText({
displayName:'Product ID',
description:'Map it from an earlier step like Find Product.',
required:true
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
objectProperties: standardObjectDynamicProperties(OBJECT_TYPE.PRODUCT,[]),
markdown: Property.MarkDown({
variant: MarkdownVariant.INFO,
diff --git a/packages/pieces/community/hubspot/src/lib/actions/update-ticket.ts b/packages/pieces/community/hubspot/src/lib/actions/update-ticket.ts
index dfb8194d139..632bff3ec88 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/update-ticket.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/update-ticket.ts
@@ -16,12 +16,32 @@ export const updateTicketAction = createAction({
audience: 'both',
aiMetadata: { description: 'Updates properties on an existing support ticket identified by its ticket ID, such as subject, pipeline, stage, or custom fields, then returns the refreshed ticket. Use to modify a known ticket. Idempotent: applying the same property values converges to the same ticket state.', idempotent: true },
outputSchema: crmObjectOutputSchema,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Ticket to Update',
+ icon: 'tag',
+ props: ['ticketId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changesInfo', 'ticketName', 'pipelineId', 'pipelineStageId', 'objectProperties'],
+ },
+ ],
props: {
ticketId: Property.ShortText({
displayName: 'Ticket ID',
description: 'Map it from an earlier step like Find Ticket.',
required: true,
}),
+ changesInfo: Property.MarkDown({
+ value: 'Fields left empty keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
ticketName: Property.ShortText({
displayName: 'Ticket Name',
description: 'Leave empty to keep the current name.',
diff --git a/packages/pieces/community/hubspot/src/lib/actions/upload-file.ts b/packages/pieces/community/hubspot/src/lib/actions/upload-file.ts
index 494b680b457..136f53465c8 100644
--- a/packages/pieces/community/hubspot/src/lib/actions/upload-file.ts
+++ b/packages/pieces/community/hubspot/src/lib/actions/upload-file.ts
@@ -16,6 +16,22 @@ export const uploadFileAction = createAction({
audience: 'both',
aiMetadata: { description: 'Upload a file into a chosen folder in the HubSpot File Manager with a given name and access level. Each call uploads a new file rather than replacing an existing one, so it is not idempotent.', idempotent: false },
outputSchema: uploadFileOutputSchema,
+ propertyGroups: [
+ {
+ key: 'file',
+ display: 'section',
+ label: 'File',
+ icon: 'paperclip',
+ props: ['file', 'fileName'],
+ },
+ {
+ key: 'destination',
+ display: 'section',
+ label: 'Save To',
+ icon: 'inbox',
+ props: ['folderId', 'accessLevel'],
+ },
+ ],
props: {
folderId: Property.Dropdown({
auth: hubspotAuth,
diff --git a/packages/pieces/community/hubspot/src/lib/common/props.ts b/packages/pieces/community/hubspot/src/lib/common/props.ts
index 83ca569085f..f8eadc4fbb8 100644
--- a/packages/pieces/community/hubspot/src/lib/common/props.ts
+++ b/packages/pieces/community/hubspot/src/lib/common/props.ts
@@ -999,16 +999,21 @@ export const pageType=Property.StaticDropdown({
displayName:'Page Type',
required:true,
defaultValue:'landing_page',
+ display:'cards',
options:{
disabled:false,
options:[
{
label:'Landing Page',
- value:'landing_page'
+ value:'landing_page',
+ description:'For a campaign',
+ icon:'tag'
},
{
label:'Site Page',
- value:'site_page'
+ value:'site_page',
+ description:'Part of your site',
+ icon:'file'
}
]
}
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/deal-stage-updated.ts b/packages/pieces/community/hubspot/src/lib/triggers/deal-stage-updated.ts
index 5dfba06fd88..dc263ea20fc 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/deal-stage-updated.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/deal-stage-updated.ts
@@ -104,6 +104,15 @@ export const dealStageUpdatedTrigger = createTrigger({
description:
'Fires when a deal moves into the configured pipeline stage in HubSpot. Each event represents one deal that entered the selected stage since the last poll, returning the deal record with properties such as name, amount, close date, and stage entry date. Tracked by the date the deal entered the current stage.',
},
+ propertyGroups: [
+ {
+ key: 'pipeline',
+ display: 'section',
+ label: 'Pipeline',
+ icon: 'sliders',
+ props: ['pipelineId', 'stageId'],
+ },
+ ],
props: {
pipelineId: pipelineDropdown({
objectType: OBJECT_TYPE.DEAL,
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/new-blog-article.ts b/packages/pieces/community/hubspot/src/lib/triggers/new-blog-article.ts
index 4f46eb21862..cfff93d714e 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/new-blog-article.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/new-blog-article.ts
@@ -98,20 +98,27 @@ export const newBlogArticleTrigger = createTrigger({
articleState: Property.StaticDropdown({
displayName: 'Post Status',
required: true,
+ display: 'cards',
options: {
disabled: false,
options: [
{
label: 'Published Only',
value: 'PUBLISHED',
+ description: 'Live posts only',
+ icon: 'send',
},
{
label: 'Draft Only',
value: 'DRAFT',
+ description: 'Unpublished only',
+ icon: 'file',
},
{
label: 'Both',
value: 'BOTH',
+ description: 'Drafts and live',
+ icon: 'inbox',
},
],
},
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/new-contact-in-list.ts b/packages/pieces/community/hubspot/src/lib/triggers/new-contact-in-list.ts
index ccaa43f1eec..7809b233ca1 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/new-contact-in-list.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/new-contact-in-list.ts
@@ -97,6 +97,15 @@ export const newContactInListTrigger = createTrigger({
},
outputSchema: newContactInListTriggerOutputSchema,
type: TriggerStrategy.POLLING,
+ propertyGroups: [
+ {
+ key: 'list',
+ display: 'section',
+ label: 'List',
+ icon: 'users',
+ props: ['listId'],
+ },
+ ],
props: {
listId: Property.Dropdown({
displayName: 'Contact List',
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object-property-change.ts b/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object-property-change.ts
index c2848f406f7..4e920c2df94 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object-property-change.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object-property-change.ts
@@ -139,6 +139,15 @@ export const newCustomObjectPropertyChangeTrigger = createTrigger({
description:
'Fires when the chosen property changes on a record of the selected HubSpot custom object type. Each event represents one custom-object record whose selected property was modified since the last poll, returning the record. Use to react to specific field updates on a custom object rather than every change.',
},
+ propertyGroups: [
+ {
+ key: 'watch',
+ display: 'section',
+ label: 'Property to Watch',
+ icon: 'filter',
+ props: ['customObjectType', 'propertyName'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
propertyName: customObjectPropertiesDropdown({
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object.ts b/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object.ts
index 4136105d450..169107bac8b 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/new-custom-object.ts
@@ -97,6 +97,15 @@ export const newCustomObjectTrigger = createTrigger({
description:
'Fires when a new record of the selected HubSpot custom object type is created. Each event represents one custom-object record with the properties chosen to retrieve plus standard fields like object ID and create date. Polls by creation date; does not fire on updates to existing records.',
},
+ propertyGroups: [
+ {
+ key: 'object',
+ display: 'section',
+ label: 'Object Type',
+ icon: 'tag',
+ props: ['customObjectType'],
+ },
+ ],
props: {
customObjectType: customObjectDropdown,
markdown: Property.MarkDown({
diff --git a/packages/pieces/community/hubspot/src/lib/triggers/new-form-submission.ts b/packages/pieces/community/hubspot/src/lib/triggers/new-form-submission.ts
index 634bc5fc840..6b9b8e871d9 100644
--- a/packages/pieces/community/hubspot/src/lib/triggers/new-form-submission.ts
+++ b/packages/pieces/community/hubspot/src/lib/triggers/new-form-submission.ts
@@ -133,6 +133,22 @@ export const newFormSubmissionTrigger = createTrigger({
},
outputSchema: newFormSubmissionTriggerOutputSchema,
type: TriggerStrategy.POLLING,
+ propertyGroups: [
+ {
+ key: 'form',
+ display: 'section',
+ label: 'Form',
+ icon: 'file',
+ props: ['formId'],
+ },
+ {
+ key: 'files',
+ display: 'section',
+ label: 'Uploaded Files',
+ icon: 'paperclip',
+ props: ['allowMultipleFiles'],
+ },
+ ],
props: {
formId: formDropdown,
allowMultipleFiles: Property.Checkbox({