@n8n/instance-ai 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Per-trigger `inputData` shape
|
|
2
|
+
|
|
3
|
+
Used by `verify-built-workflow`, `executions(action="run")`, and checkpoint
|
|
4
|
+
verification. The pin-data adapter spreads or wraps based on trigger type —
|
|
5
|
+
passing the wrong shape gives null downstream values that look like an
|
|
6
|
+
expression bug.
|
|
7
|
+
|
|
8
|
+
## Form Trigger (`n8n-nodes-base.formTrigger`)
|
|
9
|
+
|
|
10
|
+
Flat field map, e.g. `{name: "Alice", email: "a@b.c"}`. The production Form
|
|
11
|
+
Trigger emits each field directly on `$json`, so the builder's `$json.<field>`
|
|
12
|
+
expressions are correct. **Do NOT wrap in `formFields`** — the adapter will
|
|
13
|
+
reject the call.
|
|
14
|
+
|
|
15
|
+
## Webhook (`n8n-nodes-base.webhook`)
|
|
16
|
+
|
|
17
|
+
The body payload, e.g. `{event: "signup", userId: "..."}`. The adapter wraps it
|
|
18
|
+
under `body`, so downstream nodes reference `$json.body.<field>`.
|
|
19
|
+
|
|
20
|
+
## Chat Trigger (`@n8n/n8n-nodes-langchain.chatTrigger`)
|
|
21
|
+
|
|
22
|
+
`{chatInput: "user message"}`.
|
|
23
|
+
|
|
24
|
+
## Schedule Trigger (`n8n-nodes-base.scheduleTrigger`)
|
|
25
|
+
|
|
26
|
+
Omit `inputData`; the adapter emits synthetic timestamp fields.
|
|
27
|
+
|
|
28
|
+
## Other event triggers
|
|
29
|
+
|
|
30
|
+
Linear, GitHub, Slack, MCP, and similar triggers: pass `inputData` matching the
|
|
31
|
+
trigger's expected payload shape from the node type definition.
|
|
32
|
+
|
|
33
|
+
## Debugging wrong null values
|
|
34
|
+
|
|
35
|
+
**Do not patch a workflow first when verify returns null downstream values.**
|
|
36
|
+
Re-run verify with the corrected `inputData` shape. Only patch the workflow if
|
|
37
|
+
the expression is wrong against the *production* trigger output shape (consult
|
|
38
|
+
node descriptions), not the `instanceAi` pin data path.
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/instance-ai",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*",
|
|
9
|
+
"knowledge-base/**/*",
|
|
9
10
|
"skills/**/*",
|
|
10
11
|
"LICENSE_EE.md",
|
|
11
12
|
"LICENSE.md"
|
|
@@ -51,12 +52,12 @@
|
|
|
51
52
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
|
|
52
53
|
"zod": "3.25.67",
|
|
53
54
|
"zod-from-json-schema-v3": "npm:zod-from-json-schema@^0.0.5",
|
|
55
|
+
"@n8n/agents": "0.11.0",
|
|
54
56
|
"@n8n/api-types": "1.26.1",
|
|
55
57
|
"@n8n/mcp-browser": "0.9.1",
|
|
56
58
|
"@n8n/utils": "1.34.0",
|
|
57
|
-
"n8n-
|
|
58
|
-
"
|
|
59
|
-
"@n8n/workflow-sdk": "0.19.1"
|
|
59
|
+
"@n8n/workflow-sdk": "0.19.1",
|
|
60
|
+
"n8n-workflow": "2.26.1"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@ai-sdk/anthropic": "^3.0.81",
|
|
@@ -69,9 +70,9 @@
|
|
|
69
70
|
"tsx": "^4.19.3",
|
|
70
71
|
"vitest": "^4.1.1",
|
|
71
72
|
"vitest-mock-extended": "^3.1.0",
|
|
73
|
+
"@n8n/ai-workflow-builder": "1.26.1",
|
|
72
74
|
"@n8n/typescript-config": "1.5.0",
|
|
73
|
-
"@n8n/vitest-config": "1.14.0"
|
|
74
|
-
"@n8n/ai-workflow-builder": "1.26.1"
|
|
75
|
+
"@n8n/vitest-config": "1.14.0"
|
|
75
76
|
},
|
|
76
77
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
77
78
|
"homepage": "https://n8n.io",
|