> ## Documentation Index
> Fetch the complete documentation index at: https://openops-ecb4f397-mintlify-external-database-workflow-output.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting and Importing Workflows

> How to share workflows using the import/export functionality

export const NarrowImage = ({src, alt, widthPercent}) => {
  const className = `narrow-image-${useId().replace(/:/g, '-')}`;
  const widthRule = widthPercent ? `width: ${widthPercent}%;` : '';
  return <>
      <style>{`
        .${className} {
          max-width: 75%;
          ${widthRule}
        }
        @media (max-width: 768px) {
          .${className} {
            max-width: 100%;
            width: auto;
          }
        }
      `}</style>

      <img className={className} src={src} alt={alt} />
    </>;
};

Sometimes you may want to share a workflow you've created with others or import one that someone else has created. Here's how you can do this in OpenOps.

## Exporting workflows

To export a workflow:

1. Open the workflow you want to export in the workflow editor.
2. Click the arrow next to the workflow name in the top left of the editor.
3. Click **Export**:
   <NarrowImage src="/images/workflow-export.png" alt="Exporting a workflow" widthPercent={60} />
4. Save the workflow as a JSON file to your computer.

A workflow export file contains all actions and properties of the original workflow. It does not include the connection settings used in your OpenOps installation. When importing into a different OpenOps installation, the recipient will need to configure their own connections.

## Importing workflows

To import a workflow:

1. Click **New Workflow** to create a new empty workflow in your OpenOps installation.
2. In the top left of the workflow editor, click the arrow next to the workflow name.
3. Click **Import**:
   <NarrowImage src="/images/workflow-import.png" alt="Importing a workflow" widthPercent={60} />
4. In the **Import Workflow** dialog, click **Choose file**.
5. Select the downloaded JSON file.
6. Click **Import**.
7. If the imported workflow requires connections that your OpenOps instance doesn't have, you'll be prompted to create them.
8. Once you've finished creating connections, click **Create workflow**.
