Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node integrates with the Wassenger 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 (device). Labels help organize and categorize chats or contacts within the WhatsApp environment, making it easier to filter, search, and manage conversations.

Common scenarios where this node is beneficial:

  • Automatically tagging incoming chats with specific labels based on business rules.
  • Organizing customer conversations by categories such as "Support", "Sales", or "VIP".
  • Creating color-coded labels to visually distinguish different types of interactions in WhatsApp management tools.

Practical example:

A support team wants to tag all chats coming from a particular WhatsApp number with a label named "Priority" colored red. Using this node's Create Label operation, they can programmatically create that label and then apply it to relevant chats.


Properties

Name Meaning
WhatsApp number The ID of the WhatsApp number (device) for which the label will be created.
Label Name The name of the label to create.
Label Color The color of the label. Options include Ruby, Tomato, Orange, Sunflower, Bubble, Rose, Poppy, Rouge, Raspberry, Purple, Lavender, Violet, Pool, Emerald, Kelly, Apple, Turquoise, Aqua, Gold, Latte, Cocoa, Iron.
Description A short description of the label (optional).

Output

The node outputs JSON data representing the result of the label creation operation. This typically includes details about the newly created label such as its ID, name, color, description, and association with the specified WhatsApp number.

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 to authenticate requests to Wassenger.
  • The WhatsApp number (device) must be registered and accessible via the Wassenger account.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number ID: Ensure the device ID corresponds to a valid WhatsApp number in your Wassenger account.
    • Duplicate label names: Some APIs may reject creating labels with names that already exist for the same device.
    • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Error messages:

    • "Invalid device ID": Check that the WhatsApp number provided exists and is correct.
    • "Label name already exists": Use a unique label name or update the existing label instead.
    • "Authentication failed": Recheck the API key credential configuration.

Links and References

Discussion