---
schema_version: "1"
id: 7f26cb789e36d7784251d59ec410d30608bbb75ed0a68b2a0fe7b5f1be8cddc6
title: Define Input and Output Structure of a Transformation (Design Center)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mule-runtime/4.11/transform-input-output-structure-transformation-design-center-task.md
canonical_url: https://docs.mulesoft.com/mule-runtime/4.11/transform-input-output-structure-transformation-design-center-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 5910ef4d58964fd50529f3172ae33bd0ec980406eca63f9c08867cc3fcf7efaf
description: MuleSoft Documentation Site
release: "4.11"
latest: false
---
---
product: Mule Runtime
version: 4.11
---

# Define Input and Output Structure of a Transformation (Design Center)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To use the graphical view and construct mappings via drag and drop, the Transform component first
needs information about what fields are available for dragging and dropping.

If you plan to create your transformation entirely by writing DataWeave source code, you can skip
defining input and output and reference elements directly via code.

## Define Data Structure on Other Components

1.  Make sure that all other elements in the flow are fully configured.

    When all other elements are configured and you have a component that has a predicted data
    structure, the structure can be passed onto the Transform component.

2.  Manually define input and output data structures if Design Center cannot predict the data
    structure.

    For example, an HTTP Listener might receive requests containing any type of payload. If you know
    what this payload will look like, you can set the data type through the Input and Output tabs in
    the HTTP Listener dialog box.

## Define Data Structures in the Transform Component

1.  Click Set Data Type:

    - For the input pane, highlight the payload, attributes, or a variable and click the Set Data
      Type icon at the bottom of the input pane.

    - For the output pane, select the Set data type button. If the output pane has an existing data
      type, click the drop-down arrow at the top of the Output pane to set a new data type.

2.  Manually define the data structure by providing a sample or a schema.

## See Also

[DataWeave Language](https://docs.mulesoft.com/mule-runtime/4.11/dataweave)
