Skip to content

Commit 43c37a6

Browse files
authored
18199 action hubspot workflow api (#18252)
* Add HubSpot Workflow Management Actions - Implemented new actions for managing workflows in HubSpot, including: - Create a new workflow - Retrieve workflow details - Retrieve emails associated with a workflow - Retrieve multiple workflows by their IDs - Retrieve migrated workflow mappings - Update an existing workflow - Delete a workflow - Added corresponding methods in the hubspot.app.mjs for API interactions. - Updated constants and added necessary props for each action. * pnpm update * Update HubSpot Workflow Management Actions - Refactored workflow-related actions to align with the v4 API, including: - Updated endpoints and request structures for creating, retrieving, updating, and deleting workflows. - Added new properties for workflow creation and management, such as `isEnabled`, `actions`, and `enrollmentCriteria`. - Enhanced error handling and response parsing for better integration. - Bumped package version to 1.7.0 to reflect these changes. * Remove Retrieve Batch Workflows Action - Deleted the `retrieve-batch-workflows` action from HubSpot components as part of the ongoing refactor to streamline workflow management actions. - Updated the `update-workflow` action to change the `revisionId` type from string to integer for better data integrity. * Update HubSpot Actions and Sources Versions - Bumped version numbers for multiple HubSpot actions and sources to reflect recent updates and improvements. - Actions updated include: add-contact-to-list, batch-create-companies, batch-update-companies, create-associations, create-communication, and more. - Sources updated include: new-company-property-change, new-contact-property-change, new-deal-property-change, and others. - Ensured consistency across versioning for better management and tracking of changes. * Refactor HubSpot workflow actions to use v3 API endpoints - Updated workflow-related actions to utilize the v3 API instead of v4. - Renamed variables for clarity and consistency. - Removed deprecated props from create and update workflow actions. - Adjusted descriptions in action components to reflect the new API documentation. - Bumped versions for several source components to maintain compatibility. * Update versions for multiple HubSpot action and source components to maintain compatibility with the latest API changes. * Update version numbers for HubSpot source components to ensure compatibility with the latest API changes.
1 parent 070d248 commit 43c37a6

File tree

83 files changed

+398
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+398
-96
lines changed

components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Add Contact to List",
66
description:
77
"Adds a contact to a specific static list. [See the documentation](https://legacydocs.hubspot.com/docs/methods/lists/add_contact_to_list)",
8-
version: "0.0.23",
8+
version: "0.0.24",
99
type: "action",
1010
props: {
1111
hubspot,

components/hubspot/actions/batch-create-companies/batch-create-companies.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
name: "Batch Create Companies",
99
description:
1010
"Create a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fcreate)",
11-
version: "0.0.6",
11+
version: "0.0.7",
1212
type: "action",
1313
props: {
1414
hubspot,

components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Batch Create or Update Contact",
66
description:
77
"Create or update a batch of contacts by its ID or email. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)",
8-
version: "0.0.20",
8+
version: "0.0.21",
99
type: "action",
1010
props: {
1111
hubspot,

components/hubspot/actions/batch-update-companies/batch-update-companies.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
name: "Batch Update Companies",
99
description:
1010
"Update a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupdate)",
11-
version: "0.0.6",
11+
version: "0.0.7",
1212
type: "action",
1313
props: {
1414
hubspot,

components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ import hubspot from "../../hubspot.app.mjs";
66
export default {
77
key: "hubspot-batch-upsert-companies",
88
name: "Batch Upsert Companies",
9-
description:
10-
"Upsert a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupsert)",
11-
version: "0.0.6",
9+
description: "Upsert a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupsert)",
10+
version: "0.0.5",
1211
type: "action",
1312
props: {
1413
hubspot,

components/hubspot/actions/clone-email/clone-email.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Clone Marketing Email",
77
description:
88
"Clone a marketing email in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/emails/marketing-emails#post-%2Fmarketing%2Fv3%2Femails%2Fclone)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
type: "action",
1111
props: {
1212
hubspot,

components/hubspot/actions/clone-site-page/clone-site-page.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Clone Site Page",
66
description:
77
"Clone a site page in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Fsite-pages%2Fclone)",
8-
version: "0.0.4",
8+
version: "0.0.5",
99
type: "action",
1010
props: {
1111
hubspot,

components/hubspot/actions/create-associations/create-associations.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Create Associations",
77
description:
88
"Create associations between objects. [See the documentation](https://developers.hubspot.com/docs/api/crm/associations#endpoint?spec=POST-/crm/v3/associations/{fromObjectType}/{toObjectType}/batch/create)",
9-
version: "1.0.9",
9+
version: "1.0.10",
1010
type: "action",
1111
props: {
1212
hubspot,

components/hubspot/actions/create-communication/create-communication.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
name: "Create Communication",
1010
description:
1111
"Create a WhatsApp, LinkedIn, or SMS message. [See the documentation](https://developers.hubspot.com/beta-docs/reference/api/crm/engagements/communications/v3#post-%2Fcrm%2Fv3%2Fobjects%2Fcommunications)",
12-
version: "0.0.16",
12+
version: "0.0.17",
1313
type: "action",
1414
props: {
1515
...appProp.props,

components/hubspot/actions/create-company/create-company.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Create Company",
88
description:
99
"Create a company in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies#endpoint?spec=POST-/crm/v3/objects/companies)",
10-
version: "0.0.27",
10+
version: "0.0.28",
1111
type: "action",
1212
methods: {
1313
...common.methods,

0 commit comments

Comments
 (0)