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.

Agendamento → Solicitar

AI-generated

Summary

Register a scheduling request for a clinic without an accessible agenda by submitting patient details, request subject, and preferred time, which opens a handoff and returns a pre-written group notification from the server without booking a specific time slot.

Inputs

  • Nome do Paciente (required) — Name of the patient as provided by the person to be attended.
  • Telefone — Channel phone number in E.164 format; optional. If omitted, the notification shows as contact not informed.
  • Assunto (required) — Subject or reason for the request, described in the patient's own words; not a clinical classification and should not become one.
  • Preferência de Horário — Free text describing preferred time (e.g., "quinta de manhã"). The agenda is neither consulted nor changed.
  • Idempotency Key — Optional unique string for idempotency; if not provided, the node generates a UUID per execution.
  • Token ID Dinamico — Optional dynamic token returned by multi-tenant bootstrap; must be used together with the dynamic signing secret.
  • Signing Secret Dinamico — Optional ephemeral secret returned by bootstrap; for security, never log this value.

Output shape

a JSON object with the server's response to the scheduling request.

The operation issues a signed POST request to /api/v1/agent/agendamento/solicitar with the provided fields; the response includes a pre-made notification text for the scheduling group. This operation does not create or reserve a time slot in the agenda.

Links

Discussion