How to check in ManyChat via Make if a user already exists using the WhatsApp number?

My question is: How can I create a condition in Make to check if the email or WhatsApp already exists in ManyChat before attempting to create the user?**

I created an integration on Make connecting WooCommerce to ManyChat. The scenario is as follows:

I have subscribers in WooCommerce Subscription. When a payment renewal fails and the order status changes to “Failed,” I want ManyChat to receive the subscriber’s data and send a notification about the payment.

In the flow I created:

  1. The trigger is activated when Make detects a change in the order status to “Failed.”
  2. A text variable stores a consent message for sending notifications.
  3. The Create User module in ManyChat is used to register the subscriber.
  4. The Get Subscriber Info module in ManyChat retrieves the user’s ID.
  5. Using the ID, the Tag module adds a tag to the user in ManyChat.

It worked, but when the user already exists in ManyChat, an error occurs stating that the email or WhatsApp is already registered.

My question is: How can I create a condition in Make to check if the email or WhatsApp already exists in ManyChat before attempting to create the user?

Important points:

  1. I couldn’t find a ManyChat module in Make that allows checking for a user’s existence without their ID, except for the user creation module.
  2. If necessary, I can use the HTTP module in Make to perform this check.

Tks

I have the same issue here.

What I did was to add a WhatsApp Number as a custom field, but I get the error that no data was retrieved from Manychat when “Find a Subscriber By Custom Field”, it gets just the Custom Field, no ID, no Name, no Nothing. Only an error.

So when I try to insert the ID of the member found through the custom field in the next field, it gives me the error message.

Did you manage to work it out?