Wasapi icon

Wasapi

Official integration of the Wasapi API for n8n

Agent → Change Chat Status or Transfer

AI-generated

Summary

Change the status of a WhatsApp chat conversation or transfer it by assigning it to a specific agent with an optional message note.

Inputs

  • Phone Wasapi Name or ID (required) — Select the phone number or ID of your wasapi account from the list or use an expression.
  • Recipient Name or ID (required) — Enter the recipient's phone number (with country code and no '+' or spaces), BSUID, or WhatsApp username.
  • Status (required) — Choose the chat status to assign: Open, Hold, or Closed.
  • (Optional) Agent — If setting the status to Open, optionally select the agent to assign the chat to, either from a searchable list or by specifying an agent ID.
  • (Optional) Message — Include a note message if transferring the chat.

Output shape

a single JSON object representing the operation result indicating success or failure, with any returned details from the API.

The operation updates the chat state on the selected Wasapi phone account and returns the API response. If an agent is assigned, the chat is transferred to that agent. No pagination or multiple records are returned.

Links

Discussion