Docs: Flows v4 API — same actionTypeId / type / enum-operator gotchas as nodejs SDK
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- api, documentation
Research direction
Start with the Python SDK's handling and documentation for POST /automation/v4/flows, then compare it with the linked reproductions and the four listed gotchas. Done means the SDK documentation or error messages clearly cover actionTypeId values, the required matching type, ENUM operator syntax, and non-nested event filter branches.
Written by the indexing model from the issue text.
Description
Cross-post of https://github.com/HubSpot/hubspot-api-nodejs/issues/695 — the same four Flows v4 errors surface when scripting workflows from this Python SDK, and the error messages mislead in the same way. Reproducible payloads and fixes: https://www.elemra.com/learn/hubspot-flows-v4-api-errors
Summary of what to know before hitting POST /automation/v4/flows:
- Legacy
actionTypeId: "0-13"returns HTTP 500. Use"0-63809083"(add) /"0-63863438"(remove). - Top-level
typefield is required and must matchobjectTypeId(CONTACT_FLOWfor0-1,PLATFORM_FLOWfor0-3). - ENUM properties reject
IS_NOT_EQUAL_TO; useIS_NONE_OFwith a single-elementvaluesarray. - Unified-events filter branches cannot nest — promote to top-level
eventFilterBranches[]entries.
Same offer as on the nodejs issue: happy to open a PR against the SDK's error messages or docs if useful.
- Dominant language
- Python
- Stars
- 434
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HubSpot/hubspot-api-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
HubSpot/hubspot-api-python#497 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
HubSpot/hubspot-api-python#496 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HubSpot/hubspot-api-python#495 · 1 comment · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
HubSpot/hubspot-api-python#494 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
HubSpot/hubspot-api-python#460 · 5 comments · 16 reactions ·
All issues in HubSpot/hubspot-api-python
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100