Actions22
- Channel Actions
- Chat Actions
- Message Actions
- Contact Actions
- OTP Code Actions
- OTP Link Actions
Overview
This node integrates with the CrunchzApp API to perform operations related to messaging channels. Specifically, the "Check Phone Number" operation under the "Channel" resource allows users to verify the validity or status of a phone number by providing it with the country code. This can be useful in scenarios where you want to validate user input before sending messages, ensuring that the phone number is active or registered on the platform.
Practical examples include:
- Validating customer phone numbers before initiating marketing campaigns.
- Checking if a phone number is reachable or registered before sending notifications.
- Filtering out invalid phone numbers from a contact list.
Properties
| Name | Meaning |
|---|---|
| Phone | The phone number including the country code to check for validity or status. |
Output
The node outputs JSON data containing the response from the CrunchzApp API regarding the phone number check. This typically includes information about whether the phone number is valid, its registration status, or any other metadata returned by the API.
If the node supports binary data output (not evident from the provided code), it would represent any associated media or files related to the phone number check, but this is not indicated here.
Dependencies
- Requires an API key credential for authenticating with the CrunchzApp API.
- The node sends requests to the base URL:
https://api.crunchz.app/api. - Proper configuration of the API key credential within n8n is necessary for successful operation.
Troubleshooting
Common Issues:
- Invalid or missing API key credential will cause authentication failures.
- Providing phone numbers without the correct country code format may result in errors or invalid responses.
- Network connectivity issues can prevent the node from reaching the CrunchzApp API.
Error Messages:
- Authentication errors indicating invalid credentials should prompt checking and updating the API key.
- Validation errors related to the phone number format require ensuring the number includes the country code and is numeric.
- Timeout or network errors suggest verifying internet connection and API availability.
Links and References
- CrunchzApp API Documentation (Assumed based on base URL; please verify actual documentation link)
- n8n Documentation on Creating Custom Nodes