Actions108
- AI Actions
- Transcribe
- Detect Brand
- Extract Contact Information
- Mood Detection
- Detect Adult Content
- Enitity Detection
- Language Detection
- Too Long To Read
- Check Content Policy
- Detect Faces
- Generate Python Code
- Picture Text Recognition
- Detect Color
- Generate Image
- PDF OCR
- Translation
- Detect Email Type
- Generate Javascript Code
- Picture Object Recognition
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Overview
The node "0CodeKit" provides a versatile toolbox of no-code utilities across multiple domains, including AI, business, code execution, conversion, cryptography, date/time, image processing, PDF manipulation, storage, text operations, and user-related functions. Specifically, for the Business resource with the Validate Phonenumber operation, the node validates phone numbers optionally using a country code to ensure the number's correctness and format.
This node is beneficial in scenarios where workflows require verification of phone numbers before further processing, such as contact management, customer onboarding, or communication automation. For example, it can be used to validate user input phone numbers in a CRM system or to clean up phone number data before sending SMS campaigns.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number string to validate. Example: "+99 123456789". |
| Country Code | Optional two-letter country code (e.g., "GB") to assist validation by specifying the phone number region. |
| Code Variables | A collection of variable name-value pairs that can be used when running code editor functions (not directly relevant for this operation). |
Output
The output is a JSON array containing the response from the phone number validation API endpoint. The structure typically includes details about the validity of the phone number, possibly normalized formats, and metadata related to the number's correctness.
If the node supports binary data output for other operations, it would represent files or buffers accordingly, but for this operation, the output is purely JSON-based validation results.
Dependencies
- Requires an API key credential for the external "0CodeKit" service.
- The node makes HTTP POST requests to the endpoint
business/validate/phonenumberwith parameters including the phone number and optional country code. - No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
- Invalid or missing phone number: Ensure the "Phone Number" property is provided and correctly formatted.
- Incorrect country code: If validation fails unexpectedly, verify the country code is a valid ISO 3166-1 alpha-2 code.
- API authentication errors: Confirm that the API key credential is correctly configured and has necessary permissions.
- Network issues: Check connectivity to the external API service.
- Unexpected API responses: Review the returned error messages; they may indicate malformed input or service-side issues.
Links and References
- 0CodeKit Documentation (hypothetical link for the API)
- n8n Expressions Documentation - for using expressions in code variables
Note: This summary focuses on the Business resource's Validate Phonenumber operation based on the provided source code and properties.