---
schema_version: "1"
id: 584c1ef31e0764251099bee09f2c23abd582a80fecba09d982def5769b5c766a
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.4/transform-input-output-structure-transformation-design-center-task.md
canonical_url: https://docs.mulesoft.com/mule-runtime/4.4/transform-input-output-structure-transformation-design-center-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: d6e879203dfb5214163507ad96c49f89404fcc0da5195d299c358d7334b8062b
description: MuleSoft Documentation Site
release: "4.4"
latest: false
---
---
product: Mule Runtime
version: 4.4
---

# 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.4/dataweave)
