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.

Contexto → Consultar Data

AI-generated

Summary

Send a signed POST request to Núcleo Wondai API to retrieve operational context data filtered by specified scopes, date, city, subjects, and unit ID.

Inputs

  • Token ID Dinamico — Optional dynamic token ID returned by multi-tenant bootstrap; used together with the dynamic Signing Secret.
  • Signing Secret Dinamico — Optional ephemeral signing secret from bootstrap; never log this value.
  • Data — Date in YYYY-MM-DD format, required only if 'Horarios' scope is included. Must be within ±366 days.
  • Escopos (required) — An array of context scopes to request, such as identity, operation, hours, delivery, payment, commercial rules, menus, and promotions.
  • Cidade — Optional city or neighborhood name to validate delivery area.
  • Assuntos — Optional free text subjects separated by lines or commas for telemetry or context of the current question.
  • Unidade ID — Optional unit ID, validated against the token binding by the server (compatibility only).

Output shape

A JSON object containing the requested context data filtered according to provided scopes and parameters.

The operation sends a POST request to /api/v1/agent/contexto/consultar with a JSON body containing provided fields. Use this operation as an AI tool on demand to get precise context slices, not as fixed prompt context. The results include only the requested scopes like hours or payment info for the provided date and location parameters.

Links

Discussion