Skip to content

内置方法和变量#

¥Built-in methods and variables

n8n 提供用于处理数据和访问 n8n 数据的内置方法和变量。本节提供了 expressions 中可用方法和变量的参考,并附有简要说明。

¥n8n provides built-in methods and variables for working with data and accessing n8n data. This section provides a reference of available methods and variables for use in expressions, with a short description.

Availability in the expressions editor and the Code node

某些方法和变量在代码节点中不可用。这些内容未包含在文档中。

¥Some methods and variables aren't available in the Code node. These aren't in the documentation.

所有数据转换函数仅在表达式编辑器中可用。

¥All data transformation functions are only available in the expressions editor.

手册 包含一些常见任务的示例,包括一些 仅限 CodeNode 函数。

¥The Cookbook contains examples for some common tasks, including some Code node only functions.