Léo Delivery Attendance icon

Léo Delivery Attendance

Ferramentas de atendimento WhatsApp para o Léo Delivery.

Close Conversation

AI-generated

Summary

Closes a WhatsApp conversation by sending a POST request to the merchant API for the supplied conversation ID. The Reason and Message fields are exposed for this operation but are not included in the request.

Inputs

  • Conversation ID (required) — The conversation UUID; defaults to the incoming item's conversationId or conversation.id.
  • Message — Defaults to the incoming item's message or text, but the operation does not use it in the API request.
  • Reason — Defaults to the incoming item's reason or message, but the operation does not use it in the API request.
  • Credentials (required) — Léo Delivery system authentication credentials used to address and authorize the merchant API request.

Output shape

A success response object for each input item, routed to the first output.

The response contains success: true, operation: close_conversation, data with the API response, and a Portuguese success message. The node also defines a second output for not-found results, but only routes failed get_merchant_by_whatsapp_instance results there.

Links

Discussion