Skip to main content
Solved

Finding contact with "whatsapp_phone" field

  • March 9, 2024
  • 10 replies
  • 1034 views

Hi :)
I’m sending a request to Manychat to create a WhatsApp Contact. If the contact already exists, I receive a 400 (makes sense). The thing I can’t seem to understand is how do I update a contact that already exists and only has a “whatsapp_phone” as a field I can refer to. I can’t use the findBySystemField request to find the ID (because the contact doesn’t have a phone or email in Manychat) and I can’t update the contact without the ID.

Please help!

Thanks

Best answer by Gustavo Boregio

You should open a feature request for this!

For now, I can think of workarounda:

  1. also add the phone number to their profile, so you can search by phone
  2. map a custom field to the WhatsApp number, so you can do a findByCustomField search. This is probably the easiest, and you can run a broadcast with an action to map all your existing contacts.

Hope this helps!

10 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2781 replies
  • Answer
  • March 10, 2024

You should open a feature request for this!

For now, I can think of workarounda:

  1. also add the phone number to their profile, so you can search by phone
  2. map a custom field to the WhatsApp number, so you can do a findByCustomField search. This is probably the easiest, and you can run a broadcast with an action to map all your existing contacts.

Hope this helps!


depaula
  • Up-and-Comer
  • 2 replies
  • April 17, 2024

I'm going through the same problem. I was in disbelief when I didn't find a way to search for the WhatsApp ID


Marcosa
  • Up-and-Comer
  • 1 reply
  • June 20, 2024

I had the same issue, submitting a request right now!


apmatoso
  • Up-and-Comer
  • 3 replies
  • June 24, 2024

There is a problem to searching for findByCustomField, there is a limit of 100 searches. In other words, if you want to have more than 100 subscribers, your filtering will not go through all of them 😓


apmatoso
  • Up-and-Comer
  • 3 replies
  • July 3, 2024

Hey, guys!


I found a solution to my problem and maybe it will help some people here. As Gustavo said above, use customField with the contact's phone number to search for their ID on Manychat.

 

I made a small tutorial with my solution (it's in Portuguese, but you can just use the prints)

 


akapit
  • Up-and-Comer
  • 1 reply
  • July 23, 2024

there is another issue with this,
if I have a contact that doesn’t have the custom field “phone” it’ll never find it, then on  my automation it’ll try to create but it will fail because there is already a whatsapp id like that.

 

 


Marcos M
  • Up-and-Comer
  • 8 replies
  • September 16, 2024

@Gustavo Boregio 

I’m having an issue…

Some of my contacts that have reached by Whatsapp (having the Whatsapp ID), the phone field is empty.

 

When trying to create a new subscriber with the same Whatsapp ID, I get an error saying it is already created.

But when trying to search for it, there’s no option to search it…

 

So how can I address this?

Is there any way I could set an automation to extract the Whatsapp ID and place it in a custom field? That way I could search for it using the custom field…

 

Or how can I address this issue?


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2781 replies
  • September 16, 2024

Hey @Marcos M check the response for this post:

 

This is what I'm doing in my bots. Hope this helps.


leandrodacunha
  • Up-and-Comer
  • 1 reply
  • October 8, 2024

Pessoal, ao invés de ficar sugerindo contornos alternativos (gambiarras), não seria mais fácil disponibilizar de vez essa consulta pelo whatsapp ID?


fcsoares86
Forum|alt.badge.img
  • Channel Explorer
  • 29 replies
  • July 1, 2025

Pessoal  ja poderia ter esse endpoint na api, mais de um ano e isso ainda não foi implementado.