数据#
¥Data
数据是 n8n 节点接收和处理的信息。对于 n8n 的基本用法,你无需了解数据结构和操作。但是,如果你想要:
¥Data is the information that n8n nodes receive and process. For basic usage of n8n you don't need to understand data structures and manipulation. However, it becomes important if you want to:
- 创建你自己的节点
¥Create your own node
- 编写自定义 expressions
¥Write custom expressions
- 使用“函数”或“函数项”节点
¥Use the Function or Function Item node
本节涵盖:
¥This section covers:
¥Pinning and editing data during workflow development.
¥Data mapping and Item linking: how data items link to each other.
相关资源#
¥Related resources
数据转换节点#
¥Data transformation nodes
n8n 提供了一系列用于转换数据的节点:
¥n8n provides a collection of nodes to transform data:
- 聚合:将单独的项目或其部分组合成单独的项目。
¥Aggregate: take separate items, or portions of them, and group them together into individual items.
- 限制:删除超出定义最大数量的项目。
¥Limit: remove items beyond a defined maximum number.
- 删除重复项:识别并删除所有字段或部分字段完全相同的项。
¥Remove Duplicates: identify and delete items that are identical across all fields or a subset of fields.
- 排序:按所需顺序整理列表,或生成随机选择。
¥Sort: organize lists of in a desired ordering, or generate a random selection.
- 拆分:将包含列表的单个数据项拆分为多个数据项。
¥Split Out: separate a single data item containing a list into multiple items.
- 摘要:以类似于 Excel 数据透视表的方式将项目聚合在一起。
¥Summarize: aggregate items together, in a manner similar to Excel pivot tables.