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
Labels → Create Label
AI-generatedOverview
The node integrates with the WaliChat WhatsApp API to manage labels associated with WhatsApp numbers. Specifically, the "Create Label" operation allows users to create a new label for a specified WhatsApp number, assigning it a name, color, and optional description. This is useful for organizing contacts or chats by categorizing them with meaningful labels.
Practical scenarios include:
- Tagging customers by interest or status (e.g., "VIP", "New Lead").
- Organizing chats for campaigns or support purposes.
- Color-coding labels for quick visual identification in WhatsApp management tools.
Properties
| Name | Meaning |
|---|---|
| WhatsApp number | The ID of the WhatsApp number where the label will be created. |
| Label Name | The name of the label to create. |
| Label Color | The color assigned to the label. Options: Ruby, Tomato, Orange, Sunflower, Bubble, Rose, Poppy, Rouge, Raspberry, Purple, Lavender, Violet, Pool, Emerald, Kelly, Apple, Turquoise, Aqua, Gold, Latte, Cocoa, Iron. |
| Description | An optional short description providing additional context about the label. |
Output
The node outputs JSON data representing the result of the label creation operation. This typically includes details of the newly created label such as its ID, name, color, description, and possibly metadata returned by the WaliChat API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API.
- Needs an API key credential configured in n8n for authentication with the WaliChat service.
- The node depends on internal methods that handle label operations via the WaliChat API.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID can cause failures.
- Using a label name that already exists might lead to errors depending on API constraints.
- Incorrect or missing API credentials will prevent successful API calls.
Error messages:
- Errors related to authentication usually indicate invalid or missing API keys; verify credentials setup.
- Validation errors may occur if required properties like label name or color are missing or invalid.
- Network or API downtime errors require checking connectivity and WaliChat service status.
To resolve these, ensure all required fields are correctly filled, credentials are valid, and the WhatsApp number ID exists and is accessible.
Links and References
- WaliChat API Documentation (hypothetical link)
- n8n documentation on Creating Custom Nodes
- General WhatsApp Business API guidelines for label management