> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Configure Map as a processor

> The Map processor in Zuora Mediation allows for the selective retention, renaming, dropping, or transformation of fields from usage events to normalize data formats and prepare fields for further processing.

The Map processor in Zuora Mediation allows for the selective retention, renaming, dropping, or transformation of fields from usage events to normalize data formats and prepare fields for further processing.

The processor is commonly used to normalize data formats, reduce payload size, or prepare fields for downstream enrichment, filtering, or rating.

You can use the Map processor in the following instances:

* To rename input fields to match your target schema.
* To remove unnecessary or redundant fields.
* To transform field values using simple JavaScript logic (e.g., uppercase conversion, numeric scaling).
* To standardize incoming event structure before it reaches later pipeline steps.

Navigate to **Mediation** > **Meters**

Create a **Custom** meter.

Select **Map** as the processor type.

The settings page is displayed.

![Map processor settings](/_fern-img/c387795ef2a741f3715ae20038bcbd6c386b8fd591614c7522a2e28d67dc9d2e.webp)

Enter a **Name** for the processor.

In the **Map Fields** page, configure the field mappings.

| Field              | Description                                                                                                                                                                                                                |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Source Field       | Specify the name of the field from the incoming event payload that you want to process..                                                                                                                                   |
| Action             | **Select Keep** to retain or **Drop** to remove the field.                                                                                                                                                                 |
| Target Field       | Enter the name of the output field. Use this to rename the source field if needed.                                                                                                                                         |
| Transform Value    | (Optional) Enable this option to apply transformation logic to the field’s value using JavaScript.                                                                                                                         |
| Target Field Value | This field appears when **Transform Value** is enabled. Enter JavaScript code to modify the field value. You can also specify the data type (e.g., **Text, Number** ). Use **value** to reference the current field value. |

Click **Save**.