搭建
在 Duaer 里用 Notion 创建页面
在 Duaer 里,Notion 默认 Authentication 是 API Key,Resource 是 Page,Operation 是 Create。Content Type 默认 Block Builder。需要 notionApi 凭据。
在父页面下新建一页
- 先建好 notionApi 凭据(或按面板改用 OAuth2 / notionOAuth2Api)。在 Notion 里把该连接加到要访问的页面。
- 搜索 Notion,接到上一个节点后面,选上凭据。
- Resource 保持 Page,Operation 保持 Create。
- 选 Parent Page,填 Title。Content Type 可保持 Block Builder,或改成 Markdown 再填正文。
- 点执行此步骤。
同一 Resource 下还有 Archive、Get Markdown、Search、Update Markdown。也有 Database Page、Database、Block 等 Resource。
表格型数据见 在 Duaer 里用 Airtable 创建记录、在 Duaer 里用 Google Sheets 读行。
常见问题
Duaer 的 Notion 凭据建好了却读不到页面?
还要在 Notion 里把该连接加到具体页面或数据库,否则 API 看不到内容。
同组
节点
在 Duaer 里用 Airtable 创建记录
在 Duaer 里,Airtable 默认 Authentication 是 Token,Resource 是 Record;Operation 默认是 Get。创建时改成 Create,再选 Base、Table,在 Columns 里映射字段。需要 airtableTokenApi 凭据。
节点在 Duaer 里用 Google Sheets 读行
在 Duaer 里,Google Sheets 默认 Authentication 是 OAuth2,Resource 是 Sheet,Operation 是 Get Row(s)。需要 googleSheetsOAuth2Api 凭据。
节点在 Duaer 里用 HTTP Request 调接口
在 Duaer 里,HTTP Request 按你填的方法和地址发请求。账号放在凭证里,不写进节点参数。