Hello! I am setting up an API connection from Formidable Forms to Brevo. I can get the name and email to transfer over but I have a custom multiple-select question whose data I also need to transfer. Formidable by default, passes multi-select values in a comma-separated format. Brevo, however, expects multiple-choice attributes to be sent as an array of strings. Here is what I have so far: {
"updateEnabled": true,
"email": "[376]",
"emailBlacklisted": false,
"smsBlacklisted": false,
"attributes": {
"FIRSTNAME": "[374]",
"LASTNAME": "[375]",
"GENRE": ["[385]"]
},
"listIds": [2]
} This code only transfers genre data if only the first checkbox in the list is selected. If anything else is selected, on its own or in addition to the first option, no genre data transfer. Any ideas on how to get it to send as an array? Thanks!
Please login or Register to submit your answer