I am trying to get a dynamic array from JSON that I have iterated over into a Google Doc. I have the following section within my doc:
And have this currently set up for the scenario (well, the part that is relevant to this issue):
I am getting this error in the Google Doc module:
There seems to be an issue with the list being within the array or maybe the array itself.
I am hoping someone has done this before. All I want to do is take the variables in the image of the Google Doc snip and have them fill in dynamically based on the JSON it receives (this could be one or ten, or however many phases are formulated for the specific proposal.
Hi @aiwikichannel
Could you please share a screenshot of the Google Docs module setup? This will help us better understand your configuration and provide more accurate assistance.
Regards, Msquare Automation - Gold Partner of Make
I hope this helps. I am trying to utilize the values from the iterator, however it is creating a new document for each bundle rather than just adding a new section into the doc.
First thing I see, you have mapped array in phase_task_list. Please use join function like below to convert it into string. Separator can be , and space or newline (depends how want).
The reason of creating new document is the iterator. Each bundle from iterator passes one after other. To create one document, you need to remove iterator and use get and map function while mapping.
Regards, Msquare Automation - Gold Partner of Make