n8n-editor-ui 1.114.1 → 1.114.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/.build/cache-marker +1 -1
- package/.build/node-popularity.json +4002 -1
- package/dist/assets/{AddDataStoreModal-CsFLy-os.js → AddDataStoreModal-C6FLc2TB.js} +1 -1
- package/dist/assets/{AnimatedSpinner-BdYQZRvm.js → AnimatedSpinner-HjxELuJz.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C-w_sFn5.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BNz-7RpG.js} +1 -1
- package/dist/assets/{AuthView-DfDkMLKR.js → AuthView-gdwhz6uS.js} +2 -2
- package/dist/assets/{ChangePasswordView-D7ySKRGb.js → ChangePasswordView-BjEgUXAL.js} +3 -3
- package/dist/assets/CollectionParameter--GD8cmyb.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-ZKSyv6Rm.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CTU8nd34.js} +1 -1
- package/dist/assets/{CredentialsView-BSSTTfsB.js → CredentialsView-8Vpn02tv.js} +10 -10
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-D4LRnvHA.js → DataStoreActions.vue_vue_type_script_setup_true_lang-CgZzLoAF.js} +1 -1
- package/dist/assets/{DataStoreDetailsView-Dkr_HtEW.js → DataStoreDetailsView-CQGxEYnK.js} +4 -4
- package/dist/assets/{DataStoreView-Cms5uqRt.js → DataStoreView-BIJEGSTD.js} +9 -9
- package/dist/assets/{DemoFooter-CKaunwpF.js → DemoFooter-Dl4pUv_R.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BS4e8zRV.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-T0VGGVZ8.js} +1 -1
- package/dist/assets/{EntityNotFound-D80vzHfS.js → EntityNotFound-CBiTushx.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-BlMXoT9N.js → EntityUnAuthorised-SSsmt3Q9.js} +1 -1
- package/dist/assets/{ErrorView-Cg-eq9CL.js → ErrorView-DvuPO4AG.js} +1 -1
- package/dist/assets/{EvaluationsRootView-DWg4U9MD.js → EvaluationsRootView-Bpzz7gBq.js} +1 -1
- package/dist/assets/{EvaluationsView-DZT93B1S.js → EvaluationsView-DOUwYIXN.js} +3 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-BZMWMaK1.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-6-sNFFHe.js} +2 -2
- package/dist/assets/{ExecutionsView-DVSp3FTL.js → ExecutionsView-Dfz2g4Vg.js} +10 -10
- package/dist/assets/{FixedCollectionParameter-BFbAkjot.js → FixedCollectionParameter-Bf2e4FmL.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-1gl-DTSD.js → ForgotMyPasswordView-RiZEIEcE.js} +3 -3
- package/dist/assets/{InfoAccordion-B4atTFpH.js → InfoAccordion-CVdOHa82.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-BdVbh5ca.js → InsightsChartAverageRuntime-nR_fr62w.js} +4 -4
- package/dist/assets/{InsightsChartFailed-tRahEeus.js → InsightsChartFailed-co43NDYA.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-aLmvV-2j.js → InsightsChartFailureRate-BHBgXfBD.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-Bw1GK02H.js → InsightsChartTimeSaved-DsRLoIa5.js} +4 -4
- package/dist/assets/{InsightsChartTotal-YCLp-Mvg.js → InsightsChartTotal-BiUaiSwo.js} +4 -4
- package/dist/assets/{InsightsDashboard-C0GhlvO0.js → InsightsDashboard-CGckl-iU.js} +10 -10
- package/dist/assets/{InsightsPaywall-BqrNu0Sm.js → InsightsPaywall-DdRPfyXj.js} +1 -1
- package/dist/assets/{InsightsSummary-BIsW50Wb.js → InsightsSummary-DcTRauF7.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-m0FuDdM6.js → InsightsTableWorkflows-CjOoDnpS.js} +4 -4
- package/dist/assets/{Logo-CJDZZ9Dc.js → Logo-gdDgPP-n.js} +1 -1
- package/dist/assets/{LogsPanel-AuBzspf5.js → LogsPanel-CLnIeqcM.js} +5 -5
- package/dist/assets/{MainHeader-CTr2-gOV.js → MainHeader-BtxT17Th.js} +11 -11
- package/dist/assets/{MainSidebar-wsfu6n1v.js → MainSidebar-BsfSOVnl.js} +2 -2
- package/dist/assets/{NodeCreation-Uqspyd-Q.js → NodeCreation-CbEACnDU.js} +3 -3
- package/dist/assets/{NodeCreator-Cho8tlDH.js → NodeCreator-D_LMJ-Ed.js} +1 -1
- package/dist/assets/{NodeDetailsView-Cla0enix.js → NodeDetailsView-DdXRJGzV.js} +13 -13
- package/dist/assets/{NodeDetailsViewV2-CImiiHw5.js → NodeDetailsViewV2-BP6pi8xA.js} +13 -13
- package/dist/assets/{NodeView-R0RrSafO.js → NodeView-GkTSGOfz.js} +11 -11
- package/dist/assets/{PageViewLayout-XMbxzupW.js → PageViewLayout-DJ5SUc79.js} +1 -1
- package/dist/assets/{PrebuiltAgentTemplatesView-CVQlXLgD.js → PrebuiltAgentTemplatesView-VLrKJQOd.js} +2 -2
- package/dist/assets/{ProjectBreadcrumb-CARSpK7o.js → ProjectBreadcrumb-fBjby5Pd.js} +1 -1
- package/dist/assets/{ProjectHeader-CSMsPy1n.js → ProjectHeader-DqDOfOpS.js} +3 -3
- package/dist/assets/{ProjectSettings-BfGExA4I.js → ProjectSettings-ZNXzWpxh.js} +4 -4
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-QmS6y6VJ.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DAvfW3q2.js} +1 -1
- package/dist/assets/{ResourcesListLayout-ATgLHOKO.js → ResourcesListLayout-aeqUmdox.js} +4 -4
- package/dist/assets/{RunDataJson-PRchch-O.js → RunDataJson-DjUH3Y0R.js} +3 -3
- package/dist/assets/{RunDataJsonActions-Ca-7abwJ.js → RunDataJsonActions-amw8cpKl.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-LwO8lYeE.js → RunDataParsedAiContent-DA3vAeif.js} +2 -2
- package/dist/assets/{RunDataSearch-_AawIJ1P.js → RunDataSearch-Br577kJQ.js} +1 -1
- package/dist/assets/{RunDataTable-C2IhJVY7.js → RunDataTable-CDVmxtE4.js} +1 -1
- package/dist/assets/{SamlOnboarding-DNGq1d-y.js → SamlOnboarding-XIBqjF8K.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-DCbeoQ__.js → SelectedItemsInfo-CDOJ49XA.js} +1 -1
- package/dist/assets/{SettingsApiView-B8W2w9F3.js → SettingsApiView-BdgRY7Ji.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CSGQvqSv.js → SettingsCommunityNodesView-zsoZcqT5.js} +6 -6
- package/dist/assets/{SettingsExternalSecrets-DvgKCijP.js → SettingsExternalSecrets-CvlCOPA5.js} +1 -1
- package/dist/assets/{SettingsLdapView-Bls3Hiov.js → SettingsLdapView-DmcYDxgj.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DC0NxA14.js → SettingsLogStreamingView--mfUEOGP.js} +1 -1
- package/dist/assets/{SettingsMCPView-D_A3IzDR.js → SettingsMCPView-DCrEwg7b.js} +2 -2
- package/dist/assets/{SettingsPersonalView-BfvHbPzX.js → SettingsPersonalView-CXe3guvA.js} +1 -1
- package/dist/assets/{SettingsSourceControl-DEAYOup_.js → SettingsSourceControl-G2hT85ch.js} +1 -1
- package/dist/assets/{SettingsSso-DT7TNXiC.js → SettingsSso-DBMGJx_8.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-BunLqdZX.js → SettingsUsageAndPlan-5tFb2xvE.js} +1 -1
- package/dist/assets/{SettingsUsersView-C1DaGjPi.js → SettingsUsersView-DCKP4uCr.js} +1 -1
- package/dist/assets/{SettingsView-BVBdo1Q8.js → SettingsView-CPK0kLew.js} +1 -1
- package/dist/assets/{SetupView-Ds_FejJz.js → SetupView-C_jJFPhh.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-7QTSQ-Cp.js → SetupWorkflowCredentialsButton-nuJFfT8A.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-DgAeg0pL.js → SetupWorkflowFromTemplateView-CNIxK6OX.js} +3 -3
- package/dist/assets/{SigninView-CTCti60k.js → SigninView-DIDXsc6r.js} +3 -3
- package/dist/assets/{SignoutView-BfiSDA3M.js → SignoutView-BCKFHIgk.js} +1 -1
- package/dist/assets/{SignupView-CHc0tHGl.js → SignupView-BDPA164X.js} +3 -3
- package/dist/assets/{TableBase-DCODsxOa.js → TableBase-By9lbt1Y.js} +1 -1
- package/dist/assets/{Tags-D9gPKoUj.js → Tags-CQyeqNkl.js} +1 -1
- package/dist/assets/{TemplateDetails-BlV9NmCy.js → TemplateDetails-gtsjsF-f.js} +2 -2
- package/dist/assets/{TemplateList-CazlTEkA.js → TemplateList-DprqSDwh.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BEeRygO7.js → TemplatesCollectionView-BLTi8h_2.js} +6 -6
- package/dist/assets/{TemplatesSearchView-CI00kxyK.js → TemplatesSearchView-BE4D632h.js} +3 -3
- package/dist/assets/{TemplatesView-mLslH3Uw.js → TemplatesView-BaNRUf5T.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-SSmdLOOW.js → TemplatesWorkflowView-CvgwpQrs.js} +6 -6
- package/dist/assets/{TriggerPanel-BHkYzUPx.js → TriggerPanel-DD8njEQb.js} +5 -5
- package/dist/assets/{VariablesView-k-pzl-O9.js → VariablesView-DSwqx7Bx.js} +6 -6
- package/dist/assets/{WorkerView-Cx8ge4xs.js → WorkerView-Dwb6S-JQ.js} +8 -8
- package/dist/assets/{WorkflowActivator-By5Pii_6.js → WorkflowActivator-CKzfIM2L.js} +3 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-eJG4y2WA.js → WorkflowExecutionsInfoAccordion-BDLzm0Gu.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-C0mutLGh.js → WorkflowExecutionsLandingPage-3r8u_qCz.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-G-4e7QQ9.js → WorkflowExecutionsPreview-CjCx1Rfk.js} +4 -4
- package/dist/assets/{WorkflowExecutionsView-B0SmXxbP.js → WorkflowExecutionsView-zNMCMsoh.js} +6 -6
- package/dist/assets/{WorkflowHistory-BiN2BqQR.js → WorkflowHistory-Df6bbbU5.js} +2 -2
- package/dist/assets/{WorkflowOnboardingView-B9FkhZA-.js → WorkflowOnboardingView-iZTbHFku.js} +1 -1
- package/dist/assets/{WorkflowPreview-BsgTaevQ.js → WorkflowPreview-B-hZCkI0.js} +1 -1
- package/dist/assets/{WorkflowsView-Cn8b7sC6.css → WorkflowsView-B8UKso1P.css} +17 -13
- package/dist/assets/{WorkflowsView-CLXbFUXb.js → WorkflowsView-DjRXYSpf.js} +56 -49
- package/dist/assets/{canvas-BXznnLzi.js → canvas-nzYxgvz5.js} +1 -1
- package/dist/assets/{chartjs.utils-D46nHC00.js → chartjs.utils-Cc00g8Lm.js} +2 -2
- package/dist/assets/{core-HeJRdxVB.js → core-xgJB8EnP.js} +1 -1
- package/dist/assets/{global-link-actions-dPKQ-sAY.js → global-link-actions-C6Csz4zT.js} +1 -1
- package/dist/assets/{index-cWho1w-N.js → index-C2P0-X23.js} +4081 -85
- package/dist/assets/{index-DGBHFnWS.js → index-D1tOa8LP.js} +1 -1
- package/dist/assets/{index-BlwIvpv7.css → index-pk1znPBP.css} +4 -4
- package/dist/assets/{pickBy-DvVK9TvT.js → pickBy-C9GuwjU-.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-o5xlMxpo.js → readyToRunWorkflows.store-D_v7AtOP.js} +1 -1
- package/dist/assets/{readyToRunWorkflowsV2.store-C_fY_4MX.js → readyToRunWorkflowsV2.store-Dycgz78m.js} +147 -246
- package/dist/assets/{templateActions-jNqx4MKh.js → templateActions-BW5V2u66.js} +1 -1
- package/dist/assets/{useBeforeUnload-rUCiQOqr.js → useBeforeUnload-CRKMX_pJ.js} +1 -1
- package/dist/assets/{useExecutionDebugging-BaETRwGq.js → useExecutionDebugging-Pg_3A6kj.js} +1 -1
- package/dist/assets/{useImportCurlCommand-BdmWWgaO.js → useImportCurlCommand-B3wEN7-O.js} +1 -1
- package/dist/assets/{useProjectPages-BauGQpM_.js → useProjectPages-U4YWQbR0.js} +1 -1
- package/dist/assets/{usePushConnection-Bc8yBAxj.js → usePushConnection-CXx27u0V.js} +4 -4
- package/dist/assets/{useWorkflowActivate-bxZnJPU3.js → useWorkflowActivate-Dnj7RjJF.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-CNnsizMe.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g1 as Chart$1, d as defineComponent, ct as shallowRef, aX as h, g2 as LineController, g3 as version, r as ref, o as onMounted, X as onBeforeUnmount, a8 as watch, f4 as toRaw, g4 as isProxy, g5 as BarController } from "./index-
|
|
1
|
+
import { g1 as Chart$1, d as defineComponent, ct as shallowRef, aX as h, g2 as LineController, g3 as version, r as ref, o as onMounted, X as onBeforeUnmount, a8 as watch, f4 as toRaw, g4 as isProxy, g5 as BarController } from "./index-C2P0-X23.js";
|
|
2
2
|
const CommonProps = {
|
|
3
3
|
data: {
|
|
4
4
|
type: Object,
|
|
@@ -29644,12 +29644,12 @@ from, to {
|
|
|
29644
29644
|
/* BEM
|
|
29645
29645
|
-------------------------- */
|
|
29646
29646
|
/* Fade transition animations for issue list */
|
|
29647
|
-
.fade-enter-active[data-v-
|
|
29648
|
-
.fade-leave-active[data-v-
|
|
29647
|
+
.fade-enter-active[data-v-68d62a1e],
|
|
29648
|
+
.fade-leave-active[data-v-68d62a1e] {
|
|
29649
29649
|
transition: opacity 0.5s ease;
|
|
29650
29650
|
}
|
|
29651
|
-
.fade-enter-from[data-v-
|
|
29652
|
-
.fade-leave-to[data-v-
|
|
29651
|
+
.fade-enter-from[data-v-68d62a1e],
|
|
29652
|
+
.fade-leave-to[data-v-68d62a1e] {
|
|
29653
29653
|
opacity: 0;
|
|
29654
29654
|
}/* BEM support Func
|
|
29655
29655
|
-------------------------- */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fS as require_arrayMap, fT as require_baseIteratee, fU as require_basePickBy, fV as require_getAllKeysIn, bX as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { fS as require_arrayMap, fT as require_baseIteratee, fU as require_basePickBy, fV as require_getAllKeysIn, bX as getDefaultExportFromCjs } from "./index-C2P0-X23.js";
|
|
2
2
|
var pickBy_1;
|
|
3
3
|
var hasRequiredPickBy;
|
|
4
4
|
function requirePickBy() {
|
package/dist/assets/{readyToRunWorkflows.store-o5xlMxpo.js → readyToRunWorkflows.store-D_v7AtOP.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as defineStore, aw as useFoldersStore, a2 as useWorkflowsStore, dl as usePostHog, v as useSettingsStore, a$ as useLocalStorage, x as computed, fy as TEMPLATE_ONBOARDING_EXPERIMENT, c as useI18n, am as useTelemetry, a5 as STORES, bc as useCloudPlanStore, fz as BATCH_11AUG_EXPERIMENT } from "./index-
|
|
1
|
+
import { a0 as defineStore, aw as useFoldersStore, a2 as useWorkflowsStore, dl as usePostHog, v as useSettingsStore, a$ as useLocalStorage, x as computed, fy as TEMPLATE_ONBOARDING_EXPERIMENT, c as useI18n, am as useTelemetry, a5 as STORES, bc as useCloudPlanStore, fz as BATCH_11AUG_EXPERIMENT } from "./index-C2P0-X23.js";
|
|
2
2
|
const AGENT_WITH_MEMORY = {
|
|
3
3
|
meta: {
|
|
4
4
|
templateId: "035_template_onboarding-agent_with_memory"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aw as useFoldersStore, a3 as useRoute, a0 as defineStore, a as useToast, b as useRouter, dh as useCredentialsStore, u as useUsersStore, v as useSettingsStore, dl as usePostHog, bc as useCloudPlanStore, a2 as useWorkflowsStore, x as computed, fA as
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
3
|
-
const
|
|
1
|
+
import { aw as useFoldersStore, a3 as useRoute, a0 as defineStore, a as useToast, b as useRouter, dh as useCredentialsStore, u as useUsersStore, v as useSettingsStore, dl as usePostHog, bc as useCloudPlanStore, a2 as useWorkflowsStore, x as computed, fA as READY_TO_RUN_V2_PART2_EXPERIMENT, a$ as useLocalStorage, r as ref, fw as OPEN_AI_API_CREDENTIAL_TYPE, am as useTelemetry, c as useI18n, dX as deepCopy, V as VIEWS, a5 as STORES } from "./index-C2P0-X23.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-U4YWQbR0.js";
|
|
3
|
+
const READY_TO_RUN_WORKFLOW_V3 = {
|
|
4
4
|
name: "AI Agent workflow",
|
|
5
|
-
meta: { templateId: "ready-to-run-ai-workflow-
|
|
5
|
+
meta: { templateId: "ready-to-run-ai-workflow-v3" },
|
|
6
6
|
nodes: [
|
|
7
7
|
{
|
|
8
8
|
parameters: {
|
|
@@ -11,8 +11,8 @@ const READY_TO_RUN_WORKFLOW_V1 = {
|
|
|
11
11
|
},
|
|
12
12
|
type: "n8n-nodes-base.rssFeedReadTool",
|
|
13
13
|
typeVersion: 1.2,
|
|
14
|
-
position: [
|
|
15
|
-
id: "
|
|
14
|
+
position: [128, 448],
|
|
15
|
+
id: "7febc10d-90ce-4329-90fb-a9a2ca0185c4",
|
|
16
16
|
name: "Get Tech News"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
@@ -23,71 +23,10 @@ const READY_TO_RUN_WORKFLOW_V1 = {
|
|
|
23
23
|
},
|
|
24
24
|
type: "n8n-nodes-base.rssFeedReadTool",
|
|
25
25
|
typeVersion: 1.2,
|
|
26
|
-
position: [
|
|
27
|
-
id: "
|
|
26
|
+
position: [272, 448],
|
|
27
|
+
id: "9424428d-45e2-4085-99f6-ee223802ba5a",
|
|
28
28
|
name: "Get World News"
|
|
29
29
|
},
|
|
30
|
-
{
|
|
31
|
-
parameters: {
|
|
32
|
-
rule: {
|
|
33
|
-
interval: [
|
|
34
|
-
{
|
|
35
|
-
triggerAtHour: 7
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
type: "n8n-nodes-base.scheduleTrigger",
|
|
41
|
-
typeVersion: 1.2,
|
|
42
|
-
position: [-560, 752],
|
|
43
|
-
id: "651543b5-0213-433f-8760-57d62b8d6d64",
|
|
44
|
-
name: "Run every day at 7AM",
|
|
45
|
-
notesInFlow: true,
|
|
46
|
-
notes: "Double-click to open"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
parameters: {
|
|
50
|
-
assignments: {
|
|
51
|
-
assignments: [
|
|
52
|
-
{
|
|
53
|
-
id: "85b5c530-2c13-4424-ab83-05979bc879a5",
|
|
54
|
-
name: "output",
|
|
55
|
-
value: "={{ $json.output }}",
|
|
56
|
-
type: "string"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
options: {}
|
|
61
|
-
},
|
|
62
|
-
type: "n8n-nodes-base.set",
|
|
63
|
-
typeVersion: 3.4,
|
|
64
|
-
position: [160, 544],
|
|
65
|
-
id: "99f7bb9e-f8c0-43ca-a9a8-a76634ac9611",
|
|
66
|
-
name: "Output",
|
|
67
|
-
notesInFlow: true,
|
|
68
|
-
notes: "Double-click to open"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
parameters: {},
|
|
72
|
-
type: "n8n-nodes-base.manualTrigger",
|
|
73
|
-
typeVersion: 1,
|
|
74
|
-
position: [-560, 544],
|
|
75
|
-
id: "a0390291-6794-4673-9a6a-5c3d3a5d9e4b",
|
|
76
|
-
name: "Click ‘Execute workflow’ to run"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
parameters: {
|
|
80
|
-
content: "## ⚡ Start here:",
|
|
81
|
-
height: 240,
|
|
82
|
-
width: 224,
|
|
83
|
-
color: 7
|
|
84
|
-
},
|
|
85
|
-
type: "n8n-nodes-base.stickyNote",
|
|
86
|
-
typeVersion: 1,
|
|
87
|
-
position: [-624, 464],
|
|
88
|
-
id: "fac5929f-e065-4474-96b1-7bcc06834238",
|
|
89
|
-
name: "Sticky Note"
|
|
90
|
-
},
|
|
91
30
|
{
|
|
92
31
|
parameters: {
|
|
93
32
|
model: {
|
|
@@ -99,51 +38,38 @@ const READY_TO_RUN_WORKFLOW_V1 = {
|
|
|
99
38
|
},
|
|
100
39
|
type: "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
|
101
40
|
typeVersion: 1.2,
|
|
102
|
-
position: [-
|
|
103
|
-
id: "
|
|
41
|
+
position: [-144, 448],
|
|
42
|
+
id: "a4fcf631-d3d9-4c4d-9e7b-02c93e70b23f",
|
|
104
43
|
name: "OpenAI Model",
|
|
105
44
|
notesInFlow: true,
|
|
106
45
|
credentials: {},
|
|
107
|
-
notes: "
|
|
46
|
+
notes: "Free n8n credits "
|
|
108
47
|
},
|
|
109
48
|
{
|
|
110
49
|
parameters: {
|
|
111
50
|
promptType: "define",
|
|
112
|
-
text: '=Summarize world news and tech news from the last 24 hours. \nSkip your comments. \nThe titles should be "World news:" and "Tech news:" \nToday is {{ $today }}',
|
|
51
|
+
text: '=Summarize world news and tech news from the last 24 hours. \nSkip your comments. \nThe titles should be "World news:" and "Tech news:" \nLimit to 10 bullet points. \nToday is {{ $today }}',
|
|
113
52
|
options: {}
|
|
114
53
|
},
|
|
115
54
|
type: "@n8n/n8n-nodes-langchain.agent",
|
|
116
55
|
typeVersion: 2.2,
|
|
117
|
-
position: [-
|
|
118
|
-
id: "
|
|
56
|
+
position: [-144, 192],
|
|
57
|
+
id: "99bed296-3855-4d89-b983-f30539cfa775",
|
|
119
58
|
name: "AI Summary Agent",
|
|
120
59
|
notesInFlow: true,
|
|
121
60
|
notes: "Double-click to open"
|
|
122
61
|
},
|
|
123
62
|
{
|
|
124
63
|
parameters: {
|
|
125
|
-
content:
|
|
64
|
+
content: '### ✅ This test workflow is ready to use:\nHover over here and click the orange "Execute workflow" button below.\n',
|
|
126
65
|
height: 240,
|
|
127
|
-
width:
|
|
128
|
-
color: 7
|
|
129
|
-
},
|
|
130
|
-
type: "n8n-nodes-base.stickyNote",
|
|
131
|
-
typeVersion: 1,
|
|
132
|
-
position: [112, 464],
|
|
133
|
-
id: "a4b7a69a-0db8-4b9b-a81d-fd83378043a3",
|
|
134
|
-
name: "Sticky Note1"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
parameters: {
|
|
138
|
-
content: "### 📰 Daily AI Summary\n\n\nThis workflow gets the latest news and asks AI to summarize it for you.\n\n⭐ Bonus: Send the summary via email by connecting your Gmail account\n\n\n\n@[youtube](cMyOkQ4N-5M)",
|
|
139
|
-
height: 432,
|
|
140
|
-
width: 384,
|
|
66
|
+
width: 400,
|
|
141
67
|
color: 5
|
|
142
68
|
},
|
|
143
69
|
type: "n8n-nodes-base.stickyNote",
|
|
144
70
|
typeVersion: 1,
|
|
145
|
-
position: [-
|
|
146
|
-
id: "
|
|
71
|
+
position: [-672, 112],
|
|
72
|
+
id: "e664273f-63c6-4f12-804a-0fcd99c294cb",
|
|
147
73
|
name: "Sticky Note2"
|
|
148
74
|
},
|
|
149
75
|
{
|
|
@@ -155,12 +81,54 @@ const READY_TO_RUN_WORKFLOW_V1 = {
|
|
|
155
81
|
},
|
|
156
82
|
type: "n8n-nodes-base.gmail",
|
|
157
83
|
typeVersion: 2.1,
|
|
158
|
-
position: [
|
|
159
|
-
id: "
|
|
160
|
-
name: "Send summary
|
|
161
|
-
webhookId: "
|
|
84
|
+
position: [688, 192],
|
|
85
|
+
id: "d0e843dc-c398-4d32-8c56-0bf83176add3",
|
|
86
|
+
name: "Send summary with Gmail",
|
|
87
|
+
webhookId: "99bdd654-5c17-4ba1-b091-3d726e56f88d",
|
|
88
|
+
notesInFlow: true,
|
|
89
|
+
notes: "Double-click to open"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
parameters: {},
|
|
93
|
+
type: "n8n-nodes-base.manualTrigger",
|
|
94
|
+
typeVersion: 1,
|
|
95
|
+
position: [-432, 192],
|
|
96
|
+
id: "e6618880-9281-4d92-91ff-c9a000429b7d",
|
|
97
|
+
name: "Manual execution"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
parameters: {
|
|
101
|
+
content: "### Bonus (optional)\nConnect the `Output (News Summary)` to the node below, add your Google account info, and send the News summary by email.",
|
|
102
|
+
height: 112,
|
|
103
|
+
width: 384,
|
|
104
|
+
color: 7
|
|
105
|
+
},
|
|
106
|
+
type: "n8n-nodes-base.stickyNote",
|
|
107
|
+
typeVersion: 1,
|
|
108
|
+
position: [544, 16],
|
|
109
|
+
id: "5e33fbe1-1971-48f8-81c7-08bd32e24aca",
|
|
110
|
+
name: "Sticky Note"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
parameters: {
|
|
114
|
+
assignments: {
|
|
115
|
+
assignments: [
|
|
116
|
+
{
|
|
117
|
+
id: "85b5c530-2c13-4424-ab83-05979bc879a5",
|
|
118
|
+
name: "output",
|
|
119
|
+
value: "={{ $json.output }}",
|
|
120
|
+
type: "string"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
options: {}
|
|
125
|
+
},
|
|
126
|
+
type: "n8n-nodes-base.set",
|
|
127
|
+
typeVersion: 3.4,
|
|
128
|
+
position: [256, 192],
|
|
129
|
+
id: "f0a79856-ddcf-404b-95a7-a9bf882697ff",
|
|
130
|
+
name: "Output (News summary)",
|
|
162
131
|
notesInFlow: true,
|
|
163
|
-
credentials: {},
|
|
164
132
|
notes: "Double-click to open"
|
|
165
133
|
}
|
|
166
134
|
],
|
|
@@ -187,59 +155,48 @@ const READY_TO_RUN_WORKFLOW_V1 = {
|
|
|
187
155
|
]
|
|
188
156
|
]
|
|
189
157
|
},
|
|
190
|
-
"
|
|
191
|
-
|
|
158
|
+
"OpenAI Model": {
|
|
159
|
+
ai_languageModel: [
|
|
192
160
|
[
|
|
193
161
|
{
|
|
194
162
|
node: "AI Summary Agent",
|
|
195
|
-
type: "
|
|
163
|
+
type: "ai_languageModel",
|
|
196
164
|
index: 0
|
|
197
165
|
}
|
|
198
166
|
]
|
|
199
167
|
]
|
|
200
168
|
},
|
|
201
|
-
"
|
|
169
|
+
"AI Summary Agent": {
|
|
202
170
|
main: [
|
|
203
171
|
[
|
|
204
172
|
{
|
|
205
|
-
node: "
|
|
173
|
+
node: "Output (News summary)",
|
|
206
174
|
type: "main",
|
|
207
175
|
index: 0
|
|
208
176
|
}
|
|
209
177
|
]
|
|
210
178
|
]
|
|
211
179
|
},
|
|
212
|
-
"
|
|
213
|
-
ai_languageModel: [
|
|
214
|
-
[
|
|
215
|
-
{
|
|
216
|
-
node: "AI Summary Agent",
|
|
217
|
-
type: "ai_languageModel",
|
|
218
|
-
index: 0
|
|
219
|
-
}
|
|
220
|
-
]
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
"AI Summary Agent": {
|
|
180
|
+
"Manual execution": {
|
|
224
181
|
main: [
|
|
225
182
|
[
|
|
226
183
|
{
|
|
227
|
-
node: "
|
|
184
|
+
node: "AI Summary Agent",
|
|
228
185
|
type: "main",
|
|
229
186
|
index: 0
|
|
230
187
|
}
|
|
231
188
|
]
|
|
232
189
|
]
|
|
233
190
|
},
|
|
234
|
-
Output: {
|
|
191
|
+
"Output (News summary)": {
|
|
235
192
|
main: [[]]
|
|
236
193
|
}
|
|
237
194
|
},
|
|
238
195
|
pinData: {}
|
|
239
196
|
};
|
|
240
|
-
const
|
|
197
|
+
const READY_TO_RUN_WORKFLOW_V4 = {
|
|
241
198
|
name: "AI Agent workflow",
|
|
242
|
-
meta: { templateId: "ready-to-run-ai-workflow-
|
|
199
|
+
meta: { templateId: "ready-to-run-ai-workflow-v4" },
|
|
243
200
|
nodes: [
|
|
244
201
|
{
|
|
245
202
|
parameters: {
|
|
@@ -248,8 +205,8 @@ const READY_TO_RUN_WORKFLOW_V2 = {
|
|
|
248
205
|
},
|
|
249
206
|
type: "n8n-nodes-base.rssFeedReadTool",
|
|
250
207
|
typeVersion: 1.2,
|
|
251
|
-
position: [
|
|
252
|
-
id: "
|
|
208
|
+
position: [288, 160],
|
|
209
|
+
id: "6160830b-4f20-437c-b1a2-586bffe62d66",
|
|
253
210
|
name: "Get Tech News"
|
|
254
211
|
},
|
|
255
212
|
{
|
|
@@ -260,71 +217,10 @@ const READY_TO_RUN_WORKFLOW_V2 = {
|
|
|
260
217
|
},
|
|
261
218
|
type: "n8n-nodes-base.rssFeedReadTool",
|
|
262
219
|
typeVersion: 1.2,
|
|
263
|
-
position: [
|
|
264
|
-
id: "
|
|
220
|
+
position: [416, 160],
|
|
221
|
+
id: "4f8ae14c-8c6a-4cf8-b51b-99af6bd23ed1",
|
|
265
222
|
name: "Get World News"
|
|
266
223
|
},
|
|
267
|
-
{
|
|
268
|
-
parameters: {
|
|
269
|
-
rule: {
|
|
270
|
-
interval: [
|
|
271
|
-
{
|
|
272
|
-
triggerAtHour: 7
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
type: "n8n-nodes-base.scheduleTrigger",
|
|
278
|
-
typeVersion: 1.2,
|
|
279
|
-
position: [-560, 752],
|
|
280
|
-
id: "651543b5-0213-433f-8760-57d62b8d6d64",
|
|
281
|
-
name: "Run every day at 7AM",
|
|
282
|
-
notesInFlow: true,
|
|
283
|
-
notes: "Double-click to open"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
parameters: {
|
|
287
|
-
assignments: {
|
|
288
|
-
assignments: [
|
|
289
|
-
{
|
|
290
|
-
id: "85b5c530-2c13-4424-ab83-05979bc879a5",
|
|
291
|
-
name: "output",
|
|
292
|
-
value: "={{ $json.output }}",
|
|
293
|
-
type: "string"
|
|
294
|
-
}
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
options: {}
|
|
298
|
-
},
|
|
299
|
-
type: "n8n-nodes-base.set",
|
|
300
|
-
typeVersion: 3.4,
|
|
301
|
-
position: [160, 544],
|
|
302
|
-
id: "99f7bb9e-f8c0-43ca-a9a8-a76634ac9611",
|
|
303
|
-
name: "Output",
|
|
304
|
-
notesInFlow: true,
|
|
305
|
-
notes: "Double-click to open"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
parameters: {},
|
|
309
|
-
type: "n8n-nodes-base.manualTrigger",
|
|
310
|
-
typeVersion: 1,
|
|
311
|
-
position: [-560, 544],
|
|
312
|
-
id: "a0390291-6794-4673-9a6a-5c3d3a5d9e4b",
|
|
313
|
-
name: "Click ‘Execute workflow’ to run"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
parameters: {
|
|
317
|
-
content: "## ⚡ Start here:",
|
|
318
|
-
height: 224,
|
|
319
|
-
width: 224,
|
|
320
|
-
color: 7
|
|
321
|
-
},
|
|
322
|
-
type: "n8n-nodes-base.stickyNote",
|
|
323
|
-
typeVersion: 1,
|
|
324
|
-
position: [-624, 480],
|
|
325
|
-
id: "fac5929f-e065-4474-96b1-7bcc06834238",
|
|
326
|
-
name: "Sticky Note"
|
|
327
|
-
},
|
|
328
224
|
{
|
|
329
225
|
parameters: {
|
|
330
226
|
model: {
|
|
@@ -336,65 +232,82 @@ const READY_TO_RUN_WORKFLOW_V2 = {
|
|
|
336
232
|
},
|
|
337
233
|
type: "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
|
338
234
|
typeVersion: 1.2,
|
|
339
|
-
position: [
|
|
340
|
-
id: "
|
|
235
|
+
position: [32, 160],
|
|
236
|
+
id: "95986360-8ca1-4b8a-af7e-f101e89e3654",
|
|
341
237
|
name: "OpenAI Model",
|
|
342
238
|
notesInFlow: true,
|
|
343
239
|
credentials: {},
|
|
344
|
-
notes: "
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
parameters: {
|
|
348
|
-
content: "@[youtube](cMyOkQ4N-5M)",
|
|
349
|
-
height: 512,
|
|
350
|
-
width: 902,
|
|
351
|
-
color: 7
|
|
352
|
-
},
|
|
353
|
-
type: "n8n-nodes-base.stickyNote",
|
|
354
|
-
typeVersion: 1,
|
|
355
|
-
position: [-352, -96],
|
|
356
|
-
id: "ec65e69e-77fa-4912-a4af-49e0a248e2c8",
|
|
357
|
-
name: "Sticky Note3"
|
|
240
|
+
notes: "Free n8n credits "
|
|
358
241
|
},
|
|
359
242
|
{
|
|
360
243
|
parameters: {
|
|
361
244
|
promptType: "define",
|
|
362
|
-
text: '=Summarize world news and tech news from the last 24 hours. \nSkip your comments. \nThe titles should be "World news:" and "Tech news:" \nToday is {{ $today }}',
|
|
245
|
+
text: '=Summarize world news and tech news from the last 24 hours. \nSkip your comments. \nThe titles should be "World news:" and "Tech news:" \nLimit to 10 bullet points. \nToday is {{ $today }}',
|
|
363
246
|
options: {}
|
|
364
247
|
},
|
|
365
248
|
type: "@n8n/n8n-nodes-langchain.agent",
|
|
366
249
|
typeVersion: 2.2,
|
|
367
|
-
position: [
|
|
368
|
-
id: "
|
|
250
|
+
position: [32, -64],
|
|
251
|
+
id: "d36975bc-d51f-472f-a51f-f6c745b29a8d",
|
|
369
252
|
name: "AI Summary Agent",
|
|
370
253
|
notesInFlow: true,
|
|
371
254
|
notes: "Double-click to open"
|
|
372
255
|
},
|
|
373
256
|
{
|
|
374
257
|
parameters: {
|
|
375
|
-
content:
|
|
376
|
-
height:
|
|
377
|
-
width:
|
|
258
|
+
content: '### ✅ This test workflow is ready to use \n\n1. Click the orange "Execute workflow" button\n\n2. Watch the workflow get the latest news and summarize it with AI \n\n3. (Bonus) Connect the `Gmail node` to the workflow to send the summary via email\n\n',
|
|
259
|
+
height: 256,
|
|
260
|
+
width: 352,
|
|
378
261
|
color: 7
|
|
379
262
|
},
|
|
380
263
|
type: "n8n-nodes-base.stickyNote",
|
|
381
264
|
typeVersion: 1,
|
|
382
|
-
position: [
|
|
383
|
-
id: "
|
|
384
|
-
name: "Sticky
|
|
265
|
+
position: [-832, -128],
|
|
266
|
+
id: "13abc1af-da4a-427d-8cc4-e260dff43307",
|
|
267
|
+
name: "Sticky Note2"
|
|
385
268
|
},
|
|
386
269
|
{
|
|
387
270
|
parameters: {
|
|
388
|
-
content:
|
|
389
|
-
height:
|
|
390
|
-
width:
|
|
391
|
-
color:
|
|
271
|
+
content: '[](https://www.youtube.com/watch?v=cMyOkQ4N-5M "Watch on YouTube")\n',
|
|
272
|
+
height: 208,
|
|
273
|
+
width: 352,
|
|
274
|
+
color: 7
|
|
392
275
|
},
|
|
393
276
|
type: "n8n-nodes-base.stickyNote",
|
|
394
277
|
typeVersion: 1,
|
|
395
|
-
position: [-
|
|
396
|
-
id: "
|
|
397
|
-
name: "Sticky
|
|
278
|
+
position: [-832, 160],
|
|
279
|
+
id: "e0e15104-1954-43b9-b748-0ff8441f6aeb",
|
|
280
|
+
name: "Sticky Note"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
parameters: {
|
|
284
|
+
assignments: {
|
|
285
|
+
assignments: [
|
|
286
|
+
{
|
|
287
|
+
id: "85b5c530-2c13-4424-ab83-05979bc879a5",
|
|
288
|
+
name: "output",
|
|
289
|
+
value: "={{ $json.output }}",
|
|
290
|
+
type: "string"
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
options: {}
|
|
295
|
+
},
|
|
296
|
+
type: "n8n-nodes-base.set",
|
|
297
|
+
typeVersion: 3.4,
|
|
298
|
+
position: [464, -64],
|
|
299
|
+
id: "bef94b0a-b2aa-42f6-85bb-2e23f530d799",
|
|
300
|
+
name: "Output (News Summary)",
|
|
301
|
+
notesInFlow: true,
|
|
302
|
+
notes: "Double-click to open"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
parameters: {},
|
|
306
|
+
type: "n8n-nodes-base.manualTrigger",
|
|
307
|
+
typeVersion: 1,
|
|
308
|
+
position: [-256, -64],
|
|
309
|
+
id: "55cb3e43-b73c-48cb-b420-dd618de68a58",
|
|
310
|
+
name: "Execute workflow"
|
|
398
311
|
},
|
|
399
312
|
{
|
|
400
313
|
parameters: {
|
|
@@ -405,12 +318,11 @@ const READY_TO_RUN_WORKFLOW_V2 = {
|
|
|
405
318
|
},
|
|
406
319
|
type: "n8n-nodes-base.gmail",
|
|
407
320
|
typeVersion: 2.1,
|
|
408
|
-
position: [
|
|
409
|
-
id: "
|
|
410
|
-
name: "Send summary
|
|
321
|
+
position: [768, -64],
|
|
322
|
+
id: "e74f8dac-d766-4f4d-91f3-36604a2d4e7a",
|
|
323
|
+
name: "Send summary with Gmail",
|
|
411
324
|
webhookId: "093b04f1-5e78-4926-9863-1b100d6f2ead",
|
|
412
325
|
notesInFlow: true,
|
|
413
|
-
credentials: {},
|
|
414
326
|
notes: "Double-click to open"
|
|
415
327
|
}
|
|
416
328
|
],
|
|
@@ -437,52 +349,41 @@ const READY_TO_RUN_WORKFLOW_V2 = {
|
|
|
437
349
|
]
|
|
438
350
|
]
|
|
439
351
|
},
|
|
440
|
-
"
|
|
441
|
-
|
|
352
|
+
"OpenAI Model": {
|
|
353
|
+
ai_languageModel: [
|
|
442
354
|
[
|
|
443
355
|
{
|
|
444
356
|
node: "AI Summary Agent",
|
|
445
|
-
type: "
|
|
357
|
+
type: "ai_languageModel",
|
|
446
358
|
index: 0
|
|
447
359
|
}
|
|
448
360
|
]
|
|
449
361
|
]
|
|
450
362
|
},
|
|
451
|
-
"
|
|
363
|
+
"AI Summary Agent": {
|
|
452
364
|
main: [
|
|
453
365
|
[
|
|
454
366
|
{
|
|
455
|
-
node: "
|
|
367
|
+
node: "Output (News Summary)",
|
|
456
368
|
type: "main",
|
|
457
369
|
index: 0
|
|
458
370
|
}
|
|
459
371
|
]
|
|
460
372
|
]
|
|
461
373
|
},
|
|
462
|
-
"
|
|
463
|
-
|
|
464
|
-
[
|
|
465
|
-
{
|
|
466
|
-
node: "AI Summary Agent",
|
|
467
|
-
type: "ai_languageModel",
|
|
468
|
-
index: 0
|
|
469
|
-
}
|
|
470
|
-
]
|
|
471
|
-
]
|
|
374
|
+
"Output (News Summary)": {
|
|
375
|
+
main: [[]]
|
|
472
376
|
},
|
|
473
|
-
"
|
|
377
|
+
"Execute workflow": {
|
|
474
378
|
main: [
|
|
475
379
|
[
|
|
476
380
|
{
|
|
477
|
-
node: "
|
|
381
|
+
node: "AI Summary Agent",
|
|
478
382
|
type: "main",
|
|
479
383
|
index: 0
|
|
480
384
|
}
|
|
481
385
|
]
|
|
482
386
|
]
|
|
483
|
-
},
|
|
484
|
-
Output: {
|
|
485
|
-
main: [[]]
|
|
486
387
|
}
|
|
487
388
|
},
|
|
488
389
|
pinData: {}
|
|
@@ -525,8 +426,8 @@ const useReadyToRunWorkflowsV2Store = defineStore(
|
|
|
525
426
|
const cloudPlanStore = useCloudPlanStore();
|
|
526
427
|
const workflowsStore = useWorkflowsStore();
|
|
527
428
|
const isFeatureEnabled = computed(() => {
|
|
528
|
-
const variant = posthogStore.getVariant(
|
|
529
|
-
return (variant ===
|
|
429
|
+
const variant = posthogStore.getVariant(READY_TO_RUN_V2_PART2_EXPERIMENT.name);
|
|
430
|
+
return (variant === READY_TO_RUN_V2_PART2_EXPERIMENT.variant3 || variant === READY_TO_RUN_V2_PART2_EXPERIMENT.variant4) && cloudPlanStore.userIsTrialing;
|
|
530
431
|
});
|
|
531
432
|
const claimedCredentialIdRef = useLocalStorage(LOCAL_STORAGE_CREDENTIAL_KEY, "");
|
|
532
433
|
const claimingCredits = ref(false);
|
|
@@ -542,7 +443,7 @@ const useReadyToRunWorkflowsV2Store = defineStore(
|
|
|
542
443
|
return settingsStore.isAiCreditsEnabled && !userHasOpenAiCredentialAlready.value && !userHasClaimedAiCreditsAlready.value;
|
|
543
444
|
});
|
|
544
445
|
const getCurrentVariant = () => {
|
|
545
|
-
return posthogStore.getVariant(
|
|
446
|
+
return posthogStore.getVariant(READY_TO_RUN_V2_PART2_EXPERIMENT.name);
|
|
546
447
|
};
|
|
547
448
|
const trackExecuteAiWorkflow = (status) => {
|
|
548
449
|
const variant = getCurrentVariant();
|
|
@@ -561,9 +462,6 @@ const useReadyToRunWorkflowsV2Store = defineStore(
|
|
|
561
462
|
claimingCredits.value = true;
|
|
562
463
|
try {
|
|
563
464
|
const credential = await credentialsStore.claimFreeAiCredits(projectId);
|
|
564
|
-
if (usersStore?.currentUser?.settings) {
|
|
565
|
-
usersStore.currentUser.settings.userClaimedAiCredits = true;
|
|
566
|
-
}
|
|
567
465
|
claimedCredentialIdRef.value = credential.id;
|
|
568
466
|
telemetry.track("User claimed OpenAI credits");
|
|
569
467
|
return credential;
|
|
@@ -584,7 +482,7 @@ const useReadyToRunWorkflowsV2Store = defineStore(
|
|
|
584
482
|
source,
|
|
585
483
|
variant
|
|
586
484
|
});
|
|
587
|
-
const workflowTemplate = variant ===
|
|
485
|
+
const workflowTemplate = variant === READY_TO_RUN_V2_PART2_EXPERIMENT.variant3 ? READY_TO_RUN_WORKFLOW_V3 : READY_TO_RUN_WORKFLOW_V4;
|
|
588
486
|
try {
|
|
589
487
|
let workflowToCreate = {
|
|
590
488
|
...workflowTemplate,
|
|
@@ -617,6 +515,9 @@ const useReadyToRunWorkflowsV2Store = defineStore(
|
|
|
617
515
|
const claimCreditsAndOpenWorkflow = async (source, parentFolderId, projectId) => {
|
|
618
516
|
await claimFreeAiCredits(projectId);
|
|
619
517
|
await createAndOpenAiWorkflow(source, parentFolderId);
|
|
518
|
+
if (usersStore?.currentUser?.settings) {
|
|
519
|
+
usersStore.currentUser.settings.userClaimedAiCredits = true;
|
|
520
|
+
}
|
|
620
521
|
};
|
|
621
522
|
const getCardVisibility = (canCreate, readOnlyEnv, loading) => {
|
|
622
523
|
return !loading && isFeatureEnabled.value && userCanClaimOpenAiCredits.value && !readOnlyEnv && canCreate;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { eI as assert, eZ as doesNodeHaveCredentialsToFill, V as VIEWS, dF as tryToParseNumber, e_ as getNewWorkflow, e$ as replaceAllTemplateNodeCredentials, dK as getNodesWithNormalizedPosition } from "./index-
|
|
1
|
+
import { eI as assert, eZ as doesNodeHaveCredentialsToFill, V as VIEWS, dF as tryToParseNumber, e_ as getNewWorkflow, e$ as replaceAllTemplateNodeCredentials, dK as getNodesWithNormalizedPosition } from "./index-C2P0-X23.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as useUIStore, cv as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-
|
|
1
|
+
import { Q as useUIStore, cv as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-C2P0-X23.js";
|
|
2
2
|
function useBeforeUnload({ route }) {
|
|
3
3
|
const uiStore = useUIStore();
|
|
4
4
|
const canvasStore = useCanvasStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as useRouter, a as useToast, a2 as useWorkflowsStore, v as useSettingsStore, Q as useUIStore, aB as usePageRedirectionHelper, x as computed, aF as EnterpriseEditionFeature, c as useI18n, dZ as DEBUG_PAYWALL_MODAL_KEY, aX as h, d_ as sanitizeHtml, an as useMessage, ao as MODAL_CONFIRM, V as VIEWS, am as useTelemetry, au as useRootStore, d$ as isFullExecutionResponse } from "./index-
|
|
1
|
+
import { b as useRouter, a as useToast, a2 as useWorkflowsStore, v as useSettingsStore, Q as useUIStore, aB as usePageRedirectionHelper, x as computed, aF as EnterpriseEditionFeature, c as useI18n, dZ as DEBUG_PAYWALL_MODAL_KEY, aX as h, d_ as sanitizeHtml, an as useMessage, ao as MODAL_CONFIRM, V as VIEWS, am as useTelemetry, au as useRootStore, d$ as isFullExecutionResponse } from "./index-C2P0-X23.js";
|
|
2
2
|
const useExecutionDebugging = () => {
|
|
3
3
|
const telemetry = useTelemetry();
|
|
4
4
|
const router = useRouter();
|