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
Team → Create Team Member
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to manage team members associated with WhatsApp numbers (devices). Specifically, the "Create Team Member" operation allows users to add a new user to a WhatsApp number's team. This is useful for organizations that want to manage multiple agents or roles within their WhatsApp communication channels, enabling role-based access and collaboration.
Practical examples include:
- Adding a new customer support agent to a WhatsApp number so they can handle incoming messages.
- Creating supervisors or admins who oversee team activities on specific WhatsApp devices.
- Assigning colors and roles to team members for better identification and management within the system.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) to which the new team member will be added. |
| Display Name | The display name for the new user (2-30 characters). |
| The email address of the new user. | |
| Password | The password for the new user (5-50 characters). |
| Role | The role assigned to the new user. Options: Admin, Supervisor, Agent. |
| Color | The color associated with the new user for UI identification. Options: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, Gray, Gray Dark. |
| Send Invitation Email | Whether to send an invitation email to the new user (boolean). |
Output
The node outputs JSON data representing the result of the create team member operation. This typically includes details about the newly created user such as their ID, assigned role, and other metadata returned by the WaliChat API.
If the operation fails and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.
No binary data output is involved in 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.
- The "WhatsApp Number" property requires loading available devices via a method named
getDevices, which implies the node fetches device options dynamically from the API.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Providing an invalid WhatsApp number (device ID) will result in errors when creating the user.
- Passwords not meeting length requirements (5-50 characters) may cause validation errors.
- Email format must be valid; otherwise, the API might reject the request.
Error messages:
- Authentication errors: Check that the API key credential is correctly configured.
- Validation errors: Ensure all required fields are provided and meet specified constraints.
- Network or API downtime: Verify network connectivity and WaliChat API status.
Links and References
- WaliChat Official API Documentation (Assumed URL, replace with actual if known)
- n8n Documentation on Creating Custom Nodes
- General best practices for managing WhatsApp Business API users and teams.