# 创建一个Flow

## 步骤1: 创建Chatbot Flow

路径：点击创建好的Chatbot，点击Create a flow

1. Add a trigger（关键词触发设置）：用户只要发送的消息触发了该关键字，那么后续的Chatbot自动回复即可触发进行

<figure><img src="/files/cjIal04B2WbD7hfVFp8B" alt=""><figcaption></figcaption></figure>

2. 设置关键词以及触发规则：分别包含 “关键词完全比配才能出触发Chatbot”(Exact matching) 以及 “包含部分关键词即可触发Chatbot”(Containing) 两种规则

<figure><img src="/files/NoHSsLuiZEx3i0kl5z4D" alt=""><figcaption></figcaption></figure>

* Ask a question: 当用户触发了这个Chatbot之后，您可以在这个板块设置您想问用户的问题，并且设置回复按钮
* Send message: 当用户点击button，Chatbot就会自动回复已经预设好的回答

**最终效果：**

<figure><img src="/files/O3i0fapqfbftE8vULrPM" alt=""><figcaption><p>一对一售前销售的Chatbot flow</p></figcaption></figure>

## 步骤2: 激活Flow

在Status中点击"Inactive"按钮进行激活使Flow生效

<figure><img src="/files/IvhvZdFI6DmiI24cnHoz" alt=""><figcaption></figcaption></figure>

## 复制Flow

Chatbot flow 复制功能，在您想要复制的 flow 右侧展开更多，选择【复制】按钮

<figure><img src="/files/WtOuOX9iAScjiPDt9gaN" alt=""><figcaption></figcaption></figure>

在出现的弹窗内指定需要将 flow 复制到哪个 Chatbot，点击确定按钮完成复制

<figure><img src="/files/12237tOPxOg80NMHzKgU" alt=""><figcaption></figcaption></figure>

## 观看教程演示视频👇

{% embed url="<https://www.bilibili.com/video/BV1ox8jzeETs/?spm_id_from=333.1387.homepage.video_card.click>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocs.ycloud.com/help-center/zh/chatbot/chuang-jian-yi-ge-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
