@n8n/telemetry 1.9.0 → 1.9.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.
@@ -926,6 +926,15 @@ export declare const TELEMETRY_EVENT: {
926
926
  readonly name: "User started credential connection";
927
927
  readonly description: "The user started a connection attempt or selected an existing credential in the setup panel. Includes retries.";
928
928
  readonly properties: import("zod/v4").ZodObject<{
929
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
930
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
931
+ control: "control";
932
+ variant: "variant";
933
+ }>>;
934
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
935
+ control: "control";
936
+ variant: "variant";
937
+ }>>;
929
938
  source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
930
939
  workflow_id: import("zod/v4").ZodString;
931
940
  thread_id: import("zod/v4").ZodString;
@@ -945,6 +954,15 @@ export declare const TELEMETRY_EVENT: {
945
954
  readonly name: "User completed credential connection";
946
955
  readonly description: "A setup-panel credential was selected or connected and its workflow binding was applied or queued. This does not report workflow validation.";
947
956
  readonly properties: import("zod/v4").ZodObject<{
957
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
958
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
959
+ control: "control";
960
+ variant: "variant";
961
+ }>>;
962
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
963
+ control: "control";
964
+ variant: "variant";
965
+ }>>;
948
966
  source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
949
967
  workflow_id: import("zod/v4").ZodString;
950
968
  thread_id: import("zod/v4").ZodString;
@@ -1274,6 +1292,15 @@ export declare const TELEMETRY_EVENT: {
1274
1292
  readonly name: "AI Assistant setup panel state observed";
1275
1293
  readonly description: "The setup panel observed a new requirement snapshot. Also fires when no setup is needed, including workflows whose credentials were already connected.";
1276
1294
  readonly properties: import("zod/v4").ZodObject<{
1295
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1296
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1297
+ control: "control";
1298
+ variant: "variant";
1299
+ }>>;
1300
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1301
+ control: "control";
1302
+ variant: "variant";
1303
+ }>>;
1277
1304
  workflow_id: import("zod/v4").ZodString;
1278
1305
  thread_id: import("zod/v4").ZodString;
1279
1306
  credential_count: import("zod/v4").ZodNumber;
@@ -1288,6 +1315,15 @@ export declare const TELEMETRY_EVENT: {
1288
1315
  readonly name: "AI Assistant setup panel item shown";
1289
1316
  readonly description: "A setup checklist row became visible. Reopening the same row within the mounted panel does not emit another event.";
1290
1317
  readonly properties: import("zod/v4").ZodObject<{
1318
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1319
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1320
+ control: "control";
1321
+ variant: "variant";
1322
+ }>>;
1323
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1324
+ control: "control";
1325
+ variant: "variant";
1326
+ }>>;
1291
1327
  workflow_id: import("zod/v4").ZodString;
1292
1328
  thread_id: import("zod/v4").ZodString;
1293
1329
  kind: import("zod/v4").ZodEnum<{
@@ -1297,6 +1333,16 @@ export declare const TELEMETRY_EVENT: {
1297
1333
  }>;
1298
1334
  credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1299
1335
  parameter_count: import("zod/v4").ZodNumber;
1336
+ items: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
1337
+ node_id: import("zod/v4").ZodString;
1338
+ node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1339
+ kind: import("zod/v4").ZodEnum<{
1340
+ credential: "credential";
1341
+ parameter: "parameter";
1342
+ }>;
1343
+ credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1344
+ parameter_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1345
+ }, import("zod/v4/core").$strip>>>;
1300
1346
  }, import("zod/v4/core").$strip>;
