Array of objects expected in parameter 'email' and Array of objects expected in parameter 'phone'

What are you trying to achieve?

Hello everyone,

I’m encountering a problem with one of my scenarios.

I want to bring contacts at the end of my Activcampaign sequence to Pipedrive by creating a new contact.

I created a scenario where I took a hook that I placed at the end of my Activcampaign sequence, and I added a “Create a person” Pipedrive element. I encounter error messages:

  • Array of objects expected in parameter ‘email’.
  • Array of objects expected in parameter ‘phone’.

I don’t understand because I correctly associated the fields of my hook on the Pipedrive part. I am attaching the photos.

Can you help me please?

Thank you and have a nice day

Steps taken so far

photo attached

Screenshots: scenario setup, module configuration, errors


1 Like

Just as it says you are sending an object and it expects an array so you need to put it in like this

Do not map the phone and email just add the object into the array it gives you since it looks like the webhook only captures one at a time its fine. So turn map off and then click the plus button and manually map it.

2 Likes

Hey @Cindy_KAWAK

You need to toggle off the map button in email and phone fields and then map the value.
efefc33fd36b0321cffb53442bda13d95a4f96cd_2_554x499

Regards,
Msquare Automation - Gold Partner of Make
@Msquare_Automation

Hello,

Thank you very much for your feedback. I made the modifications. I’ll test again on Monday, I hope it works.

Thanks again for your help.

See you soon

Hello everyone,

I come back to this subject. First of all, I thank you because my Pipedrive import worked, however at times the scenario stops with this message attached. I don’t understand where this value should be entered.
Thanks for your help.