Skip to content

内置方法和变量(Built-in methods and variables)#

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

🌐 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.

Cookbook 包含了一些常见任务的示例,包括一些仅限 Code 节点 的函数。

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