Add new item to nested array using firebase rest

Is there any way to add a new item to an array in firebase that is nested under a main child node, or do we have to get the entire list into a variables then add the new item, then send to firebase every time the a new item is added?

For comments on a post, for example.

Hello Daniel
Did you get an answer to your question elsewhere ?

1 Like

Of course not but I figured out how to do it. You have to update the entire array. First create a page variable list of objects exactly matching the data structure in firebase. Then just update that page variable by adding the new item. Let me know if you need help with that part. Then just use the update record flow function and leave all other values blank.

Oh if you are using the rest API connector simply use the pageVar.myArray as the value of the arrayValue in the formula