# Import/Export

In this context, Import / Export refers to:

* Exporting reusable assets (flows, integrations, MCP servers, auth blocks) from one file or module
* Importing those assets into another file or project
* Treating YAML config as modular, composable building blocks

YFlow files can be imported into Customer v2 and exported for external editing or version control.

#### Import Flow

An Import Flow allows one flow to reuse, include, or invoke another flow that is defined elsewhere (often in another file or module).

Import Flow = reuse an entire conversation flow as a building block

Instead of duplicating logic, you:

* Define a flow once
* Import it
* Invoke it where needed

```
    POST /api/flows/import    
    {    
      "yflow": "<yflow content>"    
    }    
```

#### Export Flow

An Export Flow is a flow that is explicitly made available for reuse outside the file or module in which it is defined.

Export Flow = publish a conversation flow as a reusable public capability

Only exported flows can be:

* Imported into other files
* Referenced by other teams
* Used as shared building blocks

```
GET /api/flows/{id}/export?format=yflow    
```


---

# 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://docs.ixhello.com/ixhc2/technical-specifications/yflow-a-yaml-based-conversational-flow-language/import-export.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.