1301
1347
  } & import("./define").TelemetryEventInput & {
1302
1348
  readonly getValidationError: (properties: unknown) => string | null;
@@ -1305,6 +1351,15 @@ export declare const TELEMETRY_EVENT: {
1305
1351
  readonly name: "AI Assistant setup panel dismissed";
1306
1352
  readonly description: "A visible setup panel closed. The reason separates navigation and removed requirements from a finished execution or an explicit dismissal.";
1307
1353
  readonly properties: import("zod/v4").ZodObject<{
1354
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1355
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1356
+ control: "control";
1357
+ variant: "variant";
1358
+ }>>;
1359
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1360
+ control: "control";
1361
+ variant: "variant";
1362
+ }>>;
1308
1363
  workflow_id: import("zod/v4").ZodString;
1309
1364
  thread_id: import("zod/v4").ZodString;
1310
1365
  reason: import("zod/v4").ZodEnum<{
@@ -1576,6 +1631,7 @@ export declare const TELEMETRY_EVENT: {
1576
1631
  credentials_list: "credentials_list";
1577
1632
  evals: "evals";
1578
1633
  node_error_view: "node_error_view";
1634
+ onboarding: "onboarding";
1579
1635
  playwright: "playwright";
1580
1636
  "template-view": "template-view";
1581
1637
  unknown: "unknown";
@@ -1800,6 +1856,18 @@ export declare const TELEMETRY_EVENT: {
1800
1856
  readonly name: "User sent builder message";
1801
1857
  readonly description: "The user sent a message to the n8n Assistant. Fires once per message on the optimistic send, before the request is admitted, so a refused send still counts as an attempt. Carries who wrote the text: a pre-fill is an opener n8n composed (a failed execution, a credential modal, a template card, a suggestion chip) that the user accepted or edited, so pre-fill share must be read from prefill_type rather than matched against the message body.";
1802
1858
  readonly properties: import("zod/v4").ZodObject<{
1859
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1860
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1861
+ control: "control";
1862
+ variant: "variant";
1863
+ }>>;
1864
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
1865
+ control: "control";
1866
+ variant: "variant";
1867
+ }>>;
1868
+ workflow_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
1869
+ pending_credential_count: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
1870
+ pending_parameter_count: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
1803
1871
  thread_id: import("zod/v4").ZodString;
1804
1872
  instance_id: import("zod/v4").ZodString;
1805
1873
  is_first_message: import("zod/v4").ZodBoolean;
@@ -1813,6 +1881,7 @@ export declare const TELEMETRY_EVENT: {
1813
1881
  credentials_list: "credentials_list";
1814
1882
  evals: "evals";
1815
1883
  node_error_view: "node_error_view";
1884
+ onboarding: "onboarding";
1816
1885
  playwright: "playwright";
1817
1886
  "template-view": "template-view";
1818
1887
  unknown: "unknown";
@@ -1872,6 +1941,55 @@ export declare const TELEMETRY_EVENT: {
1872
1941
  } & import("./define").TelemetryEventInput & {
1873
1942
  readonly getValidationError: (properties: unknown) => string | null;
1874
1943
  };
1944
+ readonly USER_STARTED_AI_ASSISTANT_ONBOARDING: {
1945
+ readonly name: "User started AI Assistant onboarding";
1946
+ readonly description: "An onboarding thread was created: the user arrived from the n8n Cloud signup survey (/assistant?source=onboarding) or opened the onboarding by hand. Fires once per thread, from the backend, when the seeded greeting and question card are stored.";
1947
+ readonly properties: import("zod/v4").ZodObject<{
1948
+ user_id: import("zod/v4").ZodString;
1949
+ thread_id: import("zod/v4").ZodString;
1950
+ team: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
1951
+ team_source: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
1952
+ cloud: "cloud";
1953
+ url: "url";
1954
+ }>>;
1955
+ }, import("zod/v4/core").$strip>;
1956
+ } & import("./define").TelemetryEventInput & {
1957
+ readonly getValidationError: (properties: unknown) => string | null;
1958
+ };
1959
+ readonly USER_ANSWERED_AI_ASSISTANT_ONBOARDING_CARD: {
1960
+ readonly name: "User answered AI Assistant onboarding card";
1961
+ readonly description: "The user settled the question card an onboarding thread opens with. Fires once per thread, from the backend, when the answers are stored. Carries the picked apps and the free text as typed.";
1962
+ readonly properties: import("zod/v4").ZodObject<{
1963
+ user_id: import("zod/v4").ZodString;
1964
+ thread_id: import("zod/v4").ZodString;
1965
+ team: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
1966
+ team_source: import("zod/v4").ZodNullable<import("zod/v4").ZodEnum<{
1967
+ card: "card";
1968
+ cloud: "cloud";
1969
+ url: "url";
1970
+ }>>;
1971
+ apps: import("zod/v4").ZodArray<import("zod/v4").ZodString>;
1972
+ custom_text: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
1973
+ }, import("zod/v4/core").$strip>;
1974
+ } & import("./define").TelemetryEventInput & {
1975
+ readonly getValidationError: (properties: unknown) => string | null;
1976
+ };
1977
+ readonly AI_ASSISTANT_ONBOARDING_ENDED: {
1978
+ readonly name: "AI Assistant onboarding ended";
1979
+ readonly description: "The onboarding flow of a thread ended and the normal chat came back. Fires once per thread, from the browser, on the first build, when the agent calls `leave-onboarding`, or when a run fails.";
1980
+ readonly properties: import("zod/v4").ZodObject<{
1981
+ thread_id: import("zod/v4").ZodString;
1982
+ instance_id: import("zod/v4").ZodString;
1983
+ outcome: import("zod/v4").ZodEnum<{
1984
+ build: "build";
1985
+ left: "left";
1986
+ run_failed: "run_failed";
1987
+ }>;
1988
+ leave_reason: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
1989
+ }, import("zod/v4/core").$strip>;
1990
+ } & import("./define").TelemetryEventInput & {
1991
+ readonly getValidationError: (properties: unknown) => string | null;
1992
+ };
1875
1993
  };
1876
1994
  MCP: {
1877
1995
  readonly MCP_NUDGE_VIEWED: {
@@ -2130,9 +2248,85 @@ export declare const TELEMETRY_EVENT: {
2130
2248
  readonly name: "User requested workflow test";
2131
2249
  readonly description: "The user started a manual workflow test from the AI Assistant setup panel. This event does not report execution success.";
2132
2250
  readonly properties: import("zod/v4").ZodObject<{
2251
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2252
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2253
+ control: "control";
2254
+ variant: "variant";
2255
+ }>>;
2256
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2257
+ control: "control";
2258
+ variant: "variant";
2259
+ }>>;
2133
2260
  source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
2134
2261
  workflow_id: import("zod/v4").ZodString;
2135
2262
  thread_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2263
+ test_request_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2264
+ }, import("zod/v4/core").$strip>;
2265
+ } & import("./define").TelemetryEventInput & {
2266
+ readonly getValidationError: (properties: unknown) => string | null;
2267
+ };
2268
+ readonly SETUP_TEST_FINISHED: {
2269
+ readonly name: "AI Assistant setup test finished";
2270
+ readonly description: "The setup panel observed a terminal test result or a failed run request. A failed request does not prove that execution did not start. Leaving setup before the result can omit this event.";
2271
+ readonly properties: import("zod/v4").ZodObject<{
2272
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2273
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2274
+ control: "control";
2275
+ variant: "variant";
2276
+ }>>;
2277
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2278
+ control: "control";
2279
+ variant: "variant";
2280
+ }>>;
2281
+ source: import("zod/v4").ZodLiteral<"instance_ai_setup_panel">;
2282
+ workflow_id: import("zod/v4").ZodString;
2283
+ thread_id: import("zod/v4").ZodString;
2284
+ test_request_id: import("zod/v4").ZodString;
2285
+ execution_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2286
+ status: import("zod/v4").ZodEnum<{
2287
+ canceled: "canceled";
2288
+ crashed: "crashed";
2289
+ error: "error";
2290
+ request_failed: "request_failed";
2291
+ success: "success";
2292
+ }>;
2293
+ }, import("zod/v4/core").$strip>;
2294
+ } & import("./define").TelemetryEventInput & {
2295
+ readonly getValidationError: (properties: unknown) => string | null;
2296
+ };
2297
+ readonly SETUP_SAVED: {
2298
+ readonly name: "AI Assistant workflow setup saved";
2299
+ readonly description: "A setup surface observed saved requirements after applying changes. Completion covers the observed setup requirements, not credential validity or edits made while setup is closed.";
2300
+ readonly properties: import("zod/v4").ZodObject<{
2301
+ session_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2302
+ variant: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2303
+ control: "control";
2304
+ variant: "variant";
2305
+ }>>;
2306
+ '$feature/118_instance_ai_setup_overhaul': import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
2307
+ control: "control";
2308
+ variant: "variant";
2309
+ }>>;
2310
+ instance_id: import("zod/v4").ZodString;
2311
+ workflow_id: import("zod/v4").ZodString;
2312
+ thread_id: import("zod/v4").ZodString;
2313
+ source: import("zod/v4").ZodEnum<{
2314
+ instance_ai_setup_panel: "instance_ai_setup_panel";
2315
+ instance_ai_setup_wizard: "instance_ai_setup_wizard";
2316
+ }>;
2317
+ request_id: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2318
+ items: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
2319
+ node_id: import("zod/v4").ZodString;
2320
+ node_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2321
+ kind: import("zod/v4").ZodEnum<{
2322
+ credential: "credential";
2323
+ parameter: "parameter";
2324
+ }>;
2325
+ credential_type: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2326
+ parameter_name: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
2327
+ completed: import("zod/v4").ZodBoolean;
2328
+ }, import("zod/v4/core").$strip>>;
2329
+ setup_complete: import("zod/v4").ZodBoolean;
2136
2330
  }, import("zod/v4/core").$strip>;
2137
2331
  } & import("./define").TelemetryEventInput & {
2138
2332
  readonly getValidationError: (properties: unknown) => string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/telemetry",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "LICENSE_EE.md"
11
11
  ],
12
12
  "dependencies": {
13
- "@n8n/api-types": "1.41.0",
14
- "@n8n/utils": "1.48.0",
13
+ "@n8n/api-types": "1.41.2",
14
+ "@n8n/utils": "1.48.1",
15
15
  "zod": "3.25.76"
16
16
  },
17
17
  "devDependencies": {