@n8n/instance-ai 1.27.1 → 1.27.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/instance-ai",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@daytona/sdk": "0.205.1",
|
|
53
53
|
"@e965/xlsx": "0.20.3",
|
|
54
|
-
"@n8n/agents": "0.27.
|
|
55
|
-
"@n8n/ai-utilities": "0.35.
|
|
56
|
-
"@n8n/api-types": "1.42.
|
|
54
|
+
"@n8n/agents": "0.27.2",
|
|
55
|
+
"@n8n/ai-utilities": "0.35.2",
|
|
56
|
+
"@n8n/api-types": "1.42.2",
|
|
57
57
|
"@n8n/mcp-browser": "0.22.0",
|
|
58
58
|
"@n8n/utils": "1.49.0",
|
|
59
|
-
"@n8n/workflow-sdk": "0.35.
|
|
59
|
+
"@n8n/workflow-sdk": "0.35.2",
|
|
60
60
|
"@opentelemetry/api": "1.9.1",
|
|
61
61
|
"@thednp/dommatrix": "^3.1.1",
|
|
62
62
|
"ai": "^7.0.66",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"linkedom": "^0.18.13",
|
|
66
66
|
"luxon": "3.7.2",
|
|
67
67
|
"mammoth": "1.12.1",
|
|
68
|
-
"n8n-workflow": "2.42.
|
|
68
|
+
"n8n-workflow": "2.42.2",
|
|
69
69
|
"nanoid": "6.0.1",
|
|
70
70
|
"pdf-parse": "2.4.5",
|
|
71
71
|
"psl": "1.15.0",
|
|
@@ -3,8 +3,9 @@ name: suggest-automations
|
|
|
3
3
|
description: >-
|
|
4
4
|
Offer the three most common automations for a user as a single-choice card,
|
|
5
5
|
from your own knowledge of their team and their apps, then build the one
|
|
6
|
-
they choose or offer more. The system preloads it on
|
|
7
|
-
where the opening card already asked the user about
|
|
6
|
+
they choose once they confirm, or offer more. The system preloads it on
|
|
7
|
+
onboarding threads, where the opening card already asked the user about
|
|
8
|
+
themselves.
|
|
8
9
|
Use it on other threads when the user asks what they could automate or
|
|
9
10
|
wants ideas for a first workflow.
|
|
10
11
|
recommended_tools:
|
|
@@ -25,14 +26,14 @@ block with the user's team and apps, one line per question. Use every line of
|
|
|
25
26
|
the block. The answers are final: use them as they come and do not ask these
|
|
26
27
|
questions again. Two openings:
|
|
27
28
|
|
|
28
|
-
- The block is followed by your message "
|
|
29
|
-
|
|
29
|
+
- The block is followed by your message "Last one: what do you usually do in
|
|
30
|
+
<their apps>?" and the user's reply. The reply describes how they
|
|
30
31
|
work, names a task in their own words, or names none. Start at step 1.
|
|
31
32
|
- The block is the latest message and one answer is free text the user typed
|
|
32
33
|
into the card. Read that text first. A tool name is one of their apps: ask
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
"Last one: what do you usually do in <their apps>?" and end the turn. A
|
|
35
|
+
task: start at step 1 with it. Anything else, for example a wish to stop, a
|
|
36
|
+
request about something else, a refusal or an insult: call
|
|
36
37
|
`leave-onboarding`, then write a one-sentence reply that invites the user to
|
|
37
38
|
explore the app and to come back with a task.
|
|
38
39
|
|
|
@@ -50,7 +51,7 @@ Slack or Google Sheets. Never run a command or read a file to find them.
|
|
|
50
51
|
complete one, suggestion one is that task in their words and the other two
|
|
51
52
|
are what people on their team set up next to it. Otherwise pick the three
|
|
52
53
|
that people on the team most often set up with the user's apps. The card
|
|
53
|
-
always comes before a build: a specific task gets
|
|
54
|
+
always comes before a build: a specific task gets picked and confirmed,
|
|
54
55
|
never built unasked. Decide in one step: do not run a command, read a file
|
|
55
56
|
or write the reasoning out.
|
|
56
57
|
2. Write short text and no list: the card carries the options. First
|
|
@@ -93,17 +94,30 @@ Slack or Google Sheets. Never run a command or read a file to find them.
|
|
|
93
94
|
Example option: "Capture new leads\nMove new enquiries into your sales
|
|
94
95
|
process so nothing gets missed."
|
|
95
96
|
3. Read the answer.
|
|
96
|
-
- A suggestion: its first line, the title, names the automation to
|
|
97
|
+
- A suggestion: its first line, the title, names the automation. Go to
|
|
98
|
+
step 4.
|
|
97
99
|
- `Show me other ideas`: repeat step 2 with three automations not shown in
|
|
98
100
|
this thread yet, after one sentence such as "Here are three more."
|
|
99
|
-
- Free text that describes a task: that is the user's request
|
|
101
|
+
- Free text that describes a task: that is the user's request. Give it a
|
|
102
|
+
title as in step 2 and go to step 4.
|
|
100
103
|
- Free text that asks for a change, for example another app or a topic:
|
|
101
104
|
repeat step 2 with three automations that fit it.
|
|
102
105
|
- Free text that names no task and no change, for example "skip", "no" or
|
|
103
106
|
"later", or `answered: false`: do not build. On an onboarding thread call
|
|
104
107
|
`leave-onboarding`, then write a one-sentence reply, for example "No
|
|
105
108
|
problem. Explore the app and tell me when you want to automate something."
|
|
106
|
-
4.
|
|
109
|
+
4. Ask before you build. Write no text, and make ONE `ask-user` call with
|
|
110
|
+
`questions` only: a `single` question "Nice! Should I build this now?",
|
|
111
|
+
`required: true`, with the options `Yes, build it` and `Not now`. Leave
|
|
112
|
+
`introMessage` and `freeTextLabel` out: the card's own "Something else"
|
|
113
|
+
row lets the user ask for another automation. Read the answer:
|
|
114
|
+
- `Yes, build it`: go to step 5.
|
|
115
|
+
- `Not now`: do not build, and stay in the flow. Repeat step 2 with the
|
|
116
|
+
same three automations, after one sentence such as "No problem. Pick
|
|
117
|
+
another one, or ask for other ideas."
|
|
118
|
+
- `answered: false`: do not build. Reply as for a skip in step 3.
|
|
119
|
+
- Free text: read it as in step 3.
|
|
120
|
+
5. Write exactly one line before the first tool call, `Building <title> now.`,
|
|
107
121
|
and no other text until the `build-workflow` result. Load `workflow-builder`
|
|
108
122
|
and build the automation with the user's apps the normal way, then follow
|
|
109
123
|
`postBuildFlow.instructions` from the result. Ask about an app only for a
|
|
@@ -112,8 +126,9 @@ Slack or Google Sheets. Never run a command or read a file to find them.
|
|
|
112
126
|
## Rules
|
|
113
127
|
|
|
114
128
|
- One `ask-user` call per turn. Keep every message to four sentences or fewer.
|
|
115
|
-
- A build needs
|
|
116
|
-
|
|
129
|
+
- A build needs `Yes, build it` from the user on the step 4 card, for a
|
|
130
|
+
picked suggestion and for a task in the user's words alike. Never start one
|
|
131
|
+
after a skip, a dismissal, or free text that names nothing.
|
|
117
132
|
- No apps given: suggest what people on the team most often automate, and
|
|
118
133
|
name no app.
|
|
119
134
|
- Talk about the automation, never about the mechanics. Do not say
|