How-to: Export and import flows
This guide explains how to export a flow as a JSON file, import it into another workspace, and choose how to resolve conflicts with entities that already exist there.
Prerequisites
Section titled “Prerequisites”- Permission to view and create flows in both workspaces.
Export a flow
Section titled “Export a flow”-
Open the flow, click the gear icon next to its title to open Flow settings, and click Export at the bottom of it.


-
Decide whether to enable Include dependencies. When enabled, the export bundles everything the flow references (API schemas, stores, webhooks, and so on) so the flow works after import without manual re-linking. It is off by default. A table that a query or a prompt names by its table name, such as
table_store_d85k0rv160khb1q83lc0, counts as referenced, and the import points that name at the table it creates. -
Decide whether to enable Include table rows. When enabled, each table in the export carries its first 100 rows, so the import starts with sample data to run against. It is off by default, because the rows are your workspace’s data and the file may travel further than you intend. Rows are written only into a table the import creates: a table it skips to or replaces keeps the rows it has.
-
Click Submit to download the JSON file.
To export several flows at once, select them in the flows list and use the bulk Export action. The selected flows download as a single package that imports in one step.


Import a flow
Section titled “Import a flow”-
Open the flows list and click Import.


-
Upload the JSON export file. Publicus analyzes it immediately and shows any errors before you commit to the import, and any warnings about what the export could not carry, such as a secret’s value.
-
If nothing in the file collides with existing entities, submit the form. The flow and its bundled dependencies are created.
Resolve conflicts
Section titled “Resolve conflicts”If the analysis finds entities whose names already exist in the target workspace, a Conflicts detected section appears with a Resolution strategy select. The chosen strategy applies to every colliding entity in the import:
| Strategy | Effect |
|---|---|
| Skip | Keep the existing entity and import nothing for the colliding one. Imported items that reference it are wired to the existing entity. |
| Rename (default) | Import the colliding entity as a new copy with a unique name, e.g. My Flow (imported). Existing data is never touched. |
| Replace | Overwrite the existing entity in place with the imported version. |
Rename is the safest choice: it imports everything and never modifies or discards existing data.


Verify the import
Section titled “Verify the import”- The imported flow appears in the flows list (with an (imported) suffix if it was renamed).
- Open the flow and check that its nodes point at the intended stores, schemas, and webhooks.
- Re-enter any secret values, then run the flow once and inspect the run to confirm it behaves as expected.
Export and import memory items
Section titled “Export and import memory items”Agent memory items travel separately from flows. Open Memory:
-
Export downloads every active memory item as a portable JSON file.
-
Import uploads such a file. Imported items land with the trusted Imported review status, so they are immediately available to agents. Duplicates of items you already have are skipped, and embeddings are recomputed locally rather than carried over.

