Hi, I’m desperate. I tried almost every variation of solution.
I query document from firestore with Array of users. I want to add new user to the end of array. But when I just use “add” function, all values in saved array are on position (key) [0] separated with “,”.
Like
[0] user 1
[1] user 2
[2] user 3
Turns into
[0] user 1, user 2, user 3,
How to solve this? Im going mad.
What is the problem & what have you tried?
map, add, to array, JSON, Iterator + Array aggregator,
How is the scenario structured? Can you share some screenshots? There are thousands of ways to use those modules/functions. It’s hard to help you without seeing your use case.
Can you see type Array in the output? How and where are you using add()?
Already tried to map Value, to map value type, to map item type, to map item, always end up with error like this: “Array of objects expected.” But its fucking array…why make.com make this so complicated. This is totally easy task - just save array ffs.
The simplest way to do this is to add an Iterator over the users[] array, adding the value you want to the array with add(), then place an Aggregator after it, where the target structure is the Update a document module.