LangChain Code

Node catalog Artificial intelligence
On this page

Custom JS with nodulz AI helpers

Usage and specifics

Run JavaScript with nodulz AI helpers. The name does not guarantee availability of every LangChain module; check executor helpers and timeout.

Technical type : ai_langchain_code. Runtime : nodulz.

Credentials and prerequisites

This node defines no dedicated external credential. Remote sources or execution targets may still need their own access credentials.

See the credentials guide if a remote source or execution target requires access.

Parameters

Names below are technical keys. Defaults are not a ready-to-run configuration: complete fields required by your operation. Paths containing [] describe list items; some fields depend on the selected mode.

Parameter Type Default Values / limits
script string "// return { result: \"ok\" }" -
timeoutMs number 10000 -; ≥ 100

Initial configuration

Initial catalog configuration example, to adapt before running. Keep secrets in credentials.

json
{
  "script": "// return { result: \"ok\" }",
  "timeoutMs": 10000
}

Verification

Test with representative data. Check node output in the inspector and logs, then use editor mapping for downstream fields. A trigger test with a simulated payload does not validate external service delivery.

See also : Expressions and data, Executions, Node catalog.