Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node interacts with the Wassenger WhatsApp API, specifically allowing you to update a team member's details within your WhatsApp team. It is useful for managing user information such as display name, email, password, role, and color coding of team members in an automated workflow.

Practical examples include:

  • Automatically updating a team member’s role from "Agent" to "Supervisor" based on performance metrics.
  • Changing a user's display name or email address when their contact information changes.
  • Resetting passwords programmatically for team members.
  • Assigning color labels to users for easier identification in the team interface.

Properties

Name Meaning
User ID The unique identifier (24-character hexadecimal) of the user to update.
Update Fields A collection of fields to update for the user:
  Display Name New display name for the user (2-30 characters).
  Email 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 label 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 by the Wassenger API after the update operation. This typically includes the updated fields of the user such as id, display name, email, role, and color.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Wassenger WhatsApp API.
  • Needs an API key credential configured in n8n for authentication.
  • The node depends on the internal team action methods of the Wassenger integration to perform the update operation.

Troubleshooting

  • Common issues:

    • Invalid User ID format: Ensure the User ID is exactly 24 hexadecimal characters.
    • Missing required fields: The User ID must be provided; otherwise, the update cannot proceed.
    • Insufficient permissions: The API key used must have rights to update team members.
    • Validation errors on fields like display name length or password length.
  • Error messages:

    • "User not found": The specified User ID does not exist. Verify the ID.
    • "Invalid role value": Role must be one of Admin, Supervisor, or Agent.
    • "Authentication failed": Check that the API key credential is valid and has proper permissions.
    • "Validation error": Check field constraints such as string lengths and formats.

Resolving these usually involves verifying input parameters, ensuring correct API credentials, and confirming user existence in the team.

Links and References

Discussion