Problem: Firestore array update adds all tags as a single string
Hi everyone!
I’m using Make to update a Firestore document, and I’m trying to append a new tag ("procpect"
) to an existing array field called tags
.
Here’s the setup:
-
Document Path:
/chats/{{1.chatId}}
-
Field Name:
tags
-
Value Type: Array Value
-
Value:
add(1.2.Fields.tags[]; "procpect")
The Issue:
Instead of adding "procpect"
as a new item to the array, it ends up adding everything as a single string inside one array item.
I expected this:
["lead", "followup", "procpect"]
But I’m getting this:
["lead, followup, procpect"]
What I’m Looking For:
How can I correctly append a new string to the tags
array without merging it into one stringified item?
Any help or guidance would be appreciated
Thanks in advance!