hubspot_workflows_update
Replace an existing HubSpot automation workflow entirely. Use after fetching current state to avoid resetting fields to defaults.
Instructions
[BETA] Fully replace an existing automation workflow (flow) in HubSpot Automation v4 API. This is a PUT operation — it replaces the entire flow definition. Fields not included in the request body will be reset to their defaults. To fetch the current state before updating, use hubspot_workflows_get first. Requires the "automation" OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the workflow. | |
| type | No | CRM object type this flow operates on (CONTACT_FLOW, DEAL_FLOW, etc.). | |
| flowId | Yes | The v4 flow ID of the flow to update. | |
| actions | No | Complete action list for the flow. | |
| flowType | No | Architectural type (WORKFLOW, ACTION_SET, UNKNOWN). | |
| isEnabled | No | Whether the flow is active. | |
| objectTypeId | No | HubSpot internal object type ID string. | |
| enrollmentCriteria | No | Enrollment trigger criteria using recursive OR/AND filter branch trees. See HubSpot Automation v4 BETA documentation. |