# Uploading process flows to your private marketplace

## Introduction

Having [built](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows), [enabled](https://doc.wearepatchworks.com/product-documentation/process-flows/managing-process-flows/enabling-and-disabling-a-process-flow/enabling-and-disabling-a-process-flow-without-virtual-enviroments), and [deployed](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-versioning#deploying-a-draft-or-inactive-version) a process flow, you can upload it to the **process flows** section of your private marketplace. This guide walks through the steps needed to achieve this.

{% hint style="warning" %}
You only need to upload a process flow to your private marketplace if you want to make it available for your users (and your linked company users) to download as a standalone resource. If you just want to include the process flow in a blueprint, you don't need to upload it separately - please see [Uploading blueprints to your private marketplace](https://doc.wearepatchworks.com/product-documentation/marketplace/private-marketplaces/uploading-private-marketplace-resources/broken-reference).
{% endhint %}

## Need to know

When you upload a process flow, any configured connectors, scripts, cross-reference lookups, caches and de-dupe pools will be included.

## Preparation

Ensure that the process flow you want to upload is [enabled](https://doc.wearepatchworks.com/product-documentation/process-flows/managing-process-flows/enabling-and-disabling-a-process-flow/enabling-and-disabling-a-process-flow-without-virtual-enviroments) and [deployed](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-versioning#deploying-a-draft-or-inactive-version).

## The steps

**Step 1**\
Login to the Patchworks dashboard and ensure you're switched to the correct company profile.

{% hint style="info" %}
Any resources you upload to the private marketplace for your own 'parent' company will be available to your 'child' companies (via their private marketplaces). Similarly, any resources uploaded to the private marketplace for a 'child' company will be available to the 'parent' company AND all child-sibling companies. For more information please see [About private marketplace access](https://doc.wearepatchworks.com/product-documentation/marketplace/private-marketplaces/..#about-private-marketplace-access).
{% endhint %}

**Step 2**\
From the left-hand navigation menu, select **process flows&#x20;**<mark style="color:red;">**|**</mark> **process flows** options - all of your process flows are listed.

**Step 3**\
Click the name of the process flow that you want to upload - the process flow [canvas](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/the-process-flow-canvas) is displayed.

**Step 4**\
Click the **settings** option from the actions bar:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FVRrv0vMgdmknHhrVewqx%2Fupload%20process%20flow%201.png?alt=media&#x26;token=e5042d06-d0cf-42b9-a680-0831012d937c" alt=""><figcaption></figcaption></figure>

Move down to the **versions** panel and ensure that the deployed version is displayed - check that this is the version that you want to upload.

{% hint style="info" %}
If you don't want to use the version that's currently deployed, you should edit the draft and deploy this.&#x20;
{% endhint %}

**Step 5**\
Click the ellipses associated with the deployed version and select the **upload to marketplace** option:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FrSWIF5rmXosYC3cj7eJ9%2Fupload%20process%20flow%202.png?alt=media&#x26;token=42963627-86de-46a7-8e1f-5eb7fe880c7f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You'll only see this option for a **deployed** process flow. If you are checking a deployed version and this option isn't shown, it's likely that your user account does not have the required permissions. Please [contact Patchworks support](https://doc.wearepatchworks.com/product-documentation/raising-a-support-ticket) if this is the case.
{% endhint %}

**Step 6**\
Click the **upload** button to upload this process flow to your private marketplace. The upload is queued for processing and will be completed as soon as possible. &#x20;

{% hint style="info" %}
Check your [notification centre](https://doc.wearepatchworks.com/product-documentation/marketplace/the-notification-centre) for confirmation if you miss the popup message when this is done.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/marketplace/private-marketplaces/uploading-private-marketplace-resources/uploading-process-flows-to-your-private-marketplace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
