Skip to main content
The Mapping function type transforms input data into output data using formulas. It is defined like this:
The mapping is a YAML object where each key is an output field and the value is a formula expression.

Variables

  • credentials – Authentication credentials from the current connection
  • parameters – Function-level and collection-level parameters combined
  • Function-specific input variables

Using in Actions and Flow Nodes

You can use this function in flow nodes with transform-data type. It is structured a bit differently than the standard definition. Here is an example:

Using in Connector Files

When used in connector files, the mapping is written in a separate file named <function-name>.map.yml (or <function-name>.yml). For example: