Hi @MikaelSantilio , your intuition is right, and your confusion is shared by many devs who hit this for the first time.Today, objectTypes in a Custom Workflow Action schema is not a UI-level restriction. It does not prevent the action from appearing in other workflow types, and it does not block users from opening the configuration screen in, say, Contact workflows. What you’re seeing is expected behavior, not a misconfiguration on your side.
The intended purpose of objectTypes is primarily context definition and backend validation, not editor filtering. It tells HubSpot what object context the action expects at execution time. When the workflow actually runs, HubSpot uses this metadata to validate inputs, map object properties correctly, and decide whether the action can execute for the enrolled record. The workflow editor UI does not currently enforce or hide actions based on objectTypes.
In other words:
objectTypes does not control where the action is visible.
It does describe what object types the action is compatible with when executed.
If the workflow runs on an incompatible object, you’ll typically see execution errors or skipped actions rather than the action being blocked upfront.
This is a known limitation of the editor, not a bug in your app. HubSpot has been gradually improving custom action ergonomics, but as of now, there’s no supported way to truly scope visibility of a custom action to only Ticket workflows. Defensive validation inside your action code is still required.
The closest official reference is the Custom Workflow Actions schema documentation, which describes objectTypes but does not promise UI enforcement: https://developers.hubspot.com/docs/api/automation/custom-workflow-actions
You’re reasoning about it correctly. The platform just doesn’t enforce that contract visually yet.
