PrevNodeData#
name#
描述: 当前输入来源节点的名称。
如果有多个输入(例如在“合并”节点中),始终使用当前节点的第一个输入连接器。
🌐 Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
语法: name
返回值: 字符串
来源: 自定义 n8n 功能
outputIndex#
描述: 当前输入来自的输出连接器的索引。当前一个节点有多个输出时使用(例如 ‘If’ 或 ‘Switch’ 节点)。
如果有多个输入(例如在“合并”节点中),始终使用当前节点的第一个输入连接器。
🌐 Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
语法: outputIndex
返回值: 数字
来源: 自定义 n8n 功能
runIndex#
描述: 生成当前输入的前一个节点的运行情况。
如果有多个输入(例如在“合并”节点中),始终使用当前节点的第一个输入连接器。
🌐 Always uses the current node’s first input connector if there is more than one (e.g. in the ‘Merge’ node).
语法: runIndex
返回值: 数字
来源: 自定义 n8n 功能