Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
WhatsApp Numbers → Create Number
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to manage WhatsApp numbers. Specifically, the Create Number operation under the WhatsApp Numbers resource allows users to create and register a new WhatsApp number within their WaliChat account.
Typical use cases include:
- Adding new WhatsApp numbers for business communication.
- Organizing multiple WhatsApp numbers under different aliases or billing plans.
- Managing subscription plans for WhatsApp numbers according to business needs.
For example, a company expanding its customer support channels might use this node to add several WhatsApp numbers, each assigned to different departments or regions, with appropriate billing plans.
Properties
| Name | Meaning |
|---|---|
| Alias | Alias or name for the WhatsApp number (2-30 characters). |
| Billing Plan | Subscription plan for the WhatsApp number. Options: Professional, Business, Enterprise, Gateway Professional, Gateway Business, Gateway Enterprise, Platform Professional, Platform Business, Platform Enterprise. |
| Additional Options | Optional additional settings: |
| - Description | Description for the WhatsApp number (up to 80 characters). |
| - Agent IDs | List of agent IDs to provide shared chat access (applicable only for Platform plans). |
| - Payment Intent | Payment intent ID string (starts with "pi_"), likely related to payment processing. |
Output
The node outputs JSON data representing the result of the creation request. This typically includes details about the newly created WhatsApp number such as its identifier, alias, billing plan, status, and any other metadata returned by the WaliChat API.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being accessible and properly configured.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common Issues:
- Invalid alias length (must be between 2 and 30 characters).
- Unsupported or incorrect billing plan selection.
- Providing agent IDs when using non-Platform plans will have no effect.
- Incorrect or missing payment intent ID format.
Error Messages:
- Errors from the WaliChat API may indicate invalid parameters or authentication failures.
- Network or connectivity errors if the API endpoint is unreachable.
Resolutions:
- Verify all required fields are correctly filled.
- Ensure the API key credential is valid and has necessary permissions.
- Confirm that the billing plan matches the intended usage.
- Check the format of optional fields like payment intent ID.
- Enable "Continue On Fail" in the node settings to handle errors gracefully during batch operations.
Links and References
- WaliChat Official API Documentation (hypothetical link as not provided)
- n8n Documentation on Creating Custom Nodes
- General WhatsApp Business API information: https://developers.facebook.com/docs/whatsapp
Note: The above summary is based solely on static analysis of the provided source code and property definitions.