Núcleo Wondai icon

Núcleo Wondai

Atendimento de IA no Núcleo Wondai: preparar conversa (GATE liga/desliga + contexto operacional ANTES da LLM), buscar cliente, resolver catálogo (fuzzy), criar/alterar/cancelar pedido, consultar contexto e registrar conversa. Assinatura HMAC; o tenant vem do token.

Pedido → Validar Cotação (Dry-Run)

AI-generated

Summary

Validate a canonical order quote without persisting it by sending the provided JSON quote body to the Núcleo API's dry-run validation endpoint.

Inputs

  • Token ID Dinamico — Optional dynamic token for multi-tenant bootstrap, to be used together with the dynamic Signing Secret.
  • Signing Secret Dinamico — Optional ephemeral signing secret from bootstrap; must be kept confidential.
  • Cotação (Corpo JSON) (required) — The canonical quote JSON body containing client phone, items array (with product_id, original and informed quantities), delivery type, delivery address, scheduled time, payment method, delivery fee, discount, charges array, and observations. For paid_addon charges, only send rule_key and operational_config_revision_id, never name or value.

Output shape

a JSON object matching the Núcleo quote format with dry_run=true indicating validation results without modifying state

Returns the same quote shape as a standard quote but marked with dry_run: true. Does not create or persist any data on the server. Inputs are validated to conform to the quote contract. Errors are returned as HTTP status 4xx or 5xx with error details.

Examples

Example 1: Validate a proposed order quote JSON payload to check pricing and structure before actual creation

Provide the canonical quote JSON body in 'Cotação (Corpo JSON)' parameter with optional dynamic tokenId and signingSecret; execute the node with resource=Pedido and operation=Validar Cotação (Dry-Run)

Links

Discussion