Actions34
- Cliente Actions
- Catálogo Actions
- Pedido Actions
- Conversa Actions
- Contexto Actions
- Telemetria Actions
- Canal WhatsApp Actions
- Paciente Actions
- Procedimento Actions
- Agenda Actions
- Agendamento Actions
- Lembrete Odonto Actions
Pedido → Cotar
AI-generatedSummary
Generate and persist a canonical quotation (cotação canônica) for an order with official pricing, quantity, and configuration details using structured input data.
Inputs
- Cotação (Corpo JSON) (required) — A JSON object representing the canonical quote body, which includes client phone, an array of items (each with produto_id, consulta_original, quantidade_original, quantidade_informada), delivery type, delivery address, scheduled time, payment method, delivery fee, discount, charges array (where paid_addon charges must only contain regra_chave and operational_config_revision_id), and optional observations.
- Message ID da Cotação (required) — A real message ID from the workflow turn, combined with a hash of the quotation payload to create an idempotency key ensuring that repeated requests with the same data do not produce duplicate quotes.
- Token ID Dinamico — Optional dynamic token returned by multi-tenant bootstrap, which must be used together with the dynamic signing secret if provided.
- Signing Secret Dinamico — Optional ephemeral signing secret from bootstrap, must be used together with the dynamic token ID and must never be logged or stored.
Output shape
a single JSON response object
Returns the quotation data as persisted by the Núcleo Wondai server. The operation uses a deterministic idempotency key generated from the token ID, message ID, and canonical payload to prevent duplicate quotations. Errors throw exceptions or are passed on depending on node configuration.