Skip to content

工作流设置#

¥Workflow settings

你可以使用工作流设置自定义各个工作流的工作流行为。

¥You can customize workflow behavior for individual workflows using workflow settings.

访问工作流设置#

¥Access workflow settings

打开设置:

¥To open the settings:

  1. 打开工作流。

¥Open your workflow. 2. 选择右上角的三个点图标 three dots icon

¥Select the three dots icon {.off-glb} in the upper-right corner. 3. 选择“设置”。n8n 打开“工作流设置”模态框。

¥Select Settings. n8n opens the Workflow settings modal.

可用设置#

¥Available settings

以下设置可用:

¥The following settings are available:

执行顺序#

¥Execution order

选择多分支工作流的执行顺序:

¥Choose the execution order for multi-branch workflows:

v1(推荐)依次执行每个分支,完成一个分支后再开始另一个分支。n8n 根据分支在 canvas 上的位置,从上到下对分支进行排序。如果两个分支处于同一高度,则最左侧的分支先执行。

¥v1 (recommended) executes each branch in turn, completing one branch before starting another. n8n orders the branches based on their position on the canvas, from topmost to bottommost. If two branches are at the same height, the leftmost branch executes first.

v0(旧版)执行每个分支的第一个节点,然后执行每个分支的第二个节点,依此类推。

¥v0 (legacy) executes the first node of each branch, then the second node of each branch, and so on.

错误工作流(用于在发生此错误时发出通知)#

¥Error Workflow (to notify when this one errors)

选择当前工作流失败时要触发的工作流。详细信息请参见 错误工作流

¥Select a workflow to trigger if the current workflow fails. See error workflows for more details.

此工作流可通过以下方式调用:#

¥This workflow can be called by

选择哪些其他工作流可以调用此工作流。

¥Choose which other workflows can call this workflow.

时区#

¥Timezone

设置此工作流的时区。时区设置对于“计划触发器”节点至关重要。

¥Sets the timezone for this workflow. The timezone setting is important for the Schedule Trigger node.

你可以设置 n8n 实例的时区,以配置工作流使用的默认时区:

¥You can set your n8n instance's timezone to configure the default timezone workflows use:

¥Set a n8n Cloud instance timezone

¥Configure the timezone for self-hosted instances

如果你未配置工作流或实例时区,n8n 默认使用 EDT(纽约)时区。

¥If you don't configure the workflow or instance timezone, n8n defaults to the EDT (New York) timezone.

保存失败的生产执行#

¥Save failed production executions

n8n 是否应保存活动工作流的失败执行情况。

¥Whether n8n should save failed executions for active workflows.

保存成功的生产执行#

¥Save successful production executions

n8n 是否应保存活动工作流的成功执行记录。

¥Whether n8n should save successful executions for active workflows.

保存手动执行#

¥Save manual executions

n8n 是否应保存用户在编辑器中启动的工作流的执行情况。

¥Whether n8n should save executions for workflows started by the user in the editor.

保存执行进度#

¥Save execution progress

n8n 是否应保存每个节点的执行数据。

¥Whether n8n should save execution data for each node.

如果设置为“保存”,则在发生错误时,工作流将从停止的位置恢复。这可能会增加延迟。

¥If set to Save, the workflow resumes from where it stopped in case of an error. This may increase latency.

超时工作流程#

¥Timeout Workflow

n8n 是否应在经过一定时间后取消当前工作流的执行。

¥Whether n8n should cancel the current workflow execution after a certain amount of time elapses.

启用后,将显示“超时时间”选项。在这里,你可以设置工作流超时的时间(以小时、分钟和秒为单位)。对于 n8n 云用户,n8n 会为每个方案强制执行最大可用超时时间。

¥When enabled, the Timeout After option appears. Here, you can set the time (in hours, minutes, and seconds) after which the workflow should timeout. For n8n Cloud users, n8n enforces a maximum available timeout for each plan.

预计节省时间#

¥Estimated time saved

此工作流每次执行可节省的分钟数估算。

¥An estimate of the number of minutes each of execution of this workflow saves you.

设置此项可以让 n8n 计算 insights 节省的时间。

¥Setting this lets n8n calculate the amount of time saved for insights.