Actions18
- Assign Conversation
- Check Coupon
- Close Conversation
- Get Conversation Context
- Get Delivery Info
- Get Order Details
- Get Payment Methods
- Get Product Details
- Get Promotions
- Get Store Info
- List Customer Orders
- Lookup Order Status
- Pause AI Attendance
- Register Inbound Message
- Register Outbound Message
- Resume AI Attendance
- Search Categories
- Search Products
Close Conversation
AI-generatedSummary
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.