DataWeave is Mule's tool for transforming data between different formats. The Transform Message component uses a DataWeave script to transform the incoming Mule message. DataWeave scripts contain a header section defining directives and an output structure, and a body section describing the transformations using the DataWeave syntax. DataWeave allows mapping between input and output fields visually or by writing code to aggregate, normalize, group, join, partition, pivot and filter data.