Workflow action build fails: "Invalid objectTypes value: CONTACT" (object type names no longer accep

Title: Workflow action build fails: “Invalid objectTypes value: CONTACT” (object type names no longer accepted?)

Hi everyone,

Since recently, uploading our project fails at the build step with this error on our custom workflow action:

[ERROR][create_fynk_document_action] Invalid objectTypes value: CONTACT.
Expected {metaTypeId}-{innerId}, for example 0-1 or 1-14833567.

Setup

  • platformVersion: 2026.03
  • HubSpot CLI 8.14.0
  • Component type workflow-action, with this config:
"objectTypes": ["CONTACT", "COMPANY", "DEAL"]

What we noticed

  • This exact config built and deployed without errors from mid-July to 27 August 2026 (15 successful builds). We haven’t touched it since. The first upload after that, on 4 November, failed.
  • hs project validate still passes with the names. The rule only seems to run in the build on HubSpot’s servers.
  • The “Custom workflow actions” page in the developer docs and the official HubSpot/hubspot-project-components examples on GitHub (both 2026.03 and 2026.09-beta) still use "objectTypes": ["CONTACT"].
  • We couldn’t find a changelog entry about this.
  • Possibly related: App Events build fails for objectType “APP_OBJECT”, where object type values that the docs list as valid are also rejected by the build.

Switching to the IDs (0-1, 0-2, 0-3) gets the build through again.

Questions

  1. Is the switch to object type IDs in objectTypes an intended change, and does it apply to all platform versions?
  2. If it is intended, will the docs and example templates be updated, and will hs project validate check it locally?
  3. Does this change anything at runtime? Specifically, will the execution payload sent to actionUrl still contain objectType: "CONTACT", or will it now contain the ID?
  4. Can objectTypes on an already-deployed workflow action be changed from names to IDs without changing its uid? Existing customer workflows use the action.

Thanks!

Hey @pnardmann, I hit the same thing, and switching to the IDs is the fix i’d go with. The server-side build now checks objectTypes against the {metaTypeId}-{innerId} format, even though the docs, the templates and hs project validate haven’t caught up yet. So i’d treat IDs as the way forward rather than a temporary workaround. Use “objectTypes”: [“0-1”, “0-2”, “0-3”] for contacts, companies and deals. They point to the same objects, so the action shows up in workflows the same way as before.

At runtime nothing should break for you. The 2026.03 reference still documents the execution payload to actionUrl with “objectType”: “CONTACT”, and only the options-fetch call uses objectTypeId (“0-1”). To be safe, I’d have the handler accept both the name and the ID, so it keeps working whichever one comes through after future platform updates.

For the deployed action, keep the same uid and only change objectTypes. Upload that to a test or sandbox account first and run an existing workflow through it before pushing to production. If the upload rejects the change there, you’ll know before any customer workflows are affected. If you’re planning to move to 2026.09 (now GA) soon, do the ID change and the version bump in the same release so you only test once.

Hope it helps!