4Jawaly WhatsApp Sender icon

4Jawaly WhatsApp Sender

Send WhatsApp messages via 4Jawaly API

Assign Label

AI-generated

Overview

This node integrates with the 4Jawaly WhatsApp API to perform various WhatsApp messaging and management operations. Specifically, the 'Assign Label' operation allows users to assign a label to a WhatsApp conversation by providing the conversation's Dialog ID and the Label ID. This is useful for categorizing or tagging conversations for better organization and workflow management within WhatsApp communications.

Use Case Examples

  1. Assign a label to a specific WhatsApp conversation to categorize it for follow-up or support purposes.
  2. Use the node to automate labeling of conversations based on certain triggers or conditions in your workflow.

Properties

Name Meaning
WhatsApp Dialog ID The unique identifier of the WhatsApp conversation (Dialog ID) to which the label will be assigned.
WhatsApp Label ID The unique identifier of the label to assign to the WhatsApp conversation.
Additional Options Optional settings including batch size for requests and timeout duration in milliseconds.

Output

JSON

  • success - Indicates if the label assignment was successful.
  • operation - The operation performed, here it will be 'assignLabel'.
  • message - A message confirming the label was assigned successfully.
  • whatsapp_dialog_id - The Dialog ID of the WhatsApp conversation.
  • whatsapp_label_id - The Label ID assigned to the conversation.
  • raw_response - The raw API response from the label assignment request.

Dependencies

  • Requires 4Jawaly API credentials for authentication.

Troubleshooting

  • Ensure that both WhatsApp Dialog ID and WhatsApp Label ID are provided and greater than 0; otherwise, the node will throw an error.
  • If the API returns 'api.not_found', verify that the Dialog ID and Label ID exist and are correct.
  • Check network connectivity and API credentials if requests time out or fail.
  • Error messages from the API are propagated; review the raw_response for detailed error information.

Links

Discussion