# Importing & exporting map shape configurations

## Introduction

If you're building multiple process flows with similar requirements for field mappings, you can [export](#exporting-a-mapping-configuration) the configuration for a map shape, and then [import](#importing-a-mapping-configuration) that configuration into another map shape.&#x20;

When a map shape configuration is exported, a JSON file is generated and saved (automatically) to the default download folder for your browser. All [field mappings](/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/map-shape/working-with-field-mappings.md) and associated [transformations](/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/map-shape/working-with-field-transformations/available-transform-functions.md) are exported. You can then import this file to any other map shape within:

* The same process flow
* Other process flows for your company profile
* Other process flows for any of your linked company profiles

## Exporting a mapping configuration

To export the configuration for a map shape, follow the steps below:

**Step 1**\
Access the required process flow, then click the settings icon for the map shape that you want to export:

<div align="left"><figure><img src="/files/hI2JtOiGqL86GNsHXTJX" alt="" width="320"><figcaption></figcaption></figure></div>

**Step 2**\
Click the **export map** button:

<div align="left"><figure><img src="/files/IxfIU0HhAV5ZB3XdeWe4" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 3**\
The configuration is exported and saved to your default downloads folder. The filename is always `map.json`.

## Importing a mapping configuration

To import a mapping configuration into a map shape, follow the steps below:

**Step 1**\
Access the required process flow, then click the settings icon for the map shape that you want to update:

<div align="left"><figure><img src="/files/hI2JtOiGqL86GNsHXTJX" alt="" width="320"><figcaption></figcaption></figure></div>

{% hint style="info" %}
You can import a mapping configuration into a new map shape, or into an existing one. If you import a configuration into an existing map shape, any existing mappings will be overwritten.
{% endhint %}

**Step 2**\
Click the **import map** button:

<div align="left"><figure><img src="/files/B5X7STRlhGnroiyDCFvs" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 3**\
Navigate to the downloaded map configuration file on your local drive, then select it.

{% hint style="info" %}
The default filename for exported map configuration files is `map.json`.
{% endhint %}

**Step 4**\
Having selected a valid mapping configuration file to import, the import completes immediately.&#x20;


---

# 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/process-flows/building-process-flows/process-flow-shapes/standard-shapes/map-shape/importing-and-exporting-map-shape-configurations.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.
