Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node integrates with the Wassenger WhatsApp API to manage team members associated with WhatsApp numbers (devices). Specifically, the "Create Team Member" operation allows you to add a new user to a WhatsApp number's team. This is useful for organizations that want to collaboratively manage WhatsApp communications by assigning roles such as Admin, Supervisor, or Agent to different users.

Common scenarios include:

  • Adding support agents to a shared WhatsApp business number.
  • Assigning supervisors or admins to oversee WhatsApp conversations.
  • Automating team member creation as part of onboarding workflows.

Example: Automatically create a new agent user for a specific WhatsApp number when a new employee joins your customer support team.

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 of the new user (between 2 and 30 characters).
Email The email address of the new user.
Password The password for the new user (between 5 and 50 characters).
Role The role assigned to the new user. Options: Admin, Supervisor, Agent.
Color The color associated with the new user. 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 team member creation operation. This typically includes details about the newly created user such as their ID, assigned role, and other metadata returned by the Wassenger 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 Wassenger WhatsApp API.
  • The node depends on the Wassenger service being accessible and properly configured.
  • The "WhatsApp Number" property relies on dynamically loaded options from the user's available devices via the getDevices method.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential can cause authentication failures.
    • Providing an invalid WhatsApp number ID will result in errors.
    • Passwords not meeting length requirements (5-50 characters) may cause validation errors.
    • Email format must be valid; otherwise, the API might reject the request.
    • If the invitation email option is enabled but email sending is misconfigured on Wassenger's side, the invitation might not be delivered.
  • Error messages:

    • Authentication errors: Check that the API key credential is correctly set up.
    • Validation errors: Ensure all required fields are provided and meet specified constraints.
    • Network or API errors: Verify network connectivity and Wassenger API status.

Links and References

Discussion