Hi, I have to fill a “Google Docs” Template from a “CognitoForms” form.
In Google Docs, I have to replace the {{options}} variable with a text:
The problem is that the variable come from CognitoForms in the form of an array:
So I have an error in Create Google Docs from Template module:
How can I transform the array to a simple text separated with commas?
In my example, it should be: “Faux ventre, Paire de lunettes, Cloche, Sac à jouets”
Here is the JSON format:
"VotreDemande": {
"JourRetrait": "2023-12-01",
"Email": "xyz@mail.com",
"JourRetour": "2023-12-04",
"Taille": "54/56",
"Options": [
"Faux ventre",
"Paire de lunettes",
"Cloche",
"Sac à jouets"
],
"Options_Amount": 9,
"Options_QuantitySelected": 1,
"Options_Price": 9,
"Total": "89",
"Prix": 89,
"Prix_IncrementBy": 1
Thanks for your help!