Commit 43c37a6
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- components/hubspot
- actions
- add-contact-to-list
- batch-create-companies
- batch-create-or-update-contact
- batch-update-companies
- batch-upsert-companies
- clone-email
- clone-site-page
- create-associations
- create-communication
- create-company
- create-contact-workflow
- create-custom-object
- create-deal
- create-email
- create-engagement
- create-form
- create-landing-page
- create-lead
- create-meeting
- create-note
- create-or-update-contact
- create-page
- create-task
- create-ticket
- create-workflow
- delete-workflow
- enroll-contact-into-workflow
- get-associated-emails
- get-associated-meetings
- get-company
- get-contact
- get-deal
- get-file-public-url
- get-meeting
- get-subscription-preferences
- list-blog-posts
- list-campaigns
- list-forms
- list-marketing-emails
- list-marketing-events
- list-pages
- list-templates
- retrieve-migrated-workflow-mappings
- retrieve-workflow-details
- retrieve-workflow-emails
- retrieve-workflows
- search-crm
- update-company
- update-contact
- update-custom-object
- update-deal
- update-fields-on-the-form
- update-landing-page
- update-lead
- update-page
- common
- sources
- delete-blog-article
- new-company-property-change
- new-contact-added-to-list
- new-contact-property-change
- new-custom-object-property-change
- new-deal-in-stage
- new-deal-property-change
- new-email-event
- new-email-subscriptions-timeline
- new-engagement
- new-event
- new-form-submission
- new-note
- new-or-updated-blog-article
- new-or-updated-company
- new-or-updated-contact
- new-or-updated-crm-object
- new-or-updated-custom-object
- new-or-updated-deal
- new-or-updated-line-item
- new-or-updated-product
- new-social-media-message
- new-task
- new-ticket-property-change
- new-ticket
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 changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments