--- title: "自动化编辑器" slug: "overview-of-the-automations-editor" updated: 2026-10-22T11:20:40Z published: 2026-10-22T11:20:40Z canonical: "support.tulip.co/overview-of-the-automations-editor" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # 自动化编辑器 *学习如何使用 Tulip 自动化编辑器,按您的需求构建自动化流程。* ## 导航 要进入 Automations Editor,您可以在“自动化”页面上通过**“+ 创建自动化”**按钮创建新的 Automation。您还可以通过在列表中点击某项自动化,然后选择**“编辑**”按钮来编辑现有的自动化。 ## 如何使用编辑器 在页面顶部,点击***“未命名的自动化***”文本为您的自动化命名。 ![Automations Editor Annotated](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Editor%20Annotated.png) 标题下方是用于构建和编辑自动化Workflow的工作区。 工作区右侧是 Logic Editor,其显示内容会根据您在工作区中的选择而变化。若未进行任何选择,则显示该自动化流程的运行历史;若选择了 Logic Block,则显示所选 Logic Block 的详细信息。 ![Automations Create Event](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Create%20Event.png) ### 启动自动化 - 事件类型 自动化流程始于一个事件,该事件可以是表格 Field 的变更、机器输出或定时器触发。事件会触发自动化逻辑并执行 Run。创建新自动化时,有七种新事件选项: **机器活动更新**:需要选择一个特定的机器活动字段。 - 在任何机器上 - 在特定机器类型上 - 在特定机器上 **机器属性发生变化**:需要选择一个特定的机器属性。 - 在任何机器上 - 在特定机器类型上 - 针对特定机器 **“表行已添加”需要**选择一个特定的表。 **“表行已更新”需要**选择一个特定的表。* 表中的任意字段或特定字段 **“表行已删除”需要**选择一个特定表。 **基于计划或定时器**:允许您按以下时间间隔选择特定时间:* 小时* 天* 周 **检测到洞察(注:自 r317 起,该功能对新用户已弃用)** Table Record For Table Record Added or Updated, a CSV upload to a table *will not* cause an automation to fire. Machine Activity/Attribute Changed For Machine Activity/Attribute changes, any machine-based information(i.e. state) called in the automation will be based on **the time of automation execution not when the automation event kick-off occured**. 选择要自动化的事件类型后,相应的事件块会出现在工作区中,您可通过 Logic Editor 配置该事件或更改事件类型。 ![Automations Event Details1](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Event%20Details1.png) #### 事件过滤 在为表记录更新配置自动化事件时,请使用事件过滤功能,指定所选表中哪些字段需要更新才能触发自动化运行。 ![event-filtering](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/event-filtering.png) 您可以使用三种不同的逻辑块:* 事件块 - 触发自动化逻辑的运行![Automations Event Block](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Event%20Block.png) - Action Blocks — 操作数据或向用户发送警报,包括对表的读写操作、运行连接器函数等![Automations Action Block](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Action%20Block.png) - Decision Blocks - 条件逻辑,其结果始终分出两个分支——“是”和“否”![Automations Decision Block](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Decision%20Block.png) 每个逻辑块的细节和配置需求各不相同。您无需包含所有类型的逻辑块也能成功运行自动化流程。例如,自动化流程即使不触发任何操作也能运行。如果某个事件在温度超过 X 且转速(RPM)高于 Y 时发送警报,那么无论这些条件是否满足,该事件都会每 5 分钟触发一次。 ### 创建 点击流程中任意连接线上的**“+”**按钮,即可创建新的逻辑块。在此处,您可以:* 添加新的 Action Block* 添加新的 Decision Block![Automations Create New Logic Block](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Create%20New%20Logic%20Block.png) 要配置每个模块的逻辑,请单击该模块,然后在逻辑编辑器窗格中进行编辑。以下是逻辑模块的一些配置示例: #### 动作块 ![Automations Action Config Ex](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Action%20Config%20Ex.png) #### 决策块 ![Automations Decision Config Ex](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Decision%20Config%20Ex.png) 要复制或删除一个模块,请先选中该模块,然后使用逻辑编辑器右上角的图标。复制操作会自动复制相应的逻辑。 若需调整逻辑块的顺序,可点击并拖动它们至工作流中的不同位置。 ![Automations Rearranging Logic Blocks](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Rearranging%20Logic%20Blocks.gif) ### 发布 要发布自动化,请点击编辑器屏幕右上角的**“发布”**按钮。只有有效的自动化才能发布。 如果自动化满足以下条件,发布按钮将处于禁用状态:* 未包含至少 2 个模块(事件模块加一个操作或决策模块)* 所有模块均已正确配置。未完全配置的模块会显示警告图标。![Automations Logic Block Error](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Logic%20Block%20Error.png) 点击**“发布”**按钮后,将弹出一个模态窗口,您可以在其中:* 切换自动化流程的激活状态。默认设置为“激活”。* 点击“取消”返回编辑器* 发布自动化流程![Automations Publish Modal](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Automations%20Publish%20Modal.png) ### 测试 用户可以在发布自动化之前对其进行测试。与发布操作类似,只有有效的自动化才能进行测试。如果出现以下情况,测试按钮将被禁用:* 未包含至少 2 个模块(事件模块加一个操作或决策模块)* 所有模块均已配置正确。未完全配置的模块会显示警告图标。 您可以选择连接器应运行的环境(生产、测试、开发)。![r280 Test Automation Modal](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/r280%20Test%20Automation%20Modal.png) ### 查看/编辑 发布自动化后,您可以编辑其所有方面,包括名称、事件模块以及任何现有的操作或决策模块。您所做的任何编辑都会生成一个新[版本](/r230/docs/how-to-use-automations-versions)。您还可以添加、删除或复制模块,并修改其配置。 ## 进一步阅读 - [自动化概述](/r230/docs/getting-started-with-automations) - [如何使用自动化运行历史记录](/r230/docs/how-to-use-automations-run-history) - [如何使用自动化流程版本](/r230/docs/how-to-use-automations-versions) **Automations Editor** Visual editor for managing and creating **automations** within the Tulip platform. ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Glossary/Automations%20Editor.png) **Automation** **Workflow** that performs tasks in the background, without an interface. Automations run logic every time an **event** occurs. ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Glossary/Automations1.gif) **Workflow** General term to describe a series of logic in Tulip including **apps** or **automations**. **Logic Editor** A type of visual editor used for **Automations** and **Functions**, where you can create and manage logic. ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Glossary/Automations%20Logic%20Editor.gif) **Logic Block** *Event* or *call*, *action*, *decision,* or *loop* in an **Automation** or **Function**. **Table Record Field** **Table Record Fields** are single columns within a **Tulip Table.** ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Table%20Record%20Field(1).gif) **Run** Occurs each time an event is invoked in an **automation** or **function**. **Action Block** Type of **logic block** that manipulates data or alerts users. **Decision Block** Type of **logic block** that holds conditional logic. This logic block always has 2 branches coming out of it labeled “yes” and “no”.