# Create a Flow

## Step 1: Create a Chatbot Flow

Path: Click on the created Chatbot, then click on "Create a flow"

1. Add a trigger (keyword trigger setup): As soon as the user's message triggers this keyword, the subsequent automatic Chatbot reply will be initiated.

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

2. Set keywords and trigger rules: This includes "Exact matching of keywords to trigger Chatbot" (Exact matching) and "Trigger Chatbot if any part of the keyword is included" (Containing) rules.

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

* Ask a question: After the user triggers this Chatbot, you can set the questions you want to ask the user in this section, along with setting reply buttons.
* Send message: When the user clicks the button, the Chatbot will automatically reply with the preset answer.

**Final Effect:**

<figure><img src="/files/LFhdMRi8E0hm4Nrq9GKb" alt=""><figcaption><p>One-on-one pre-sales Chatbot flow</p></figcaption></figure>

## Copy a flow

For the Chatbot flow copy function, expand more on the right side of the flow you want to copy and select the \[Copy] button

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

In the pop - up window, specify the Chatbot to which you want to copy the flow, and click the OK button to complete the copy

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

## Watching the tutorial video👇

{% embed url="<https://youtu.be/2MHBoBsNuAg>" %}


---

# 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/chatbot/create-a-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.
