4Jawaly WhatsApp Sender icon

4Jawaly WhatsApp Sender

Send WhatsApp messages via 4Jawaly API

Assign Conversation

AI-generated

Overview

This node operation assigns a WhatsApp conversation to a specific agent account using the 4Jawaly API. It is useful in scenarios where conversations need to be managed and delegated to different agents for handling customer interactions efficiently. For example, a customer support team can use this node to assign incoming WhatsApp chats to available agents automatically or manually.

Use Case Examples

  1. Assign a WhatsApp conversation with Dialog ID 123 to an agent with Account ID 456 to ensure the right agent handles the chat.
  2. Automate conversation assignment in a customer support workflow to improve response times and accountability.

Properties

Name Meaning
Dialog ID The unique identifier of the WhatsApp conversation to be assigned.
Account ID The unique identifier of the agent account to whom the conversation will be assigned.
Additional Options Optional settings such as batch size for requests and timeout duration in milliseconds.

Output

JSON

  • success - Indicates if the conversation assignment was successful.
  • operation - The operation performed, here it will be 'assignConversation'.
  • message - A message confirming the success of the assignment.
  • dialog_id - The Dialog ID of the assigned conversation.
  • account_id - The Account ID of the agent to whom the conversation was assigned.
  • raw_response - The full raw response from the 4Jawaly API for debugging or logging purposes.

Dependencies

  • Requires 4Jawaly API credentials for authentication.

Troubleshooting

  • Ensure that the Dialog ID and Account ID are valid and greater than zero; otherwise, the node will throw an error.
  • Check API credentials and network connectivity if the node fails to communicate with the 4Jawaly API.
  • If the API returns an error message, verify that the conversation and agent exist and that the API user has the necessary permissions.

Discussion