Hi,
Thanks for reading my post. I am fairly new to Make.com and do not have a tech background so sorry if this is a silly request.
I have a workflow that branches into “spin offs” using multiple webhooks. i.e. situation 1–> situation 2 → situation 3 → situation 4.
At each stage I wanted to store the output into an array in a collection I have in a datastore. i.e. situation 1 adds data point 1 to array 1, situation 2 adds data point 2 to array 1 etc etc until the collection is full then a new array is added to the collection (i.e. start the process over).
I have found however that when I have experimented with not writing over the data store - it adds a new collection with an empty array bar 1 data point. And when I have selected overwrite - all the arrays disappear for the new one.
Adding a new record return an error (as expected as they record already exists)
Updating the record just adds a new array to the collection stored - so I think something here would need to work.
Is there a way around this by using functions? Is there a way to select a specific array by its number to append data to it? Is there a way to select an array by toggling mapping in the update row module → then add data to it?
I tried switching between the bucket of data being a collection and an array - tried switching to a collection but it just overrides the old bucket.
Or would I have to use a temporary data base then upload to datastore when the bucket is full? i.e. save to google sheet then when it is full upload to the data store under a new array.
Last option is to send payloads as cumulative payload until it reaches the end and then save under a new array. I would prefer to not do this as it could mean data loss.
See image for more details
Any advice is greatly welcomed!
And if any further information is required please let me know - I have been bugging over this for about 2 weeks now.