I am facing an issue with a Scenario that captures data from a Webhook and feeds it into a SendinBlue module.
When I use webhooks to capture the data and send it to SendinBlue, everything works except for the List ID, which produces the following error: “The operation failed with an error. listIds/0 should be type number (invalid_parameter).”
In the SendinBlue module, the “List ID” field is a multi-select, showing the email lists in my SendinBlue account. I only want to subscribe users to a single list. However, when I toggle “Map” and input the webhook data or manually fill in the field with a number, I receive an error.
I believe the error might be due to how the SendinBlue module is handling the data, rather than the data itself. Could you please help me investigate this issue?
Here is the input listed on the SendinBlue module:
It seems to add a “1” before the List ID, but I’m unsure where it comes from or if it’s causing the error. This issue occurs even when not using webhook data.
Attached are two screenshots. One is with the list ID field mapped and one with it unmapped (I select the email list from the dropdown).
You can see the data appears to be the same in both instances but only works if the field is unmapped.
It denotes that the data is an array i.e Multiple Lists can be there for given data. So, In sendblue since it is a multi-select i.e an array, you need to pass an array of number not a single number.
To do this, what you want to do is,
Pass the List ID as an array while in map mode
Or, If you want to pass a single data then you need to use formula to create an array, add(emptyarray;data)
Thanks so much for your reply. I’m not a developer so I’m not entirely sure how to build the formula you described. I do indeed just want to pass a single number.