WAOtomatis icon

WAOtomatis

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

Ticket → Reply

AI-generated

Summary

Adds a reply message to an existing WAOtomatis support ticket thread by posting the body text to the ticket's messages endpoint.

Inputs

  • ticketId (required) — ID of the ticket to reply to. It is URL-encoded and used in the request path /v1/tickets/{ticketId}/messages.
  • body (required) — Text of the reply, entered in a multi-line field. It is sent as the body field of the request.

Output shape

One output item per input item. Its json is the API's response to the POST, which is presumably the created reply or the updated ticket message.

The source doesn't define the response fields, so they depend on the WAOtomatis API. Tickets are organization-scoped, so no session is needed. Requires the waotomatisApi credential. API errors are raised as NodeApiError with the API's message and code. With Continue On Fail enabled, a failed item returns json {error: message}.

Examples

Example 1: Send an acknowledgement after a ticket is created earlier in the workflow.

Resource: Ticket, Operation: Reply, Ticket ID: {{$json.id}}, Body: 'Thanks, we are looking into this.'

Example 2: Post an automated answer to a ticket, for example one generated by an AI node.

Ticket ID from a previous Ticket → Get node, Body: {{$json.output}}

Links

Discussion