--- title: "Slack Connector Automation" slug: "slack-connector-automation" updated: 2024-01-05T17:23:49Z published: 2024-01-05T17:23:49Z canonical: "support.tulip.co/slack-connector-automation" --- > ## 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. # Slack 连接器自动化 在本例中,我们要监控一个表,并在表中添加新记录时通过 Slack 获得通知。 --- ## 场景 您是一家生产工厂的精益经理,您的职责之一是评估即将发布的 5WHY 报告。由于您不想每隔一小时就手动检查是否有新报告记录,因此需要一个 Automation 来提醒您。公司使用 Slack 作为标准的消息传递软件,因此您希望自动化程序能在 Slack 中向您发送更新。 ### 使用案例 与其自己手动配置连接器,不如选择 Slack[快速连接器](/r230/docs/how-to-set-up-quick-connectors)或[从郁金香库下载 Slack 连接器](https://tulip.co/library/connectors/slack-connector/)。设置好连接器并创建一个用于发送消息的连接器函数后,创建一个自动化,当表中创建新记录时触发。 ## 配置自动化 ### 设置 Slack 连接器 将连接器导入实例后,需要在线配置连接器。这需要以下步骤: 1. 按照[本文](https://support.tulip.co/docs/how-to-integrate-tulip-with-slack)集成 Slack API。 2. 使用以下字段配置 Slack 连接器,然后单击**测试**:![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28255%29.png) Running on:**云连接器主机 Host**:**hooks.slack.com**Port:**443**TLS :**Yes** 1. 使用 POST 方法**创建连接器函数**。 2. 像这样配置发送信息 {{术语表.输入}}: ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28258%29.png) 使用 POST 方法,复制步骤 1 中设置的网络钩子的 URL。 键入一条测试消息,然后单击 "**运行**"查看配置是否成功。 接下来,创建运行刚刚设置的 Slack 连接器功能的自动化。 ### 创建自动化流程 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28253%29.png) 按照以下步骤复制上述自动化流程: 1. 通过**自动化**页面**创建新自动化**。 2. 为事件块选择 "**已添加表记录**",然后为目标表(如 5WHY 报告表)配置该块。 3. 创建**发送消息**的 Action Block 并选择创建的 Slack 连接器功能。 4. 自定义 Slack 文本消息。 就是这样!通过这几个步骤,我们就能实现全天候自动化,在创建新的 5WHY 报告时通过 Slack 向您发出警报。 ## 更多阅读 - [自动化入门](/r230/docs/getting-started-with-automations) - [自动化编辑器概述](/r230/docs/overview-of-the-automations-editor) 查看[资料库中的](/r230/docs/automations-1)其他[自动化解决方案](/r230/docs/automations-1)! **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) **Action Block** Type of **logic block** that manipulates data or alerts users.