Léo Delivery Attendance icon

Léo Delivery Attendance

Ferramentas de atendimento WhatsApp para o Léo Delivery.

Lookup Order Status

AI-generated

Summary

Looks up an order’s status from the payments API using the merchant ID, customer phone, and order code (falling back to the message text for the code). Returns the API response in a success envelope.

Inputs

  • Merchant ID (required) — Store UUID sent as the merchantId query parameter; defaults to the incoming item’s merchantId.
  • Customer Phone (required) — Customer phone in international format, sent as customerPhone; defaults to the incoming item’s customerPhone or phone.
  • Order Code (required) — Order code sent as orderCode. Defaults to the incoming item’s orderCode, code, or message. The Message field is also used as a fallback if Order Code is empty.
  • Message — Message text sent as a fallback order code when Order Code is empty. Defaults to the incoming item’s message or text.

Output shape

A success response object per input item, on the first output.

Each object contains success: true, operation: "lookup_order_status", data with the payments API response, and a Portuguese success message. The node also has a second output, but this operation does not route results to it. HTTP errors fail the node operation.

Links

Discussion