Duaer

集成

Duaer 里 Notion 的常见问题

Duaer 里 Notion 节点的常见问题:关联属性不显示、可折叠标题、空值校验失败。

关联属性不显示

Notion 节点只显示双向关联。在 Notion 里编辑关联属性,打开 Show on <关联数据库>。单向关联用 HTTP Request 带同一个 Notion 凭证,向 https://api.notion.com/v1/pages/<page_id> 发 PATCH 更新。

创建可折叠标题

Notion 节点能加 Heading 1–3,但不能直接设为可折叠。先用 Notion 节点加标题,再用 HTTP Request(Predefined Credential Type 选 Notion 凭证)向 https://api.notion.com/v1/blocks/<block_id> 发 PATCH,Body 为 {"heading_1": {"is_toggleable": true}},按标题级别替换 heading_1。

空值导致校验失败

字段从前面节点取值、而那一条没有数据时,Notion 会拒绝空值或 null。先用 If 判断,再用 Edit Fields (Set) 去掉空字段,或在表达式里给默认值。

常见问题

Duaer 的 Notion 节点为什么看不到关联属性?

Duaer 的 Notion 节点只显示双向关联。在 Notion 里给关联属性打开 Show on <关联数据库>。

同组