Skip to main content

Export and import

Export an Unstract Flow workflow to a password-protected file, and import it into another organization, for example to move a workflow from a test organization to production. The file carries the workflow and the credentials of yours it uses, so treat it like a password.

Export a workflow​

The person who created a workflow can export it. A project's owner can't export a workflow someone else created in the project.

  1. Select Save in the editor first. Open the workflow's project and, on its Workflows tab, open the workflow's menu and select Export (encrypted). For a project that holds one workflow, the project's menu on the Projects list has Export (encrypted) too.
  2. Enter a Password of at least 8 characters, and again in Confirm Password.
  3. To include OAuth sign-ins such as Gmail, Outlook or Google Drive, tick Include OAuth credentials.
  4. Select Export. The file downloads as <workflow name>_export.obwf, with every character other than A to Z and 0 to 9 changed to _. When the file is over the 25 MB an import takes, a message says so as it downloads.

Keep the password somewhere safe: it can't be recovered or reset. Anyone with the file and the password gets the credentials inside it, and with OAuth sign-ins included, they can act as those accounts.

IncludedLeft out
The spec as you last saved it, and the last prepared versionEarlier versions and tags
Connector settings, default inputs and each connector's call limitDeployments
API keys and passwords of the credentials you own that the workflow usesOAuth sign-ins, unless you ticked the box, and credentials you don't own, such as one shared with you or one a colleague added to the project
The project's input files that the spec or the last prepared version names with @file:The project's other input files
The names of the project's secrets that the spec or the last prepared version names with {{secret:NAME}}Secret values, and the project's other secrets
The project's reference tables that the spec or the last prepared version names with @table:: each one's type, Matching settings, saved column mapping and the records of its current importWhat a table learned (its phrases and notes), its earlier imports, and the records of a table that holds more than 20,000
The workflow's Tool call rate limit (per hour), from the editor's Settings tabIts project, and who that project is shared with

Import a workflow​

  1. On the Projects list, select Import. From inside a project, the Workflows tab has its own Import, which starts with Project set to that project.
  2. Under Workflow file, pick the .obwf file. It can be up to 25 MB; the dialog refuses a larger file, and so does the import API, with 413 before it reads the upload. The file is about 1.8 times the size of the input files it carries, so a workflow whose spec and last prepared version name more than about 14 MB of input files can't be imported. Removing a large file from the project before you export, and uploading it again after the import, removes it from every workflow in the project meanwhile: their runs fail at the steps that read it until it's back.
  3. Enter the Export password.
  4. Leave Project on New project to import the workflow into a project of its own, named after it, or pick a project you can edit.
  5. Select Import. The result names the workflow and the project it went into.

Import the file into the same release of Flow or a later one. An earlier release of Flow can't read a file exported by this one, and refuses it with "Invalid package format". Files exported by earlier releases still import.

Owners, admins and members can import; viewers and agents can't. The imported workflow belongs to you, in the project you picked. It has no deployments, and its connector instances, credentials, default inputs and call limits are its own, so changing them doesn't reach the original workflow's deployments. If you already have a workflow with that name, Flow adds " (2)", or the next free number, and says so under Import Warnings. Its credentials join your list as new credentials, even if you already have the same ones, and join the project, where anyone who can edit the project can pick them. To use your own, pick them on the Tools tab after the import.

The input files and secret names in the file join the project you picked. When the project already has a file or a secret of the same name, Flow keeps the project's own, skips the one in the file, and says so under Import Warnings, as in "The project already has a file named 'rates.csv', so the one in the package was not imported." The imported workflow then reads the project's file or secret of that name, so check that it holds what the workflow expects. New secrets arrive empty, so fill in each value on the project's Secrets tab before you run the workflow. Secrets shows how.

The reference tables in the file join the project too, each with its records as its first import. When the project already has a table of that name, in any capitals, Flow keeps the project's own, and Import Warnings says "The project already has a table named Items; the workflow reads that one." A table of more than 20,000 records arrives empty, with "Items came without its records (25,000 records): import a file into it on the project's Data tab." A table that would take the project past 50 tables is skipped. Flow also checks each table in the file the way it checks an import of a file, which matters for a file edited by hand: a table whose type, Matching settings or records don't pass, or that holds more than 200,000 records, is skipped. The warning names the table and the reason when its name is valid, as in "Items was skipped: record 3 holds a Price that isn't a number."

The file names each review step's queue by the queue's current name, and the step's settings are matched to this organization's queue of that name. When they name a queue this organization doesn't have, and the organization has other queues, Run in the editor is refused until you create the queue or pick another on the review step. Otherwise, and for a deployment, the tickets go to the default queue. A queue named in the spec wins over the queue in the step's settings, and Run in the editor checks it only for being paused. When your organization has no queue of that name, that step's tickets go to the default queue.

When the file left out a credential, because it was an OAuth sign-in or the exporter didn't own it, the dialog lists those connectors under a heading such as Connect 2 tools. Connect each one from the workflow's Tools tab. When the project already holds a credential for that connector, the Configure dialog lists it under In this project.

Call limits arrive as the file states them, up to 5,000 calls per hour. A higher limit in the file is set to 5,000, and the dialog lists the change under Import Warnings. Call limits explains the limits.

A REST API instance from a file exported before Return Error Responses as Data existed arrives with that setting turned on when the file's prepared version reads a response's status, so its 4xx responses still reach the workflow as they did when it was exported. Otherwise it arrives with the setting off. An instance from a file exported since then arrives with the setting as it was at export. REST API explains the setting.