Actions50
- Event Actions
- Message Actions
- Instance Actions
- Group Actions
- Community Actions
- Contact Actions
- Chat Actions
- Profile Actions
Overview
This node interacts with the Z-API service to validate WhatsApp phone numbers. It is useful for scenarios where you need to verify if a phone number is registered on WhatsApp before sending messages or adding contacts. For example, it can be used in customer support workflows to ensure contact numbers are valid WhatsApp users or in marketing automation to filter out invalid numbers.
Use Case Examples
- Validate a phone number before sending a WhatsApp message to avoid errors.
- Check if a contact's phone number is registered on WhatsApp before adding them to a group.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number to validate on WhatsApp, entered as digits only without any formatting. |
Output
JSON
valid- Boolean indicating if the phone number is a valid WhatsApp user.phone- The phone number that was validated.message- Additional message or status returned by the validation process.
Dependencies
- Requires an API key credential for Z-API to authenticate requests.
Troubleshooting
- Ensure the phone number is entered without any formatting or special characters, only digits.
- If the node returns an error, check that the Z-API credentials are correctly configured and valid.
- Network issues or API downtime may cause validation failures; retry or check service status if errors persist.
Links
- Z-API Official Website - Official site for the Z-API service used to validate WhatsApp numbers and send messages.