Cheat Sheets/Power Automate/addProperty
Power Automate (WDL) function

addPropertyPower Automate (WDL) function reference

Add a field to an object.

Syntax

wdl
addProperty(object, property, value)

Examples

wdl
addProperty(item(), 'Processed', true)
New object
wdl
addProperty(triggerBody(), 'ProcessedAt', utcNow())
The trigger body with a new ProcessedAt field
wdl
addProperty(item(), 'RowNumber', variables('counter'))
The loop item with a new RowNumber field

Common mistakes & gotchas

Related Workflow Definition Language functions

From Objects & JSON

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet