词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
💡 如果你完全不想写代码,n8n Cloud 提供 AI Code 功能:用自然语言描述需求,由 AI 生成可运行的 Code 节点。
| 参数 | 说明 |
|---|---|
| Mode | 运行模式:Run Once for All Items / Run Once for Each Item |
| Language | 脚本语言:JavaScript 或 Python(JS 更稳定、生态更全) |
| Code | 实际执行的脚本内容,支持引用上游数据(需手写表达式) |
Aggregate 的 data(文章数组)拼接为一段带序号的整文:提示: $node["节点名"].json[...]、$json[...]等可读取上游数据;Code 节点里可以直接从 INPUT 面板拖拽,无需“手写变量表达式”。
Read File(s) From Disk / Write File to Disk 节点HTTP Request 节点| 参数 | 说明 |
|---|---|
| Method | 请求方法:GET / POST / PUT / DELETE / HEAD / OPTIONS / PATCH |
| URL | 请求地址,支持表达式注入上游变量 |
| Authentication | 鉴权:None / Predefined Credential Type / Generic Credential Type |
| Send Query Parameters | 查询参数(key-value) |
| Send Headers | 请求头(Content-Type、Authorization 等) |
| Send Body | 请求体(Raw / JSON / Form 等) |
| Options | 进阶设置(如 Batching、超时、重试等) |
小贴士:不熟悉 API 细节时,先用 Postman / RapidAPI 调试,确认无误后通过“Import cURL”粘贴到 HTTP Request 节点。



https://api.notion.com/v1/blocks/{{ $('Notion').item.json.id }}/children{{ $('Notion').item.json.id }} 引用上游 Notion 节点返回的页面/块 IDchildren{{ $json.data }}(即上游传来的完整块结构 JSON){
"title": "{{ $json.title }}",
"content": {{ $json.content }}
}{{ $json.error }}