nalu-XXXXXXXXXX.
In N8N, go to Settings β Community Nodes β Install and enter:
Restart N8N if prompted. The NaLU AI node will appear in the node panel.
On first use, N8N will ask for credentials:
Click Create new credential β NaLU AI API
Paste your API key in the API Key field:
Click Save. Reuse this credential across all NaLU nodes.
Drag the NaLU AI node, connect it to the previous node's output and fill in:
Agent Message + User Reply. The node adjusts automatically when you select that validator.
Add an IF node after NaLU AI:
Use $json.extracted_value to continue the flow.
Send $json.suggestion_to_agent back to the user and wait for a new reply.
In N8N click Import workflow and paste the JSON below. Replace the credential with yours.
{"nodes":[{"parameters":{},"id":"faf0378d-853d-4d28-b436-fe0b492698ba","name":"When clicking 'Test workflow'","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[-496,-48]},{"parameters":{"fields":{"values":[{"name":"agent_input","stringValue":"Good morning! What is your name?"},{"name":"user_input","stringValue":"Good morning!"}]},"options":{}},"id":"525c03df-d299-4c93-abe3-d0cb3b974c92","name":"Test Data","type":"n8n-nodes-base.set","typeVersion":3,"position":[-272,-48]},{"parameters":{"agent_input":"={{ $json.agent_input }}","user_input":"={{ $json.user_input }}","language":"en"},"id":"de84d078-001c-4c5a-a46d-e898e521e9af","name":"NaLU AI","type":"n8n-nodes-nalu-ai.naluAi","typeVersion":1,"position":[-48,-48],"credentials":{"naluAiApi":{"id":"Un73vppDrR5VJlwl","name":"NaLU AI account"}}}],"connections":{"When clicking 'Test workflow'":{"main":[[{"node":"Test Data","type":"main","index":0}]]},"Test Data":{"main":[[{"node":"NaLU AI","type":"main","index":0}]]}},"pinData":{}}
Available as $json.field in the next node:
| Field | Description |
|---|---|
| obtained | true/false β whether the data was extracted |
| extracted_value | The clean, normalized value (e.g. "111.444.777-35") |
| certain | false = ask for confirmation before saving |
| confidence | low / medium / high |
| suggestion_to_agent | Ready-to-send message when obtained=false |
| reply_type | validate_reply only: confirmation, counter_proposal, handoff, rejection, cancel, unclear |
extracted_value, returns a structured address object with street, neighborhood, city and state.