Introduction
When working with objects in Power Automate, there are times when you need to add a new property dynamically — especially when shaping JSON, preparing data for APIs, or building custom outputs.
This is where the addProperty() expression becomes extremely useful.
In this blog, I’ll explain what it is, how it works, and a real-world example of combining data, adding a new column with addProperty().
What is addProperty() in Power Automate?
addProperty() is a Power Automate expression used to add a new key–value pair to an existing object without modifying the original object.
It returns a new object with the additional property.
Syntax:
addProperty(object, propertyName, propertyValue)Parameters:
| Parameter | Description |
|---|---|
| object | The base object where you want to add the property |
| propertyName | Name of the property you want to add |
| propertyValue | Value you want to store |
Example:
Scenario
I have a JSON with FirstName and LastName, and I want to dynamically add a third field, FullName, using addProperty().
Flow Design
Step 1: Manually Trigger the Flow
Use Manually trigger a flow.
This allows you to test the logic on demand without dependencies.

Step 2: Initialize an Array Variable
Add Initialize variable - varRecords
Name: varRecords
Type: Array
Value:





Join the conversation! Your thoughts help the community grow.