--- title: "Managing flows" slug: "managing-flows" description: "Manage Hyperscience flows: import, duplicate, deploy, run, export, disable, archive, and restore flows and subflows." updated: 2026-11-18T14:30:14Z published: 2026-11-18T14:30:14Z canonical: "help.hyperscience.ai/managing-flows" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.hyperscience.ai/llms.txt > Use this file to discover all available pages before exploring further. # Managing flows Every submission in Hyperscience runs through a flow. The flow's blocks decide how the submission's documents are classified and extracted, which tasks go to your team for review, and what reaches your downstream systems. Each line of business or use case can have its own flow, so the flows in your instance shape how your organization processes documents. This article follows a flow from the moment you add it to your instance. Import or duplicate a flow and deploy it to make it live. In v44.1 and later, you can also run a flow from the application. To move a flow to another instance, export it. When you no longer need a flow, disable it and archive it. You can restore an archived flow later. Several tasks apply to a flow group: a top-level flow and the subflows that it calls. When you deploy or disable a top-level flow, its subflows are deployed or disabled with it. Most tasks start on the Flows tab in the Flows section. The actions available depend on the flow's status and your permissions. To change a flow's blocks or settings, see [Editing Flows in Flow Studio](/v44/docs/editing-flows-in-flow-studio). To learn how flows are structured and what each tab in the Flows section contains, see [Flows overview](/v44/docs/flows-overview). ## Import a flow Import a flow when it was built or changed outside your instance. For example, import a flow that you built with the Flows SDK, a flow that you exported from another instance, or a flow that Hyperscience changed at your request. An import adds the flows that are new to your instance and overwrites the ones that already exist. You can import several flows at once, including several top-level flows with their subflows. > [!WARNING] > Importing a subflow updates every flow that uses it > > When you import a new version of a subflow, every flow that uses the subflow receives the new version. To stop the import at any step, click **Cancel**. ![Importing a flow from the Flows tab](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/import-flow.gif?sv=2026-02-06&spr=https&st=2026-11-29T03%3A14%3A18Z&se=2026-11-29T04%3A14%3A18Z&sr=b&sp=r&sig=HoVtLeMkYo70EjzVplD7aT2yDoLldrbOPWyfHOPc5xQ%3D) 1. On the Flows tab, click **Import Flow**. - To update a top-level flow, you can also click **Import New Version** on the flow's details page. 2. Add the flow ZIP or JSON files. Drag them into the dialog, or click **Choose Files** and select them. 3. Click **Next**. 4. If errors appear, fix each error before you continue. - If an error has an action, click it to go to the place where you can fix the problem. - To keep the error messages for troubleshooting, click **Copy all errors**. 5. Click **Next**. 6. Review the flows that the import creates or overwrites. 7. Click **Next**. 8. Click each file's name in the sidebar to review its changes. - A count next to a file's name shows how many lines the import adds or deletes. - "New" marks a file that the current flow does not have. "Deleted" marks a file that the imported version does not have. - A crossed-out name means that the imported file has a different name. - A caution icon means that at least one version of the file is not UTF-8 encoded. You cannot compare these versions, but you can still import the file. 9. Click **Approve**. - A confirmation lists the flows that the import created or updated. 10. Click **Done**. ## Duplicate a flow or flow group Duplicate a flow to create a similar flow, to create a test version of a flow, or to change a read-only flow. 1. On the Flows tab, click the **Flow Actions** menu in the flow's row. 2. Click **Duplicate**. The copy appears on the Flows tab with the name "[flow name] (Copy)." ![Duplicating a flow from the Flow Actions menu](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/duplicate-flow.gif?sv=2026-02-06&spr=https&st=2026-11-29T03%3A14%3A18Z&se=2026-11-29T04%3A14%3A18Z&sr=b&sp=r&sig=kbhoo7D30UfZt8yqFkuZzM3%2FgR%2BqdduUyX0nEQ2bSpQ%3D) ## Deploy a flow or flow group A flow processes submissions only when its status is Live. Before you deploy a flow, assign a release to it. For more information, see [Assigning a Release to a Flow](/v44/docs/assigning-a-release-to-a-flow). You cannot deploy a subflow on its own. Deploy the Top-Level Flow that calls it, and its subflows are deployed with it. 1. On the Flows tab, click the top-level flow's name. 2. Turn on the **Status** switch. You can also deploy a top-level flow from the Flows tab. In the flow's row, click the **Flow Actions** menu, and click **Deploy**. The status changes from Disabled to Live, and the **Status** switch reads Enabled. The flow starts processing submissions within a few minutes. ## Run a flow > [!NOTE] > Availability > > Running a flow from the application is available in v44.1 and later. Run a flow to start it directly from the application. Before you begin, make sure that the flow is live. For more information, see [Deploy a flow or flow group](/v44/docs/managing-flows#deploy-a-flow-or-flow-group). If the flow processes documents, follow the steps in [Run a flow that processes documents](/v44/docs/managing-flows#run-a-flow-that-processes-documents) instead. 1. Click **Run** in one of the following places: The **Run flow** dialog opens and lists the flow's inputs, prefilled from the flow parameters. Inputs without a value appear first. If the flow has no inputs, a confirmation appears instead. Click **Run** to start the run. - **Flows tab:** Click the **Flow Actions** menu in the flow's row, and click **Run**. - **Flow details page:** Click a top-level flow's name on the Flows tab, and click **Run**. - **Flow Studio:** Click **Run**. To open Flow Studio, click **Edit Flows** on a top-level flow's details page, or click any other flow's name on the Flows tab. If you changed the flow, save your changes first. 2. Enter a value for each input that has no value. - For a file input, upload one file. - An empty required input shows "Required," and the run does not start until you enter a value. 3. (Optional) To change a flow parameter that has a predefined value, expand **Override flow settings**, and change the value. - The change applies to this run only and does not update the parameter's predefined value. 4. Click **Run**. The run's page opens. If you cannot open the Flow Runs tab, the "Flow run started: " notification appears instead. If the run cannot start, the error appears in the dialog, and the dialog stays open. ### Run a flow that processes documents A flow that processes documents receives its files as a submission. For these flows, **Run** opens **Create Submission** for that flow instead of the **Run flow** dialog. Before you begin, make sure that the **Submission Upload** setting is turned on. For more information, see [Turn on Submission Upload](/v44/docs/submissions-overview#turn-on-submission-upload). 1. Click **Run** in the flow's **Flow Actions** menu, on its details page, or in Flow Studio. 2. Add your files. Drag them into the upload area, or click the upload area and select the files. 3. If you upload multiple files, select how to submit them: - **Single Submission** creates one submission that contains all uploaded files. - **One Submission per file** creates a separate submission for each uploaded file. 4. Click **Next**. - The flow is already selected. 5. (Optional) Configure the submission, such as its layout or case. For the options, see [Upload files in the application](/v44/docs/submissions-overview#upload-files-in-the-application). 6. Click **Upload**. The dialog closes, and the "Submission created" notification appears. ### Resolve an unavailable Run action If **Run** is missing or unavailable, check the following: | Situation | What you see | What to do | | --- | --- | --- | | The flow is not live. | **Run** is unavailable, with the tooltip "Deploy the flow to run it." | Deploy the flow. See [Deploy a flow or flow group](/v44/docs/managing-flows#deploy-a-flow-or-flow-group). | | The flow has unsaved changes in Flow Studio. | **Run** is unavailable, with the tooltip "Save your changes to run the flow." | Save your changes. | | The flow is archived. | The flow has no **Run** action. | Restore the flow and deploy it. | | You do not have permission to run the flow. | The flow has no **Run** action. For a flow that processes documents, **Run** can also be unavailable, and its tooltip explains why. | Contact your administrator. | | The **Submission Upload** setting is turned off. This situation applies only to flows that process documents. | **Run** is unavailable, and its tooltip explains why. | Turn on **Submission Upload**. See [Turn on Submission Upload](/v44/docs/submissions-overview#turn-on-submission-upload). | ## Export a flow Export a flow to move it to another instance or to send it to Hyperscience for changes. The export downloads a ZIP file that contains the following: - A `flows` folder with the JSON file of each exported flow - `manifest.json`, which contains metadata about the export - The Python files of any Custom Code Blocks, in the `files` folder The export does not contain client secrets entered in Input or Output Blocks. It also does not contain the Python packages that the flows depend on. ### Export a single flow 1. On the Flows tab, click the **Flow Actions** menu in the flow's row. 2. Click **Export**. The file name has the format `Flow-[Flow_name]-[Flow_UUID]-[YYYYMMDD_HHMM].zip`. The date and time of the export are in GMT. ### Export a flow with its subflows 1. On the Flows tab, click the top-level flow's name. 2. Click **Export All Flows**. You can also export a top-level flow with its subflows from the Flows tab. In the flow's row, click the **Flow Actions** menu, and click **Export All Flows**. The file name has the format `Flow-[Top-level_Flow_name]-[Top-level_Flow_UUID]-with-dependencies-[YYYYMMDD_HHMM].zip`. ## Disable a flow or flow group Disable a flow to stop it from accepting new submissions. Submissions already in progress continue processing. You cannot disable a subflow on its own. When you disable a top-level flow, all the flows in its group are disabled. 1. On the Flows tab, click the **Flow Actions** menu in the top-level flow's row. 2. Click **Disable**. 3. In the dialog, click **Disable**. You can also disable a top-level flow from its details page. Turn off the **Status** switch. The status changes from Live to Disabled, and the **Status** switch reads Disabled. The flow does not process new submissions until you deploy it again. ## Archive a flow or flow group Archive a flow that you no longer need. Archived flows do not appear in the default list on the Flows tab. You can restore them later. You cannot archive the following flows: - Live flows - Disable the flow first. - Subflows in a flow group When you archive a top-level flow, Hyperscience also archives its subflows that no other flow group uses. 1. On the Flows tab, click the **Flow Actions** menu in the flow's row. 2. Click **Archive**. 3. In the dialog, click **Archive**. The flow no longer appears on the Flows tab. ![Archiving a flow from the Flow Actions menu](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/archive-flow.gif?sv=2026-02-06&spr=https&st=2026-11-29T03%3A14%3A18Z&se=2026-11-29T04%3A14%3A18Z&sr=b&sp=r&sig=ngsn%2Feuv5mmCtIdtHmVkaJvrRnG0MUvz6T5Zk1hmq90%3D) ## Restore an archived flow or flow group 1. On the Flows tab, select **Archived Flows** from the **Flow Status** drop-down list. 2. Click the **Flow Actions** menu in the flow's row. 3. Click **Restore**. 4. In the dialog, click **Restore**. The flow returns with the Disabled status. To process submissions with it, deploy it. See [Deploy a flow or flow group](/v44/docs/managing-flows#deploy-a-flow-or-flow-group). The main flow that manages the end-to-end document processing, coordinating with subflows to handle specific components of the process. Learn more in [Flows](https://help.hyperscience.ai/latest/docs/flows).