> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/navigation/bot-builder/flows/beta-export-and-import-flows.md).

# \[Beta] Export and import flows

Chatlayer offers the possibility to now export and import flows across bots.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F9qowNRyP3wEjOwth6eZ1%2FScreenshot%202024-08-08%20at%2010.59.43.png?alt=media&amp;token=645dcd9c-16a5-4779-b68e-5fe03595eb4b" alt=""><figcaption></figcaption></figure>

In this example, we will import a flow from Bot A to Bot B.

## Export a flow

To export a flow:

1. Open your Bot A [canvas](/navigation/bot-builder/flows.md).
2. Find the flow that you would like to export.
3. Next to the flow's name, click on the **3 dots**.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FInOFi35fxxbiRXDT4av2%2FScreenshot%202024-08-08%20at%2010.12.07.png?alt=media&amp;token=77c45533-73d0-4481-b95d-5b1849f95f48" alt="" width="375"><figcaption><p>Export a flow from your canvas.</p></figcaption></figure>

4. Click on **Export**.
5. A modal appears. Make sure you read it before clicking on **Export**.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FZQVYoZOMyiEE0dPqv1gA%2FScreenshot%202024-08-08%20at%2010.18.58.png?alt=media&amp;token=76d013f6-116b-4812-96ce-92a8026918c9" alt="" width="375"><figcaption><p>Export a flow.</p></figcaption></figure>

{% hint style="warning" %}
Note that intents, entities and variables used in the flow will be exported as well to the new bot.
{% endhint %}

6. The export starts. You receive a green notification on the bottom-right side of your screen.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FaJ6GU1NLzFlmrJPnWocC%2FScreenshot%202024-08-08%20at%2010.20.44.png?alt=media&amp;token=89dede31-3f74-47d6-9a80-8e02dd9096a9" alt="" width="375"><figcaption><p>The flow export starts.</p></figcaption></figure>

7. When the export is ready, you will receive an email to download the flow. This will be send on the email that you use to log in on Chatlayer.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F09zKjwq17ocoLRJjHN39%2FScreenshot%202024-08-08%20at%2010.23.43.png?alt=media&amp;token=5eed0f96-754f-488b-a387-7f0ada5f447b" alt="" width="375"><figcaption><p>You receive an email to download your exported flow.</p></figcaption></figure>

8. Click on the email **Download** button to download the flow .zip file.

You now have your exported flow on your desktop.

## Import a flow

To import a flow to a bot:

1. Open Bot B's [canvas](/navigation/bot-builder/flows.md).
2. Under your **Flows**, click on the **+** button.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FzlMK93t4o97SY8I0H4W1%2FScreenshot%202024-08-08%20at%2010.26.16.png?alt=media&amp;token=e0300690-0f37-4c9b-a73d-18743914ac27" alt="" width="375"><figcaption><p>Import a flow to your bot.</p></figcaption></figure>

3. Click on **Import flow.**
4. Under **Name**, give a name to your new flow. For this example, it will be a 'KBAI flow'.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FFNWJjQJsuE1coGwBbDRi%2FScreenshot%202024-08-08%20at%2010.27.28.png?alt=media&amp;token=60f3a055-ae8f-44d5-8c8f-51824c43b3ff" alt="" width="375"><figcaption><p>Name your new flow.</p></figcaption></figure>

5. **Drag and drop** or **Choose a file** to upload your new flow from your desktop.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FPxVvC9IP0JhKbjQML66A%2FScreenshot%202024-08-08%20at%2010.28.24.png?alt=media&amp;token=bb6a3373-ce4e-4e22-88f9-c1090dfbda22" alt="" width="375"><figcaption></figcaption></figure>

6. Click on **Import**.

Your new flow is now added to your flows list!

## 💬 Feedback

The export/import of flows is a feature in Beta. Therefore, your feedback is very much appreciated! Please[ reach out](https://tickets.sinch.com/plugins/servlet/samlsso?redirectTo=%2Fservicedesk%2Fcustomer%2Fplugins%2Fservlet%2Fdesk%2Fportal%2F3) if you're having any feedback or concerns.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chatlayer.ai/navigation/bot-builder/flows/beta-export-and-import-flows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
