Skip to main content

Field mappings

A field mapping defines how one target field gets its value. Each field uses one of three modes, and can optionally clean, cast, or require the value.

The three modes​

ModeWhat it doesExample
DynamicCopy a value from the source, by path.billing.email → customerEmail
StaticUse a fixed value you type."web" → channel
ComputeBuild a value by combining source fields.first + last name → fullName

Transforms​

A transform cleans the value before it's written:

TransformEffect
trimRemove leading/trailing whitespace.
upperConvert to UPPERCASE.
lowerConvert to lowercase.
numberParse the value as a number.

Type casting​

Independently of transforms, you can cast the final value to a type: string, number, or boolean. This matters when the target system is strict — for example, NetSuite expecting a numeric quantity rather than the string "2".

Required fields​

Mark a field required when the target system won't accept the record without it. This helps you catch missing data during testing instead of at runtime.

Example​

Target fieldModeSource / valueTransformType
customerEmailDynamicbilling.emaillowerstring
channelStatic"web"—string
totalDynamicorder_totalnumbernumber

Given a source of:

{ "billing": { "email": "Sam@Example.com" }, "order_total": "19.99" }

this produces:

{ "customerEmail": "sam@example.com", "channel": "web", "total": 19.99 }

Next: handling lists of items → Loops.