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

Last updated

Was this helpful?