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 Name (Validate_name)
AI-generatedSummary
Extracts a person's full name from a chatbot user's free-text reply by calling the NaLU AI API, ignoring greetings and titles. Sends the agent's question and the user's answer to the service and returns its JSON response.
Inputs
- agent_input (required) — The question or statement the chatbot sent to the user (e.g. "Qual o seu nome?"). Gives the API context for interpreting the reply.
- user_input (required) — The user's raw reply that contains the name (e.g. "Bom dia! Me chamo João Silva").
- language — Conversation language: English (en), Portuguese (Brazil) (pt-BR), or Spanish (es). Defaults to pt-BR.
Output shape
One output item per input item, whose JSON is the response body returned by NaLU AI's POST /v1/extract/name endpoint.
The exact response fields are not defined in the node source; they come from the API. Requires the naluAiApi credential. With Continue On Fail enabled, failed items return {error: message}; otherwise the node throws a NodeOperationError. Items are processed one at a time, each making its own HTTP request.
Examples
Example 1: A chatbot asks for the customer's name and the user replies with a greeting plus their name.
agent_input: "Qual o seu nome?"; user_input: "Bom dia! Me chamo João Silva"; language: pt-BR.
Example 2: English-language onboarding flow that maps the incoming message from a previous node.
agent_input: "What's your full name?"; user_input: expression {{ $json.message }}; language: en.