> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m3ter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting and Importing Workflows

If you've built and published a Workflow and want to use the Workflow as the basis for another Workflow by adapting the current Workflow to serve a different operational use case, you can export the Workflow and import it as a new one.

<Note>
  **Note:** you can export a Workflow from one Organization and import it into a different Organization if required.
</Note>

**To export and import a m3sh Workflow:**

1. Select **m3sh**:

<img src="https://mintcdn.com/m3ter/gg3zPcB5MVj--Cnq/images/m3shMainNav1.png?fit=max&auto=format&n=gg3zPcB5MVj--Cnq&q=85&s=c26ad71debe6cffcd46844fa558e0e6f" alt="M3sh Main Nav1" title="M3sh Main Nav1" style={{ width:"8%" }} width="61" height="64" data-path="images/m3shMainNav1.png" />

* The **Workflows** page opens.

2. Select the **Name** text of the Workflow you want to export. The Workflow opens in **Draft** mode.

<Warning>
  **Check Published version!** The **Published** version of the Workflow will be exported. If you have made any changes to the Workflow **Draft** version since you last published it and you want to include those recent changes when you export, you must re-publish the current **Draft** first.
</Warning>

3. On the drop-down menu, select **Export workflow**:

<img src="https://mintcdn.com/m3ter/JDLEbvkzfCbdo08X/images/M3shAutomation256.png?fit=max&auto=format&n=JDLEbvkzfCbdo08X&q=85&s=4ba11994018628696dc53d2f0b840523" alt="M3sh Automation256" title="M3sh Automation256" style={{ width:"30%" }} width="227" height="255" data-path="images/M3shAutomation256.png" />

An **Export workflow** panel opens:

<img src="https://mintcdn.com/m3ter/JDLEbvkzfCbdo08X/images/M3shAutomation257.png?fit=max&auto=format&n=JDLEbvkzfCbdo08X&q=85&s=75972f6f86837abf76115c64690104a2" alt="M3sh Automation257" width="1145" height="526" data-path="images/M3shAutomation257.png" />

Note that you can:

* Review a help text.
* Scroll down the Workflow JSON to review it before proceeding with the export.

4. Select **Copy** and close the **Export workflow** panel.
5. Go back to the **Workflows** page and select **Create workflow>Import workflow**:

<img src="https://mintcdn.com/m3ter/JDLEbvkzfCbdo08X/images/M3shAutomation330.png?fit=max&auto=format&n=JDLEbvkzfCbdo08X&q=85&s=bcf12cfea0cfd85a1784e867315e6dce" alt="M3sh Automation330" title="M3sh Automation330" style={{ width:"32%" }} width="305" height="595" data-path="images/M3shAutomation330.png" />

An **Import workflow** panel opens.

6. Paste the Workflow JSON you copied from the **Export workflow** panel into the **Import workflow** panel:

<img src="https://mintcdn.com/m3ter/JDLEbvkzfCbdo08X/images/M3shAutomation259.png?fit=max&auto=format&n=JDLEbvkzfCbdo08X&q=85&s=afdd4beb7534be0cce849a1201755ed2" alt="M3sh Automation259" width="1144" height="696" data-path="images/M3shAutomation259.png" />

7. Select **Submit**. The **Import workflow** panel closes and a message shows to confirm that the Workflow was imported successfully:

<img src="https://mintcdn.com/m3ter/JDLEbvkzfCbdo08X/images/M3shAutomation260.png?fit=max&auto=format&n=JDLEbvkzfCbdo08X&q=85&s=82b365c8def9bdb0eaade5de750029dc" alt="M3sh Automation260" width="1220" height="380" data-path="images/M3shAutomation260.png" />

* The imported Workflow is now listed on the **Workflows** page with "imported" appended to the **Name** and **Code** of the original Workflow.
* You can now open the new imported Workflow, edit the **Name** and **Code**, and modify it as required.
