addProperty(item(), 'Constituent Name', outputs('Get_a_constituent')?['body/name'])
Now, outside of the loop, for convenience I'll use the built-in Select action to project a new array object (based on the gifts array variable) containing only the fields I want in my HTML table:The Select actions also allows me to specify more user-friendly column names, and the map formulas I'm using for the column values are:
item()?['id']item()?['type']item()?['amount/value']item()?['constituent_id']item()?['Constituent Name']
Finally, I use the built-in Create HTML table action to built the HTML table based on the output from the Select action:So my completed flow looks like this:...and when the flow runs, the HTML table will look like this:I hope this helps demonstrate the approach - please let us know if you have questions!