4Jawaly WhatsApp Sender icon

4Jawaly WhatsApp Sender

Send WhatsApp messages via 4Jawaly API

List Labels

AI-generated

Overview

This node integrates with the 4Jawaly WhatsApp API to perform various WhatsApp-related operations such as sending messages (text, interactive, image, audio, video, document, location, template), managing conversations (assigning/unassigning conversations and labels), and retrieving data (listing WhatsApp accounts, projects, and labels). It is useful for automating WhatsApp communication and management within workflows, for example, sending bulk WhatsApp messages, managing customer conversations, or organizing chats with labels.

Use Case Examples

  1. Sending an interactive WhatsApp message with buttons to a customer.
  2. Listing WhatsApp labels filtered by a search word to organize conversations.
  3. Assigning a label to a specific WhatsApp conversation to categorize it.
  4. Sending a WhatsApp image with a caption to a user.

Properties

Name Meaning
Search Word Optional search keyword to filter WhatsApp labels when listing them.
Take Number of WhatsApp label results to retrieve.
Additional Options Additional parameters such as batch size for requests and timeout duration in milliseconds.

Output

JSON

  • success - Indicates if the operation was successful.
  • operation - The operation performed, e.g., 'listLabels'.
  • data - Array of WhatsApp labels with details like id, name, color, account info, and timestamps.
  • count - Number of labels returned.
  • pagination
    • current_page - Current page number in paginated results.
    • last_page - Last page number in paginated results.
    • per_page - Number of items per page.
    • total - Total number of items available.
  • search_word - The search word used for filtering labels, if any.
  • take - Number of results requested.
  • message - API response message.
  • raw_response - Full raw API response for debugging or further processing.

Dependencies

  • 4Jawaly WhatsApp API

Troubleshooting

  • Ensure valid API credentials are provided; authentication errors will occur otherwise.
  • Check that the 'searchWord' parameter is properly URL-encoded if used.
  • API rate limits or timeouts may cause request failures; adjust 'timeout' and 'batchSize' accordingly.
  • Error messages from the API are propagated; verify the message content and parameters for correctness.
  • For 'listLabels', ensure the API response structure matches expected format; unexpected structures cause errors.

Links

Discussion