Overview
The Wapisimo node's "Verify Number" operation allows you to check if a given phone number is valid and recognized by the Wapisimo API. This is useful in scenarios where you need to validate user input, ensure that a number can receive messages, or pre-check numbers before sending WhatsApp communications.
Practical examples:
- Validating customer phone numbers during onboarding.
- Checking if a contact's number is active before sending marketing or notification messages.
- Automating workflows that require only verified numbers for further processing.
Properties
| Name | Type | Meaning |
|---|---|---|
| Phone | String | The phone number to verify. Required field. |
Output
The output will be a JSON object containing the response from the Wapisimo API regarding the verification status of the provided phone number. The exact structure depends on the API, but typically includes fields such as validity, status, or error messages if the number is invalid.
Example output:
{
"valid": true,
"number": "+1234567890",
"message": "Number is valid"
}
If an error occurs and "Continue On Fail" is enabled, the output will include:
{
"error": "Error message here"
}
Dependencies
- External Service: Requires access to the Wapisimo API.
- API Key: You must provide a valid Wapisimo API key via n8n credentials (credential type:
wapiSimoApi).
Troubleshooting
Common issues:
- Invalid API Key: If the API key is missing or incorrect, the node will throw an authentication error. Ensure your credentials are set up correctly in n8n.
- Invalid Phone Number: If the phone number format is incorrect or not supported, the API may return an error message indicating the issue.
- Network Issues: Connectivity problems between n8n and the Wapisimo API endpoint can cause request failures.
Error messages:
"error": "Request failed with status code 401"– Check your API key."error": "Invalid phone number"– Verify the phone number format."error": "Network Error"– Ensure n8n has internet access.