Actions28
- Message Actions
- Chat Actions
- Contact Actions
- Session Actions
- Media Actions
- Storage Actions
- Webhook Actions
- Ticket Actions
Ticket → Set Status
AI-generatedSummary
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
errormessage 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
