构建工作流
Prevnodedata
name
Description: The name of the node that the current input came from.
Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
Syntax: name
Returns: String
Source: Custom n8n functionality
outputIndex
Description: The index of the output connector that the current input came from. Use this when the previous node had multiple outputs (such as an ‘If’ or ‘Switch’ node).
Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
Syntax: outputIndex
Returns: Number
Source: Custom n8n functionality
runIndex
Description: The run of the previous node that generated the current input.
Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
Syntax: runIndex
Returns: Number
Source: Custom n8n functionality
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。