Workflows
Use this capability family for HubSpot workflows, Agent Hub workflows, workflow folders, enrollment, actions, and enabled state.
At A Glance
Section titled “At A Glance”| Supported actions | Bridge or hybrid actions | Access used |
|---|---|---|
| 12 | 8 | automation, crm.objects.custom.read |
Common Requests
Section titled “Common Requests”- Create a disabled workflow draft for follow-up tasks after a form submission.
- Update enrollment criteria or workflow actions after confirming the target workflow.
- Move workflows into a folder for organization.
- Build an Agent Hub workflow that finds a record and runs an AI step, saved as a draft for review.
Review Checklist
Section titled “Review Checklist”- Confirm the target portal is correct.
- Check the operation names, target assets, and required access.
- Resolve missing-permission warnings before execution.
- Review operation results after execution.
- Keep new or changed workflows disabled until triggers, actions, and enrollment rules are reviewed.
- Inspect suppression lists, re-enrollment, and workflow folder changes before activation.
- Agent Hub workflows publish only when the plan asks; check their triggers, steps and any AI credit use first.
Supported Actions
Section titled “Supported Actions”| Action ID | What it does | Execution | Required access | Main details |
|---|---|---|---|---|
create_agent_workflow | Create an Agent Hub workflow (draft or published). | Requires the Daeda Bridge extension | No additional connected-portal scope | name, triggers, actions |
create_workflow | Create a HubSpot workflow with actions and enrollment criteria. | Does not require the bridge extension | automation | name, workflow type, object type ID, actions |
create_workflow_folder | Create a workflow folder. | Requires the Daeda Bridge extension | No additional connected-portal scope | name |
delete_agent_workflow | Delete an Agent Hub workflow. | Requires the Daeda Bridge extension | No additional connected-portal scope | workflow ID |
delete_workflow | Delete a HubSpot workflow (irreversible). | Does not require the bridge extension | automation | workflow ID |
delete_workflow_folder | Delete a workflow folder. | Requires the Daeda Bridge extension | No additional connected-portal scope | folder ID |
move_workflows_to_folder | Move workflows to a folder. | Requires the Daeda Bridge extension | No additional connected-portal scope | workflow IDs |
set_agent_workflow_enabled | Turn an Agent Hub workflow on (publish) or off (unpublish). | Requires the Daeda Bridge extension | No additional connected-portal scope | workflow ID, enabled |
set_workflow_enabled | Enable or disable a HubSpot workflow. | Does not require the bridge extension | automation | workflow ID, enabled |
update_agent_workflow | Update an Agent Hub workflow and optionally publish it. | Requires the Daeda Bridge extension | No additional connected-portal scope | workflow ID |
update_workflow | Update an existing HubSpot workflow (name, actions, enrollment criteria). | Does not require the bridge extension | automation, crm.objects.custom.read | workflow ID |
update_workflow_folder | Update a workflow folder. | Requires the Daeda Bridge extension | No additional connected-portal scope | folder ID, name |
Action Details
Section titled “Action Details”Create an Agent Hub workflow (draft or published)
Section titled “Create an Agent Hub workflow (draft or published)”Create an Agent Hub workflow (draft or published). The draft records name, triggers, actions for review.
- Action ID:
create_agent_workflow - Change type: Create
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: name, triggers, actions
- Planning notes:
- Agent Hub workflows (object type 0-0) are built in HubSpot’s Agent Hub editor and can run without an enrolled record. Use these operations for them; create_workflow, update_workflow, set_workflow_enabled and delete_workflow can’t change them.
- Read existing Agent Hub workflows, drafts included, from agent_workflows; triggers_json and actions_json are in the same format these operations take.
- Manual and scheduled triggers have no enrolled record, so {{ enrolled_object.* }} is empty; use Find steps and their action outputs instead.
Create a HubSpot workflow with actions and enrollment criteria
Section titled “Create a HubSpot workflow with actions and enrollment criteria”Create a HubSpot workflow with actions and enrollment criteria. The draft records name, workflow type, object type ID, actions for review.
- Action ID:
create_workflow - Change type: Create
- Execution: Does not require the bridge extension
- Required access: automation
- Main details reviewed in the plan: name, workflow type, object type ID, actions
- Planning notes:
- Prefer enrollment_trigger for supported EVENT_TRIGGER_SHORTCUT rows, especially property-change events, instead of hand-authoring raw UNIFIED_EVENTS branches.
- Keep LIST_BRANCH branchName and defaultBranchName labels to 50 characters or fewer; HubSpot returns HTTP 500 instead of a validation error for longer labels.
- Resolve every template, sequence, survey, inbox, list, user and webhook URL from portal data; do not invent IDs or placeholders. If a requested asset or trigger refinement cannot be resolved, keep the workflow disabled and tell the user what to configure, rather than silently using a broader trigger or a weaker action.
- Static-list add and remove actions only change the enrolled record’s membership. To update an associated record, use a 0-5 set-property action with a resolved forward association rather than associated_object tokens.
Create a workflow folder
Section titled “Create a workflow folder”Create a workflow folder. The draft records name for review.
- Action ID:
create_workflow_folder - Change type: Create
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: name
Delete an Agent Hub workflow
Section titled “Delete an Agent Hub workflow”Delete an Agent Hub workflow. The draft records workflow ID for review.
- Action ID:
delete_agent_workflow - Change type: Delete
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: workflow ID
- Planning notes:
- Agent Hub workflows (object type 0-0) are built in HubSpot’s Agent Hub editor and can run without an enrolled record. Use these operations for them; create_workflow, update_workflow, set_workflow_enabled and delete_workflow can’t change them.
- Read existing Agent Hub workflows, drafts included, from agent_workflows; triggers_json and actions_json are in the same format these operations take.
- Manual and scheduled triggers have no enrolled record, so {{ enrolled_object.* }} is empty; use Find steps and their action outputs instead.
Delete a HubSpot workflow (irreversible)
Section titled “Delete a HubSpot workflow (irreversible)”Delete a HubSpot workflow (irreversible). The draft records workflow ID for review.
- Action ID:
delete_workflow - Change type: Delete
- Execution: Does not require the bridge extension
- Required access: automation
- Main details reviewed in the plan: workflow ID
Delete a workflow folder
Section titled “Delete a workflow folder”Delete a workflow folder. The draft records folder ID for review.
- Action ID:
delete_workflow_folder - Change type: Delete
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: folder ID
Move workflows to a folder
Section titled “Move workflows to a folder”Move workflows to a folder. The draft records workflow IDs for review.
- Action ID:
move_workflows_to_folder - Change type: Update
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: workflow IDs
Turn an Agent Hub workflow on (publish) or off (unpublish)
Section titled “Turn an Agent Hub workflow on (publish) or off (unpublish)”Turn an Agent Hub workflow on (publish) or off (unpublish). The draft records workflow ID, enabled for review.
- Action ID:
set_agent_workflow_enabled - Change type: Update
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: workflow ID, enabled
- Planning notes:
- Agent Hub workflows (object type 0-0) are built in HubSpot’s Agent Hub editor and can run without an enrolled record. Use these operations for them; create_workflow, update_workflow, set_workflow_enabled and delete_workflow can’t change them.
- Read existing Agent Hub workflows, drafts included, from agent_workflows; triggers_json and actions_json are in the same format these operations take.
- Manual and scheduled triggers have no enrolled record, so {{ enrolled_object.* }} is empty; use Find steps and their action outputs instead.
Enable or disable a HubSpot workflow
Section titled “Enable or disable a HubSpot workflow”Enable or disable a HubSpot workflow. The draft records workflow ID, enabled for review.
- Action ID:
set_workflow_enabled - Change type: Update
- Execution: Does not require the bridge extension
- Required access: automation
- Main details reviewed in the plan: workflow ID, enabled
Update an Agent Hub workflow and optionally publish it
Section titled “Update an Agent Hub workflow and optionally publish it”Update an Agent Hub workflow and optionally publish it. The draft records workflow ID for review.
- Action ID:
update_agent_workflow - Change type: Update
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: workflow ID
- Planning notes:
- Agent Hub workflows (object type 0-0) are built in HubSpot’s Agent Hub editor and can run without an enrolled record. Use these operations for them; create_workflow, update_workflow, set_workflow_enabled and delete_workflow can’t change them.
- Read existing Agent Hub workflows, drafts included, from agent_workflows; triggers_json and actions_json are in the same format these operations take.
- Manual and scheduled triggers have no enrolled record, so {{ enrolled_object.* }} is empty; use Find steps and their action outputs instead.
- HubSpot saves the whole document (last write wins), so read agent_workflows just before planning an update.
Update an existing HubSpot workflow (name, actions, enrollment criteria)
Section titled “Update an existing HubSpot workflow (name, actions, enrollment criteria)”Update an existing HubSpot workflow (name, actions, enrollment criteria). The draft records workflow ID for review.
- Action ID:
update_workflow - Change type: Update
- Execution: Does not require the bridge extension
- Required access: automation, crm.objects.custom.read
- Main details reviewed in the plan: workflow ID
- Planning notes:
- Prefer enrollment_trigger for supported EVENT_TRIGGER_SHORTCUT rows, especially property-change events, instead of hand-authoring raw UNIFIED_EVENTS branches.
- Resolve every template, sequence, survey, inbox, list, user and webhook URL from portal data; do not invent IDs or placeholders. If a requested asset or trigger refinement cannot be resolved, keep the workflow disabled and tell the user what to configure, rather than silently using a broader trigger or a weaker action.
- Static-list add and remove actions only change the enrolled record’s membership. To update an associated record, use a 0-5 set-property action with a resolved forward association rather than associated_object tokens.
- Before choosing an event trigger, check required_object_type_ids_json and required_scopes_json on workflow_enrollment_triggers. Quote, invoice and payment events need a workflow on that object, and writes to those objects need write scopes the portal may not have granted.
Update a workflow folder
Section titled “Update a workflow folder”Update a workflow folder. The draft records folder ID, name for review.
- Action ID:
update_workflow_folder - Change type: Update
- Execution: Requires the Daeda Bridge extension
- Required access: No additional connected-portal scope
- Main details reviewed in the plan: folder ID, name