# Field mappings & transformations (services)

## Introduction&#x20;

Mappings are at the heart of Patchworks.

When we pull data from one system and push it into another, it’s unlikely that the two will have a like-for-like data structure. By creating mappings between source and destination data fields, the Patchworks engine knows how to transform incoming data as needed to update the destination system.

The illustration below helps to visualise this:

![](/files/dVnIlP92nVrNiq5Uec8W)

Mappings are defined within Patchworks [services](/product-documentation/patchworks-services/getting-started/what-is-a-service.md). With its **standard** **connectors**, Patchworks knows what mappings are likely to be between two given systems - default mappings are provided and can be tweaked if needed.

{% hint style="info" %}
If your organisation has in-house development expertise and complex transformation requirements, you can use our [custom scripts](broken://pages/oZoHN71i3KN7FMkgdP1x) feature to code your own scripts for use with field mappings.&#x20;
{% 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/patchworks-services/working-with-services/field-mappings-and-transformations-services.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.
