Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Docs: Flows v4 API — same actionTypeId / type / enum-operator gotchas as nodejs SDK

未关闭
#498 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
api, documentation

调研方向

先从 Python SDK 对 POST /automation/v4/flows 的处理方式及文档入手,然后将其与链接的复现以及列出的四个易错点进行比较。当 SDK 文档或错误消息能够清楚涵盖 actionTypeId 值、所需的匹配 type、ENUM 运算符语法以及非嵌套的事件过滤器分支时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

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 type field is required and must match objectTypeId (CONTACT_FLOW for 0-1, PLATFORM_FLOW for 0-3).
  • ENUM properties reject IS_NOT_EQUAL_TO; use IS_NONE_OF with a single-element values array.
  • 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.

主要语言
Python
星标
436
派生
128
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

HubSpot/hubspot-api-python 的其他 Issue

查看 HubSpot/hubspot-api-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。