WAOtomatis icon

WAOtomatis

Send WhatsApp messages and manage chats, contacts, media, storage, webhooks and tickets via WAOtomatis

Ticket → Set Status

AI-generated

Summary

Changes the status of a WAOtomatis support ticket by sending a PATCH to /v1/tickets/{ticketId} with the chosen status.

Inputs

  • Ticket ID (required) — ID of the ticket to update. It is URL-encoded into the request path.
  • Status — New status: Open, Pending, Resolved or Closed. Defaults to Open, so change it if you want any other status.

Output shape

One item per input item, containing the JSON response from the WAOtomatis API (the API's response to the ticket update).

The source doesn't define the response fields; the node returns whatever the API sends. Tickets are organization-scoped, so no session is needed. API errors are thrown as NodeApiError with the API's message and code. With Continue On Fail enabled, an error item with an error message is output instead.

Examples

Example 1: Close a ticket after a customer confirms their issue is fixed.

Ticket ID = {{$json.ticketId}}, Status = Closed

Example 2: Mark a ticket as Pending while waiting for customer input.

Ticket ID = ticket id from a previous Create node, Status = Pending

Links

Discussion