Error mapping a Make.com/Pipedrive multiselect field

I’m having trouble with a Pipedrive ‘Create a Lead’ module. When I hard-code a multiselect field, it works fine and creates the correct numeric array format in the input bundle:


But when I use mapping, the same field gets converted to a string format that causes errors:


How can I ensure the mapped values maintain the correct numeric array format that Pipedrive expects?

1 Like

OK, that took me WAY too long.

I finally found something that worked here. I added a JSON module before the Pipedrive ‘Create a Lead’ module that splits the string based on the comma, then makes a numeric array to pass to the map field.

{“number_array”:[
{{ join(split(“28,29”; “,”); “,”) }}
]}

You can get all the IDs coma separated and then use spit function to process them correctly

Split({{IDs_coma_seperated}};,)

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

Hi @Bryce_Kuklok
Here is the example.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation