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 → Update Team Member
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API, specifically allowing management of team members within a WhatsApp business environment. The "Update Team Member" operation lets you modify details of an existing user in your team, such as their display name, email, password, role, and color.
Common scenarios include:
- Updating a team member’s contact information or credentials.
- Changing a user's role to adjust permissions (e.g., promoting an agent to supervisor).
- Customizing user interface elements like color coding for easier identification.
Practical example:
- When a new employee joins your support team, you can update their profile with their name, assign them the "Agent" role, and set a preferred color for chat identification.
Properties
| Name | Meaning |
|---|---|
| User ID | ID of the user to update (24 characters hexadecimal). |
| Update Fields | Collection of fields to update for the user: |
| Display Name | New display name for the user (2-30 characters). |
| New email address for the user. | |
| Password | New password for the user (5-50 characters). |
| Role | New role for the user. Options: Admin, Supervisor, Agent. |
| Color | New color for the user. Options: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, Gray, Gray Dark. |
Output
The node outputs JSON data representing the updated user object returned from the WaliChat API after the update operation. This typically includes the user's updated properties such as ID, display name, email, role, and color.
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 and properly configured.
- No additional environment variables are explicitly required beyond the API key.
Troubleshooting
- Invalid User ID: If the provided User ID is not 24 characters or does not exist, the API will likely return an error. Verify the User ID format and existence.
- Validation Errors: Display name length must be between 2 and 30 characters; password length between 5 and 50 characters. Ensure these constraints are met.
- Permission Issues: Attempting to assign roles without proper permissions may cause errors. Confirm that the API key has rights to update team members.
- Network/Authentication Failures: Check API key validity and network connectivity if requests fail.
- Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error messages in the output JSON.
Links and References
- WaliChat Official API Documentation (Assumed URL for reference)
- n8n Documentation on Creating Custom Nodes
- General best practices for managing team users in WhatsApp Business APIs.