Actions13
- Validate Birthdate (Validate_birthdate)
- Validate Cancel Intent (Validate_cancel_intent)
- Validate CEP (Validate_cep)
- Validate CNPJ (Validate_cnpj)
- Validate CPF (Validate_cpf)
- Validate Email (Validate_email)
- Validate Handoff (Validate_handoff)
- Validate License Plate BR (Validate_plate_br)
- Validate Name (Validate_name)
- Validate Phone (Validate_phone)
- Validate Postal Code (Validate_postal_code)
- Validate Reply Context (Validate_reply)
- Validate Yes/No (Validate_yes_no)
Validate CEP (Validate_cep)
AI-generatedSummary
Extracts a Brazilian CEP (postal code) from a user's chatbot reply via the NaLU AI API and returns enriched address data. The agent's question gives context for the extraction.
Inputs
- agent_input (required) — The question or statement the chatbot sent to the user (e.g. "Qual o seu CEP?"). Gives the validator context.
- user_input (required) — The user's reply text that should contain the CEP.
- language — Conversation language: English (en), Portuguese (Brazil) (pt-BR, default), or Spanish (es).
Output shape
One output item per input item. Its json is the raw response from NaLU AI's POST https://naluai.dev/v1/extract/cep, with the extracted CEP and enriched address data.
The exact response fields aren't defined in the node source; they come straight from the API. Requires the naluAiApi credential. With Continue On Fail enabled, a failed item returns json {error: message} instead of stopping the workflow. Each output item is paired to its input item.
Examples
Example 1: Capture a customer's CEP in a WhatsApp chatbot flow and get the address.
Agent Prompt/Question = "Qual o seu CEP?"; User Reply = {{ $json.message }}; Language = pt-BR.