mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
chore: Rename Test workflow -> Execute workflow (#15112)
This commit is contained in:
@@ -69,7 +69,7 @@ export function clickOpenNdvAtRow(rowIndex: number) {
|
|||||||
|
|
||||||
export function clickTriggerPartialExecutionAtRow(rowIndex: number) {
|
export function clickTriggerPartialExecutionAtRow(rowIndex: number) {
|
||||||
getLogEntries().eq(rowIndex).realHover();
|
getLogEntries().eq(rowIndex).realHover();
|
||||||
getLogEntries().eq(rowIndex).find('[aria-label="Test step"]').click();
|
getLogEntries().eq(rowIndex).find('[aria-label="Execute step"]').click();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setInputDisplayMode(mode: 'table' | 'ai' | 'json' | 'schema') {
|
export function setInputDisplayMode(mode: 'table' | 'ai' | 'json' | 'schema') {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export const INSTANCE_MEMBERS = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
||||||
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking ‘Test workflow’';
|
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking ‘Execute workflow’';
|
||||||
export const MANUAL_CHAT_TRIGGER_NODE_NAME = 'Chat Trigger';
|
export const MANUAL_CHAT_TRIGGER_NODE_NAME = 'Chat Trigger';
|
||||||
export const CHAT_TRIGGER_NODE_DISPLAY_NAME = 'When chat message received';
|
export const CHAT_TRIGGER_NODE_DISPLAY_NAME = 'When chat message received';
|
||||||
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ describe('Data pinning', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function setExpressionOnStringValueInSet(expression: string) {
|
function setExpressionOnStringValueInSet(expression: string) {
|
||||||
cy.get('button').contains('Test step').click();
|
cy.get('button').contains('Execute step').click();
|
||||||
|
|
||||||
ndv.getters.assignmentCollectionAdd('assignments').click();
|
ndv.getters.assignmentCollectionAdd('assignments').click();
|
||||||
ndv.getters.assignmentValue('assignments').contains('Expression').invoke('show').click();
|
ndv.getters.assignmentValue('assignments').contains('Expression').invoke('show').click();
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ describe('Node Creator', () => {
|
|||||||
nodeCreatorFeature.getters.getCategoryItem('Actions').click();
|
nodeCreatorFeature.getters.getCategoryItem('Actions').click();
|
||||||
nodeCreatorFeature.getters.getCreatorItem('Create a credential').click();
|
nodeCreatorFeature.getters.getCreatorItem('Create a credential').click();
|
||||||
NDVModal.actions.close();
|
NDVModal.actions.close();
|
||||||
WorkflowPage.actions.deleteNode('When clicking ‘Test workflow’');
|
WorkflowPage.actions.deleteNode('When clicking ‘Execute workflow’');
|
||||||
WorkflowPage.getters.canvasNodePlusEndpointByName('n8n').click();
|
WorkflowPage.getters.canvasNodePlusEndpointByName('n8n').click();
|
||||||
nodeCreatorFeature.getters.searchBar().find('input').clear().type('n8n');
|
nodeCreatorFeature.getters.searchBar().find('input').clear().type('n8n');
|
||||||
nodeCreatorFeature.getters.getCreatorItem('n8n').click();
|
nodeCreatorFeature.getters.getCreatorItem('n8n').click();
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ describe('Manual partial execution', () => {
|
|||||||
|
|
||||||
canvas.actions.openNode('Edit Fields');
|
canvas.actions.openNode('Edit Fields');
|
||||||
|
|
||||||
cy.get('button').contains('Test step').click(); // create run data
|
cy.get('button').contains('Execute step').click(); // create run data
|
||||||
cy.get('button').contains('Test step').click(); // use run data
|
cy.get('button').contains('Execute step').click(); // use run data
|
||||||
|
|
||||||
ndv.actions.close();
|
ndv.actions.close();
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ describe('Editors', () => {
|
|||||||
});
|
});
|
||||||
ndv.actions.close();
|
ndv.actions.close();
|
||||||
|
|
||||||
workflowPage.actions.openNode('When clicking ‘Test workflow’');
|
workflowPage.actions.openNode('When clicking ‘Execute workflow’');
|
||||||
ndv.actions.setPinnedData([{ table: 'test_table' }]);
|
ndv.actions.setPinnedData([{ table: 'test_table' }]);
|
||||||
ndv.actions.close();
|
ndv.actions.close();
|
||||||
|
|
||||||
|
|||||||
@@ -749,7 +749,7 @@ describe('NDV', () => {
|
|||||||
ndv.getters.backToCanvas().click();
|
ndv.getters.backToCanvas().click();
|
||||||
workflowPage.actions.executeWorkflow();
|
workflowPage.actions.executeWorkflow();
|
||||||
// Manual tigger node should show success indicator
|
// Manual tigger node should show success indicator
|
||||||
workflowPage.actions.openNode('When clicking ‘Test workflow’');
|
workflowPage.actions.openNode('When clicking ‘Execute workflow’');
|
||||||
ndv.getters.nodeRunSuccessIndicator().should('exist');
|
ndv.getters.nodeRunSuccessIndicator().should('exist');
|
||||||
ndv.getters.nodeRunTooltipIndicator().should('exist');
|
ndv.getters.nodeRunTooltipIndicator().should('exist');
|
||||||
// Code node should show error
|
// Code node should show error
|
||||||
@@ -916,7 +916,7 @@ describe('NDV', () => {
|
|||||||
.should('contain.text', 'onlyOnItem3');
|
.should('contain.text', 'onlyOnItem3');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should keep search expanded after Test step node run', () => {
|
it('should keep search expanded after Execute step node run', () => {
|
||||||
cy.createFixtureWorkflow('Test_ndv_search.json');
|
cy.createFixtureWorkflow('Test_ndv_search.json');
|
||||||
workflowPage.actions.zoomToFit();
|
workflowPage.actions.zoomToFit();
|
||||||
workflowPage.actions.executeWorkflow();
|
workflowPage.actions.executeWorkflow();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ describe('Logs', () => {
|
|||||||
logs.getOverviewStatus().contains('Running').should('exist');
|
logs.getOverviewStatus().contains('Running').should('exist');
|
||||||
|
|
||||||
logs.getLogEntries().should('have.length', 4);
|
logs.getLogEntries().should('have.length', 4);
|
||||||
logs.getLogEntries().eq(0).should('contain.text', 'When clicking ‘Test workflow’');
|
logs.getLogEntries().eq(0).should('contain.text', 'When clicking ‘Execute workflow’');
|
||||||
logs.getLogEntries().eq(1).should('contain.text', 'Code');
|
logs.getLogEntries().eq(1).should('contain.text', 'Code');
|
||||||
logs.getLogEntries().eq(2).should('contain.text', 'Loop Over Items');
|
logs.getLogEntries().eq(2).should('contain.text', 'Loop Over Items');
|
||||||
logs.getLogEntries().eq(3).should('contain.text', 'Wait');
|
logs.getLogEntries().eq(3).should('contain.text', 'Wait');
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ describe('Code node', () => {
|
|||||||
.type('{selectall}')
|
.type('{selectall}')
|
||||||
.paste(`$input.itemMatching()
|
.paste(`$input.itemMatching()
|
||||||
$input.item
|
$input.item
|
||||||
$('When clicking ‘Test workflow’').item
|
$('When clicking ‘Execute workflow’').item
|
||||||
$input.first(1)
|
$input.first(1)
|
||||||
|
|
||||||
for (const item of $input.all()) {
|
for (const item of $input.all()) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "d0eda550-2526-42a1-aa19-dee411c8acf9",
|
"id": "d0eda550-2526-42a1-aa19-dee411c8acf9",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
],
|
],
|
||||||
"pinData": {},
|
"pinData": {},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "de3c1210-3be7-49a6-86ef-9435e661f23f",
|
"id": "de3c1210-3be7-49a6-86ef-9435e661f23f",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
],
|
],
|
||||||
"pinData": {},
|
"pinData": {},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "369fe424-dd3b-4399-9de3-50bd4ce1f75b",
|
"id": "369fe424-dd3b-4399-9de3-50bd4ce1f75b",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -570,7 +570,7 @@
|
|||||||
],
|
],
|
||||||
"pinData": {},
|
"pinData": {},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,48 +1,42 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"templateCredsSetupCompleted": true,
|
"templateCredsSetupCompleted": true,
|
||||||
"instanceId": "5b397bc122efafc165b2a6e67d5e8d75b8138f0d24d6352fac713e4845b002a6"
|
"instanceId": "5b397bc122efafc165b2a6e67d5e8d75b8138f0d24d6352fac713e4845b002a6"
|
||||||
},
|
},
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "df260de7-6f28-4d07-b7b5-29588e27335b",
|
"id": "df260de7-6f28-4d07-b7b5-29588e27335b",
|
||||||
"name": "When clicking \"Test workflow\"",
|
"name": "When clicking \"Execute workflow\"",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [780, 500]
|
||||||
780,
|
},
|
||||||
500
|
{
|
||||||
]
|
"parameters": {
|
||||||
},
|
"category": "randomData",
|
||||||
{
|
|
||||||
"parameters": {
|
|
||||||
"category": "randomData",
|
|
||||||
"randomDataSeed": "0",
|
"randomDataSeed": "0",
|
||||||
"randomDataCount": 100
|
"randomDataCount": 100
|
||||||
},
|
},
|
||||||
"id": "9e9a0708-86dc-474f-a60e-4315e757c08e",
|
"id": "9e9a0708-86dc-474f-a60e-4315e757c08e",
|
||||||
"name": "DebugHelper",
|
"name": "DebugHelper",
|
||||||
"type": "n8n-nodes-base.debugHelper",
|
"type": "n8n-nodes-base.debugHelper",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [1000, 500]
|
||||||
1000,
|
}
|
||||||
500
|
],
|
||||||
]
|
"connections": {
|
||||||
}
|
"When clicking \"Execute workflow\"": {
|
||||||
],
|
"main": [
|
||||||
"connections": {
|
[
|
||||||
"When clicking \"Test workflow\"": {
|
{
|
||||||
"main": [
|
"node": "DebugHelper",
|
||||||
[
|
"type": "main",
|
||||||
{
|
"index": 0
|
||||||
"node": "DebugHelper",
|
}
|
||||||
"type": "main",
|
]
|
||||||
"index": 0
|
]
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
]
|
"pinData": {}
|
||||||
}
|
|
||||||
},
|
|
||||||
"pinData": {}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "b3f0815d-b733-413f-ab3f-74e48277bd3a",
|
"id": "b3f0815d-b733-413f-ab3f-74e48277bd3a",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "46770685-44d1-4aad-9107-1d790cf26b50",
|
"id": "46770685-44d1-4aad-9107-1d790cf26b50",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"pinData": {
|
"pinData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"json": {
|
"json": {
|
||||||
"id": "654cfa05fa51480dcb543b1a",
|
"id": "654cfa05fa51480dcb543b1a",
|
||||||
@@ -599,7 +599,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "4535ce3e-280e-49b0-8854-373472ec86d1",
|
"id": "4535ce3e-280e-49b0-8854-373472ec86d1",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [80, 860]
|
"position": [80, 860]
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "418350b8-b402-4d3b-93ba-3794d36c1ad5",
|
"id": "418350b8-b402-4d3b-93ba-3794d36c1ad5",
|
||||||
"name": "When clicking \"Test workflow\"",
|
"name": "When clicking \"Execute workflow\"",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [440, 380]
|
"position": [440, 380]
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking \"Test workflow\"": {
|
"When clicking \"Execute workflow\"": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-240, 180],
|
"position": [-240, 180],
|
||||||
"id": "cd9b8124-567e-43d9-b4d1-638b111cd049",
|
"id": "cd9b8124-567e-43d9-b4d1-638b111cd049",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "bb7f8bb3-840a-464c-a7de-d3a80538c2be",
|
"id": "bb7f8bb3-840a-464c-a7de-d3a80538c2be",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [0, 0]
|
"position": [0, 0]
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pinData": {
|
"pinData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"aaString": "A String",
|
"aaString": "A String",
|
||||||
"aaNumber": 1,
|
"aaNumber": 1,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "f26332f3-c61a-4843-94bd-64a73ad161ff",
|
"id": "f26332f3-c61a-4843-94bd-64a73ad161ff",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
],
|
],
|
||||||
"pinData": {},
|
"pinData": {},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "55635c7b-92ee-4d2d-a0c0-baff9ab071da",
|
"id": "55635c7b-92ee-4d2d-a0c0-baff9ab071da",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"position": [
|
"position": [
|
||||||
800,
|
800,
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -132,4 +132,4 @@
|
|||||||
},
|
},
|
||||||
"id": "aBVnTRON9Y2cSmse",
|
"id": "aBVnTRON9Y2cSmse",
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [0, 0],
|
"position": [0, 0],
|
||||||
"id": "de1e7acf-12d8-4e56-ba42-709ffb397db2",
|
"id": "de1e7acf-12d8-4e56-ba42-709ffb397db2",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pinData": {
|
"pinData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"a": 1
|
"a": 1
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "449ab540-d9d7-480d-b131-05e9989a69cd",
|
"id": "449ab540-d9d7-480d-b131-05e9989a69cd",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "ef63cdc5-50bc-4525-9873-7e7f7589a60e",
|
"id": "ef63cdc5-50bc-4525-9873-7e7f7589a60e",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "f332a7d1-31b4-4e78-b31e-9e8db945bf3f",
|
"id": "f332a7d1-31b4-4e78-b31e-9e8db945bf3f",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
],
|
],
|
||||||
"pinData": {},
|
"pinData": {},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "64b27674-3da6-46ce-9008-e173182efa48",
|
"id": "64b27674-3da6-46ce-9008-e173182efa48",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"position": [
|
"position": [
|
||||||
16,
|
16,
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"pinData": {
|
"pinData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"json": {
|
"json": {
|
||||||
"name": "First item",
|
"name": "First item",
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "4f4c6527-d565-448a-96bd-8f5414caf8cc",
|
"id": "4f4c6527-d565-448a-96bd-8f5414caf8cc",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"id": "2acca986-10a6-451e-b20a-86e95b50e627",
|
"id": "2acca986-10a6-451e-b20a-86e95b50e627",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [460, 460]
|
"position": [460, 460]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "09e4325e-ede1-40cf-a1ba-58612bbc7f1b",
|
"id": "09e4325e-ede1-40cf-a1ba-58612bbc7f1b",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "58512a93-dabf-4584-817f-27c608c1bdd5",
|
"id": "58512a93-dabf-4584-817f-27c608c1bdd5",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "3dc7cf26-ff25-4437-b9fd-0e8b127ebec9",
|
"id": "3dc7cf26-ff25-4437-b9fd-0e8b127ebec9",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -552,7 +552,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "0a60e507-7f34-41c0-a0f9-697d852033b6",
|
"id": "0a60e507-7f34-41c0-a0f9-697d852033b6",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "8108d313-8b03-4aa4-963d-cd1c0fe8f85c",
|
"id": "8108d313-8b03-4aa4-963d-cd1c0fe8f85c",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [0, -10],
|
"position": [0, -10],
|
||||||
"id": "cc68bd44-e150-403c-afaf-bd0bac0459dd",
|
"id": "cc68bd44-e150-403c-afaf-bd0bac0459dd",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "298d3dc9-5e99-4b3f-919e-05fdcdfbe2d0",
|
"id": "298d3dc9-5e99-4b3f-919e-05fdcdfbe2d0",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [360, 220]
|
"position": [360, 220]
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "ebfced75-2ce1-4c41-a971-6c3b83522c4d",
|
"id": "ebfced75-2ce1-4c41-a971-6c3b83522c4d",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "bcb6abdf-d34b-4ea7-a8ed-58155b708c43",
|
"id": "bcb6abdf-d34b-4ea7-a8ed-58155b708c43",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
220
|
220
|
||||||
],
|
],
|
||||||
"id": "c773e03a-a260-4e02-ae80-6b473ea03398",
|
"id": "c773e03a-a260-4e02-ae80-6b473ea03398",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -153,7 +153,7 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -202,4 +202,4 @@
|
|||||||
},
|
},
|
||||||
"id": "9JwaG8aehuYypPc6",
|
"id": "9JwaG8aehuYypPc6",
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "25ff0c17-7064-4e14-aec6-45c71d63201b",
|
"id": "25ff0c17-7064-4e14-aec6-45c71d63201b",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "acdd1bdc-c642-4ea6-ad67-f4201b640cfa",
|
"id": "acdd1bdc-c642-4ea6-ad67-f4201b640cfa",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "40720511-19b6-4421-bdb0-3fb6efef4bc5",
|
"id": "40720511-19b6-4421-bdb0-3fb6efef4bc5",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -46,9 +46,9 @@ export class McpTrigger extends Node {
|
|||||||
header: 'Listen for MCP events',
|
header: 'Listen for MCP events',
|
||||||
executionsHelp: {
|
executionsHelp: {
|
||||||
inactive:
|
inactive:
|
||||||
"This trigger has two modes: test and production.<br /><br /><b>Use test mode while you build your workflow</b>. Click the 'test step' button, then make an MCP request to the test URL. The executions will show up in the editor.<br /><br /><b>Use production mode to run your workflow automatically</b>. <a data-key='activate'>Activate</a> the workflow, then make requests to the production URL. These executions will show up in the <a data-key='executions'>executions list</a>, but not the editor.",
|
"This trigger has two modes: test and production.<br /><br /><b>Use test mode while you build your workflow</b>. Click the 'execute step' button, then make an MCP request to the test URL. The executions will show up in the editor.<br /><br /><b>Use production mode to run your workflow automatically</b>. <a data-key='activate'>Activate</a> the workflow, then make requests to the production URL. These executions will show up in the <a data-key='executions'>executions list</a>, but not the editor.",
|
||||||
active:
|
active:
|
||||||
"This trigger has two modes: test and production.<br /><br /><b>Use test mode while you build your workflow</b>. Click the 'test step' button, then make an MCP request to the test URL. The executions will show up in the editor.<br /><br /><b>Use production mode to run your workflow automatically</b>. Since your workflow is activated, you can make requests to the production URL. These executions will show up in the <a data-key='executions'>executions list</a>, but not the editor.",
|
"This trigger has two modes: test and production.<br /><br /><b>Use test mode while you build your workflow</b>. Click the 'execute step' button, then make an MCP request to the test URL. The executions will show up in the editor.<br /><br /><b>Use production mode to run your workflow automatically</b>. Since your workflow is activated, you can make requests to the production URL. These executions will show up in the <a data-key='executions'>executions list</a>, but not the editor.",
|
||||||
},
|
},
|
||||||
activationHint:
|
activationHint:
|
||||||
'Once you’ve finished building your workflow, run it without having to click this button by using the production URL.',
|
'Once you’ve finished building your workflow, run it without having to click this button by using the production URL.',
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ describe('OpenAI Workflow', () => {
|
|||||||
workflowData: testHarness.readWorkflowJSON('list-assistants.workflow.json'),
|
workflowData: testHarness.readWorkflowJSON('list-assistants.workflow.json'),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
nodeExecutionOrder: ['When clicking ‘Test workflow’', 'OpenAI'],
|
nodeExecutionOrder: ['When clicking ‘Execute workflow’', 'OpenAI'],
|
||||||
nodeData: {
|
nodeData: {
|
||||||
OpenAI: [
|
OpenAI: [
|
||||||
assistants.map((assistant) => ({
|
assistants.map((assistant) => ({
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [0, 0],
|
"position": [0, 0],
|
||||||
"id": "ce6133c3-2eb6-4262-8e0c-54015ed0f795",
|
"id": "ce6133c3-2eb6-4262-8e0c-54015ed0f795",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12849,7 +12849,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"displayName": "Manual Trigger",
|
"displayName": "Manual Trigger",
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"color": "#909298"
|
"color": "#909298"
|
||||||
},
|
},
|
||||||
"description": "Runs the flow on clicking a button in n8n",
|
"description": "Runs the flow on clicking a button in n8n",
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ describe('ManualExecutionService', () => {
|
|||||||
const data = mock<IWorkflowExecutionDataProcess>();
|
const data = mock<IWorkflowExecutionDataProcess>();
|
||||||
const manualTrigger = mock<INode>({
|
const manualTrigger = mock<INode>({
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
});
|
});
|
||||||
|
|
||||||
const workflow = mock<Workflow>({
|
const workflow = mock<Workflow>({
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export class WebhookNotFoundError extends NotFoundError {
|
|||||||
if (!webhookMethods?.length) {
|
if (!webhookMethods?.length) {
|
||||||
hintMsg =
|
hintMsg =
|
||||||
hint === 'default'
|
hint === 'default'
|
||||||
? "Click the 'Test workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)"
|
? "Click the 'Execute workflow' button on the canvas, then try again. (In test mode, the webhook only works for one call after you click this button)"
|
||||||
: "The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren't shown on the canvas (only in the executions list)";
|
: "The workflow must be active for a production URL to run successfully. You can activate the workflow using the toggle in the top-right of the editor. Note that unlike test URL calls, production URL calls aren't shown on the canvas (only in the executions list)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ describe('createPinData', () => {
|
|||||||
const mockedNodes = [
|
const mockedNodes = [
|
||||||
{
|
{
|
||||||
id: '72256d90-3a67-4e29-b032-47df4e5768af',
|
id: '72256d90-3a67-4e29-b032-47df4e5768af',
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ describe('createPinData', () => {
|
|||||||
|
|
||||||
expect(pinData).toEqual(
|
expect(pinData).toEqual(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
'When clicking ‘Test workflow’': expect.anything(),
|
'When clicking ‘Execute workflow’': expect.anything(),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
@@ -46,7 +46,7 @@ describe('createPinData', () => {
|
|||||||
test('should create pin data for all mocked nodes', () => {
|
test('should create pin data for all mocked nodes', () => {
|
||||||
const mockedNodes = [
|
const mockedNodes = [
|
||||||
{
|
{
|
||||||
id: '72256d90-3a67-4e29-b032-47df4e5768af', // 'When clicking ‘Test workflow’'
|
id: '72256d90-3a67-4e29-b032-47df4e5768af', // 'When clicking ‘Execute workflow’'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '319f29bc-1dd4-4122-b223-c584752151a4', // 'Edit Fields'
|
id: '319f29bc-1dd4-4122-b223-c584752151a4', // 'Edit Fields'
|
||||||
@@ -60,7 +60,7 @@ describe('createPinData', () => {
|
|||||||
|
|
||||||
expect(pinData).toEqual(
|
expect(pinData).toEqual(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
'When clicking ‘Test workflow’': expect.anything(),
|
'When clicking ‘Execute workflow’': expect.anything(),
|
||||||
'Edit Fields': expect.anything(),
|
'Edit Fields': expect.anything(),
|
||||||
Code: expect.anything(),
|
Code: expect.anything(),
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ describe('formatTestCaseExecutionInputData', () => {
|
|||||||
// Check format of specific node data
|
// Check format of specific node data
|
||||||
expect(data.json.originalExecution).toMatchObject({
|
expect(data.json.originalExecution).toMatchObject({
|
||||||
'72256d90-3a67-4e29-b032-47df4e5768af': {
|
'72256d90-3a67-4e29-b032-47df4e5768af': {
|
||||||
nodeName: 'When clicking ‘Test workflow’',
|
nodeName: 'When clicking ‘Execute workflow’',
|
||||||
runs: [
|
runs: [
|
||||||
{
|
{
|
||||||
executionTime: 0,
|
executionTime: 0,
|
||||||
|
|||||||
@@ -23,13 +23,13 @@ describe('getPastExecutionStartNode', () => {
|
|||||||
test('should return the start node of the past execution', () => {
|
test('should return the start node of the past execution', () => {
|
||||||
const startNode = getPastExecutionTriggerNode(executionDataJson);
|
const startNode = getPastExecutionTriggerNode(executionDataJson);
|
||||||
|
|
||||||
expect(startNode).toEqual('When clicking ‘Test workflow’');
|
expect(startNode).toEqual('When clicking ‘Execute workflow’');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return the start node of the past execution with multiple triggers', () => {
|
test('should return the start node of the past execution with multiple triggers', () => {
|
||||||
const startNode = getPastExecutionTriggerNode(executionDataMultipleTriggersJson);
|
const startNode = getPastExecutionTriggerNode(executionDataMultipleTriggersJson);
|
||||||
|
|
||||||
expect(startNode).toEqual('When clicking ‘Test workflow’');
|
expect(startNode).toEqual('When clicking ‘Execute workflow’');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return the start node of the past execution with multiple triggers - chat trigger', () => {
|
test('should return the start node of the past execution with multiple triggers - chat trigger', () => {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"startData": {},
|
"startData": {},
|
||||||
"resultData": {
|
"resultData": {
|
||||||
"runData": {
|
"runData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"hints": [],
|
"hints": [],
|
||||||
"startTime": 1731079118048,
|
"startTime": 1731079118048,
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
"executionTime": 0,
|
"executionTime": 0,
|
||||||
"source": [
|
"source": [
|
||||||
{
|
{
|
||||||
"previousNode": "When clicking ‘Test workflow’"
|
"previousNode": "When clicking ‘Execute workflow’"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"executionStatus": "success",
|
"executionStatus": "success",
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"pinData": {
|
"pinData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"json": {
|
"json": {
|
||||||
"query": "First item"
|
"query": "First item"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"executionTime": 0,
|
"executionTime": 0,
|
||||||
"source": [
|
"source": [
|
||||||
{
|
{
|
||||||
"previousNode": "When clicking ‘Test workflow’"
|
"previousNode": "When clicking ‘Execute workflow’"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"executionStatus": "success",
|
"executionStatus": "success",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"startData": {},
|
"startData": {},
|
||||||
"resultData": {
|
"resultData": {
|
||||||
"runData": {
|
"runData": {
|
||||||
"When clicking ‘Test workflow’": [
|
"When clicking ‘Execute workflow’": [
|
||||||
{
|
{
|
||||||
"hints": [],
|
"hints": [],
|
||||||
"startTime": 1732882424975,
|
"startTime": 1732882424975,
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"executionTime": 1,
|
"executionTime": 1,
|
||||||
"source": [
|
"source": [
|
||||||
{
|
{
|
||||||
"previousNode": "When clicking ‘Test workflow’"
|
"previousNode": "When clicking ‘Execute workflow’"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"executionStatus": "success",
|
"executionStatus": "success",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-20, -120],
|
"position": [-20, -120],
|
||||||
"id": "19562c2d-d2c8-45c8-ae0a-1b1effe29817",
|
"id": "19562c2d-d2c8-45c8-ae0a-1b1effe29817",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, 0],
|
"position": [-80, 0],
|
||||||
"id": "72256d90-3a67-4e29-b032-47df4e5768af",
|
"id": "72256d90-3a67-4e29-b032-47df4e5768af",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ function mockExecutionData() {
|
|||||||
data: {
|
data: {
|
||||||
resultData: {
|
resultData: {
|
||||||
runData: {
|
runData: {
|
||||||
'When clicking ‘Test workflow’': mock<ITaskData[]>(),
|
'When clicking ‘Execute workflow’': mock<ITaskData[]>(),
|
||||||
},
|
},
|
||||||
// error is an optional prop, but jest-mock-extended will mock it by default,
|
// error is an optional prop, but jest-mock-extended will mock it by default,
|
||||||
// which affects the code logic. So, we need to explicitly set it to undefined.
|
// which affects the code logic. So, we need to explicitly set it to undefined.
|
||||||
@@ -395,8 +395,9 @@ describe('TestRunnerService', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
executionMode: 'evaluation',
|
executionMode: 'evaluation',
|
||||||
pinData: {
|
pinData: {
|
||||||
'When clicking ‘Test workflow’':
|
'When clicking ‘Execute workflow’':
|
||||||
executionDataJson.resultData.runData['When clicking ‘Test workflow’'][0].data.main[0],
|
executionDataJson.resultData.runData['When clicking ‘Execute workflow’'][0].data
|
||||||
|
.main[0],
|
||||||
},
|
},
|
||||||
workflowData: expect.objectContaining({
|
workflowData: expect.objectContaining({
|
||||||
id: 'workflow-under-test-id',
|
id: 'workflow-under-test-id',
|
||||||
@@ -677,14 +678,15 @@ describe('TestRunnerService', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
executionMode: 'evaluation',
|
executionMode: 'evaluation',
|
||||||
pinData: {
|
pinData: {
|
||||||
'When clicking ‘Test workflow’':
|
'When clicking ‘Execute workflow’':
|
||||||
executionDataJson.resultData.runData['When clicking ‘Test workflow’'][0].data.main[0],
|
executionDataJson.resultData.runData['When clicking ‘Execute workflow’'][0].data
|
||||||
|
.main[0],
|
||||||
},
|
},
|
||||||
workflowData: expect.objectContaining({
|
workflowData: expect.objectContaining({
|
||||||
id: 'workflow-under-test-id',
|
id: 'workflow-under-test-id',
|
||||||
}),
|
}),
|
||||||
triggerToStartFrom: expect.objectContaining({
|
triggerToStartFrom: expect.objectContaining({
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
@@ -714,7 +716,7 @@ describe('TestRunnerService', () => {
|
|||||||
expect(startNodesData).toEqual({
|
expect(startNodesData).toEqual({
|
||||||
startNodes: expect.arrayContaining([expect.objectContaining({ name: 'NoOp' })]),
|
startNodes: expect.arrayContaining([expect.objectContaining({ name: 'NoOp' })]),
|
||||||
triggerToStartFrom: expect.objectContaining({
|
triggerToStartFrom: expect.objectContaining({
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -996,8 +998,9 @@ describe('TestRunnerService', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
executionMode: 'evaluation',
|
executionMode: 'evaluation',
|
||||||
pinData: {
|
pinData: {
|
||||||
'When clicking ‘Test workflow’':
|
'When clicking ‘Execute workflow’':
|
||||||
executionDataJson.resultData.runData['When clicking ‘Test workflow’'][0].data.main[0],
|
executionDataJson.resultData.runData['When clicking ‘Execute workflow’'][0].data
|
||||||
|
.main[0],
|
||||||
},
|
},
|
||||||
workflowData: expect.objectContaining({
|
workflowData: expect.objectContaining({
|
||||||
id: 'workflow-under-test-id',
|
id: 'workflow-under-test-id',
|
||||||
@@ -1104,8 +1107,9 @@ describe('TestRunnerService', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
executionMode: 'evaluation',
|
executionMode: 'evaluation',
|
||||||
pinData: {
|
pinData: {
|
||||||
'When clicking ‘Test workflow’':
|
'When clicking ‘Execute workflow’':
|
||||||
executionDataJson.resultData.runData['When clicking ‘Test workflow’'][0].data.main[0],
|
executionDataJson.resultData.runData['When clicking ‘Execute workflow’'][0].data
|
||||||
|
.main[0],
|
||||||
},
|
},
|
||||||
workflowData: expect.objectContaining({
|
workflowData: expect.objectContaining({
|
||||||
id: 'workflow-under-test-id',
|
id: 'workflow-under-test-id',
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ export const OOM_WORKFLOW: Partial<IWorkflowBase> = {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '48ce17fe-9651-42ae-910c-48602a00f0bb',
|
id: '48ce17fe-9651-42ae-910c-48602a00f0bb',
|
||||||
name: 'When clicking "Test workflow"',
|
name: 'When clicking "Execute workflow"',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
position: [640, 260],
|
position: [640, 260],
|
||||||
@@ -27,7 +27,7 @@ export const OOM_WORKFLOW: Partial<IWorkflowBase> = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
'When clicking "Test workflow"': {
|
'When clicking "Execute workflow"': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -49,7 +49,7 @@ export const IN_PROGRESS_EXECUTION_DATA = {
|
|||||||
startData: {},
|
startData: {},
|
||||||
resultData: {
|
resultData: {
|
||||||
runData: {
|
runData: {
|
||||||
'When clicking "Test workflow"': [
|
'When clicking "Execute workflow"': [
|
||||||
{
|
{
|
||||||
hints: [],
|
hints: [],
|
||||||
startTime: 1716138610153,
|
startTime: 1716138610153,
|
||||||
@@ -71,7 +71,7 @@ export const IN_PROGRESS_EXECUTION_DATA = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
lastNodeExecuted: 'When clicking "Test workflow"',
|
lastNodeExecuted: 'When clicking "Execute workflow"',
|
||||||
},
|
},
|
||||||
executionData: {
|
executionData: {
|
||||||
contextData: {},
|
contextData: {},
|
||||||
@@ -103,7 +103,7 @@ export const IN_PROGRESS_EXECUTION_DATA = {
|
|||||||
source: {
|
source: {
|
||||||
main: [
|
main: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking "Test workflow"',
|
previousNode: 'When clicking "Execute workflow"',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -256,14 +256,14 @@ describe('ExecutionRecoveryService', () => {
|
|||||||
|
|
||||||
if (!runData) fail('Expected `runData` to be defined');
|
if (!runData) fail('Expected `runData` to be defined');
|
||||||
|
|
||||||
const manualTriggerTaskData = runData['When clicking "Test workflow"'].at(0);
|
const manualTriggerTaskData = runData['When clicking "Execute workflow"'].at(0);
|
||||||
const debugHelperTaskData = runData.DebugHelper.at(0);
|
const debugHelperTaskData = runData.DebugHelper.at(0);
|
||||||
|
|
||||||
if (!manualTriggerTaskData) fail("Expected manual trigger's `taskData` to be defined");
|
if (!manualTriggerTaskData) fail("Expected manual trigger's `taskData` to be defined");
|
||||||
if (!debugHelperTaskData) fail("Expected debug helper's `taskData` to be defined");
|
if (!debugHelperTaskData) fail("Expected debug helper's `taskData` to be defined");
|
||||||
|
|
||||||
const originalManualTriggerTaskData =
|
const originalManualTriggerTaskData =
|
||||||
IN_PROGRESS_EXECUTION_DATA.resultData.runData['When clicking "Test workflow"'].at(
|
IN_PROGRESS_EXECUTION_DATA.resultData.runData['When clicking "Execute workflow"'].at(
|
||||||
0,
|
0,
|
||||||
)?.data;
|
)?.data;
|
||||||
|
|
||||||
@@ -335,7 +335,7 @@ describe('ExecutionRecoveryService', () => {
|
|||||||
|
|
||||||
if (!runData) fail('Expected `runData` to be defined');
|
if (!runData) fail('Expected `runData` to be defined');
|
||||||
|
|
||||||
const manualTriggerTaskData = runData['When clicking "Test workflow"'].at(0);
|
const manualTriggerTaskData = runData['When clicking "Execute workflow"'].at(0);
|
||||||
const debugHelperTaskData = runData.DebugHelper.at(0);
|
const debugHelperTaskData = runData.DebugHelper.at(0);
|
||||||
|
|
||||||
expect(manualTriggerTaskData?.executionStatus).toBe('success');
|
expect(manualTriggerTaskData?.executionStatus).toBe('success');
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export const setupMessages = (executionId: string, workflowName: string): EventM
|
|||||||
payload: {
|
payload: {
|
||||||
executionId,
|
executionId,
|
||||||
workflowName,
|
workflowName,
|
||||||
nodeName: 'When clicking "Test workflow"',
|
nodeName: 'When clicking "Execute workflow"',
|
||||||
nodeType: 'n8n-nodes-base.manualTrigger',
|
nodeType: 'n8n-nodes-base.manualTrigger',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
@@ -22,7 +22,7 @@ export const setupMessages = (executionId: string, workflowName: string): EventM
|
|||||||
payload: {
|
payload: {
|
||||||
executionId,
|
executionId,
|
||||||
workflowName,
|
workflowName,
|
||||||
nodeName: 'When clicking "Test workflow"',
|
nodeName: 'When clicking "Execute workflow"',
|
||||||
nodeType: 'n8n-nodes-base.manualTrigger',
|
nodeType: 'n8n-nodes-base.manualTrigger',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
{{#if isTestWebhook}}
|
{{#if isTestWebhook}}
|
||||||
<div class='header'>
|
<div class='header'>
|
||||||
<h1>Form Trigger isn't listening yet</h1>
|
<h1>Form Trigger isn't listening yet</h1>
|
||||||
<p>Click the <strong>"Test step"</strong> button in your form trigger</p>
|
<p>Click the <strong>"Execute step"</strong> button in your form trigger</p>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class='header'>
|
<div class='header'>
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ describe('LogsOverviewPanel', () => {
|
|||||||
});
|
});
|
||||||
const aiAgentRow = (await rendered.findAllByRole('treeitem'))[0];
|
const aiAgentRow = (await rendered.findAllByRole('treeitem'))[0];
|
||||||
|
|
||||||
await fireEvent.click(within(aiAgentRow).getAllByLabelText('Test step')[0]);
|
await fireEvent.click(within(aiAgentRow).getAllByLabelText('Execute step')[0]);
|
||||||
await waitFor(() =>
|
await waitFor(() =>
|
||||||
expect(spyRun).toHaveBeenCalledWith(expect.objectContaining({ destinationNode: 'AI Agent' })),
|
expect(spyRun).toHaveBeenCalledWith(expect.objectContaining({ destinationNode: 'AI Agent' })),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ describe('NodeExecuteButton', () => {
|
|||||||
|
|
||||||
it('displays correct button label for regular node', () => {
|
it('displays correct button label for regular node', () => {
|
||||||
const { getByRole } = renderComponent();
|
const { getByRole } = renderComponent();
|
||||||
expect(getByRole('button').textContent).toBe('Test step');
|
expect(getByRole('button').textContent).toBe('Execute step');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('displays correct button label for webhook node', () => {
|
it('displays correct button label for webhook node', () => {
|
||||||
@@ -148,7 +148,7 @@ describe('NodeExecuteButton', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const { getByRole } = renderComponent();
|
const { getByRole } = renderComponent();
|
||||||
expect(getByRole('button').textContent).toBe('Test step');
|
expect(getByRole('button').textContent).toBe('Execute step');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('displays correct button label for chat node', () => {
|
it('displays correct button label for chat node', () => {
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ describe('RunData', () => {
|
|||||||
executionTime: 2,
|
executionTime: 2,
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking ‘Test workflow’',
|
previousNode: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
executionStatus: 'error',
|
executionStatus: 'error',
|
||||||
@@ -475,7 +475,7 @@ describe('RunData', () => {
|
|||||||
const testNodes = [
|
const testNodes = [
|
||||||
{
|
{
|
||||||
id: '1',
|
id: '1',
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
position: [80, -180],
|
position: [80, -180],
|
||||||
@@ -529,7 +529,7 @@ describe('RunData', () => {
|
|||||||
executionTime: 2,
|
executionTime: 2,
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking ‘Test workflow’',
|
previousNode: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
executionStatus: 'error',
|
executionStatus: 'error',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`CanvasExecuteWorkflowButton > should render correctly 1`] = `
|
exports[`CanvasExecuteWorkflowButton > should render correctly 1`] = `
|
||||||
"<button class="button button primary large withIcon el-tooltip__trigger el-tooltip__trigger" aria-live="polite" data-test-id="execute-workflow-button"><span class="icon"><span class="n8n-text compact size-large regular n8n-icon n8n-icon"><svg class="svg-inline--fa fa-flask fa-w-14 large" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flask" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path class="" fill="currentColor" d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"></path></svg></span></span><span>Test workflow</span></button>
|
"<button class="button button primary large withIcon el-tooltip__trigger el-tooltip__trigger" aria-live="polite" data-test-id="execute-workflow-button"><span class="icon"><span class="n8n-text compact size-large regular n8n-icon n8n-icon"><svg class="svg-inline--fa fa-flask fa-w-14 large" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flask" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path class="" fill="currentColor" d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"></path></svg></span></span><span>Execute workflow</span></button>
|
||||||
<!--teleport start-->
|
<!--teleport start-->
|
||||||
<!--teleport end-->"
|
<!--teleport end-->"
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`CanvasRunWorkflowButton > should render correctly 1`] = `
|
exports[`CanvasRunWorkflowButton > should render correctly 1`] = `
|
||||||
"<button class="button button primary large withIcon el-tooltip__trigger el-tooltip__trigger" aria-live="polite" data-test-id="execute-workflow-button"><span class="icon"><span class="n8n-text compact size-large regular n8n-icon n8n-icon"><svg class="svg-inline--fa fa-flask fa-w-14 large" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flask" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path class="" fill="currentColor" d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"></path></svg></span></span><span>Test workflow</span></button>
|
"<button class="button button primary large withIcon el-tooltip__trigger el-tooltip__trigger" aria-live="polite" data-test-id="execute-workflow-button"><span class="icon"><span class="n8n-text compact size-large regular n8n-icon n8n-icon"><svg class="svg-inline--fa fa-flask fa-w-14 large" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flask" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path class="" fill="currentColor" d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"></path></svg></span></span><span>Execute workflow</span></button>
|
||||||
<!--teleport start-->
|
<!--teleport start-->
|
||||||
<!--teleport end-->"
|
<!--teleport end-->"
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ exports[`useContextMenu > Read-only mode > should return the correct actions whe
|
|||||||
{
|
{
|
||||||
"disabled": true,
|
"disabled": true,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": true,
|
"disabled": true,
|
||||||
@@ -205,7 +205,7 @@ exports[`useContextMenu > should include "Open Sub-workflow" action when node is
|
|||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
@@ -327,7 +327,7 @@ exports[`useContextMenu > should return the correct actions opening the menu fro
|
|||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
@@ -437,7 +437,7 @@ exports[`useContextMenu > should return the correct actions when right clicking
|
|||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
@@ -628,7 +628,7 @@ exports[`useContextMenu > should show "Open Sub-workflow" action (disabled) when
|
|||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
@@ -750,7 +750,7 @@ exports[`useContextMenu > should show "Open Sub-workflow" action (enabled) when
|
|||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"id": "execute",
|
"id": "execute",
|
||||||
"label": "Test step",
|
"label": "Execute step",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export const SUPPORT_CHAT_TEST_PAYLOAD: ChatRequest.RequestPayload = {
|
|||||||
name: '🧪 Assistant context test',
|
name: '🧪 Assistant context test',
|
||||||
active: false,
|
active: false,
|
||||||
connections: {
|
connections: {
|
||||||
'When clicking ‘Test workflow’': {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -154,7 +154,7 @@ export const SUPPORT_CHAT_TEST_PAYLOAD: ChatRequest.RequestPayload = {
|
|||||||
notice: '',
|
notice: '',
|
||||||
},
|
},
|
||||||
id: 'c457ff96-3b0c-4dbc-b47f-dc88396a46ae',
|
id: 'c457ff96-3b0c-4dbc-b47f-dc88396a46ae',
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [-60, 200],
|
position: [-60, 200],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -274,7 +274,7 @@ export const SUPPORT_CHAT_TEST_PAYLOAD: ChatRequest.RequestPayload = {
|
|||||||
},
|
},
|
||||||
executionData: {
|
executionData: {
|
||||||
runData: {
|
runData: {
|
||||||
'When clicking ‘Test workflow’': [
|
'When clicking ‘Execute workflow’': [
|
||||||
{
|
{
|
||||||
hints: [],
|
hints: [],
|
||||||
startTime: 1737540693122,
|
startTime: 1737540693122,
|
||||||
@@ -292,7 +292,7 @@ export const SUPPORT_CHAT_TEST_PAYLOAD: ChatRequest.RequestPayload = {
|
|||||||
executionTime: 2,
|
executionTime: 2,
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking ‘Test workflow’',
|
previousNode: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
executionStatus: 'success',
|
executionStatus: 'success',
|
||||||
|
|||||||
@@ -457,7 +457,7 @@ const testWorkflow: IWorkflowDb = {
|
|||||||
|
|
||||||
const testExecutionData: IRunExecutionData['resultData'] = {
|
const testExecutionData: IRunExecutionData['resultData'] = {
|
||||||
runData: {
|
runData: {
|
||||||
'When clicking ‘Test workflow’': [
|
'When clicking ‘Execute workflow’': [
|
||||||
{
|
{
|
||||||
hints: [],
|
hints: [],
|
||||||
startTime: 1732882780588,
|
startTime: 1732882780588,
|
||||||
@@ -487,7 +487,7 @@ const testExecutionData: IRunExecutionData['resultData'] = {
|
|||||||
executionTime: 0,
|
executionTime: 0,
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking ‘Test workflow’',
|
previousNode: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
executionStatus: 'success',
|
executionStatus: 'success',
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ describe('useContextMenu', () => {
|
|||||||
expect(targetNodeIds.value).toEqual([basicChain.id]);
|
expect(targetNodeIds.value).toEqual([basicChain.id]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should disable test step option for sub-nodes (AI tool nodes)', () => {
|
it('should disable execute step option for sub-nodes (AI tool nodes)', () => {
|
||||||
const { open, isOpen, actions, targetNodeIds } = useContextMenu();
|
const { open, isOpen, actions, targetNodeIds } = useContextMenu();
|
||||||
const subNode = nodeFactory({ type: 'n8n-nodes-base.hackerNewsTool' });
|
const subNode = nodeFactory({ type: 'n8n-nodes-base.hackerNewsTool' });
|
||||||
vi.spyOn(workflowsStore, 'getNodeById').mockReturnValue(subNode);
|
vi.spyOn(workflowsStore, 'getNodeById').mockReturnValue(subNode);
|
||||||
|
|||||||
@@ -837,7 +837,7 @@
|
|||||||
"executionsList.debug.paywall.link.text": "Read more in the docs",
|
"executionsList.debug.paywall.link.text": "Read more in the docs",
|
||||||
"executionsList.debug.paywall.link.url": "https://docs.n8n.io/workflows/executions/debug/",
|
"executionsList.debug.paywall.link.url": "https://docs.n8n.io/workflows/executions/debug/",
|
||||||
"fromAiParametersModal.title": "Test {nodeName}",
|
"fromAiParametersModal.title": "Test {nodeName}",
|
||||||
"fromAiParametersModal.execute": "Test step",
|
"fromAiParametersModal.execute": "Execute step",
|
||||||
"fromAiParametersModal.description": "Provide the data that would normally come from the \"{parentNodeName}\" node",
|
"fromAiParametersModal.description": "Provide the data that would normally come from the \"{parentNodeName}\" node",
|
||||||
"fromAiParametersModal.cancel": "Cancel",
|
"fromAiParametersModal.cancel": "Cancel",
|
||||||
"workerList.pageTitle": "Workers",
|
"workerList.pageTitle": "Workers",
|
||||||
@@ -1009,7 +1009,7 @@
|
|||||||
"logs.overview.body.empty.action": "Execute the workflow",
|
"logs.overview.body.empty.action": "Execute the workflow",
|
||||||
"logs.overview.body.summaryText": "{status} in {time}",
|
"logs.overview.body.summaryText": "{status} in {time}",
|
||||||
"logs.overview.body.started": "Started {time}",
|
"logs.overview.body.started": "Started {time}",
|
||||||
"logs.overview.body.run": "Test step",
|
"logs.overview.body.run": "Execute step",
|
||||||
"logs.overview.body.open": "Open...",
|
"logs.overview.body.open": "Open...",
|
||||||
"logs.overview.body.toggleRow": "Toggle row",
|
"logs.overview.body.toggleRow": "Toggle row",
|
||||||
"logs.details.header.actions.input": "Input",
|
"logs.details.header.actions.input": "Input",
|
||||||
@@ -1073,7 +1073,7 @@
|
|||||||
"multipleParameter.moveUp": "Move up",
|
"multipleParameter.moveUp": "Move up",
|
||||||
"ndv.backToCanvas": "Back to canvas",
|
"ndv.backToCanvas": "Back to canvas",
|
||||||
"ndv.backToCanvas.waitingForTriggerWarning": "Waiting for a Trigger node to execute. Close this view to see the Workflow Canvas.",
|
"ndv.backToCanvas.waitingForTriggerWarning": "Waiting for a Trigger node to execute. Close this view to see the Workflow Canvas.",
|
||||||
"ndv.execute.testNode": "Test step",
|
"ndv.execute.testNode": "Execute step",
|
||||||
"ndv.execute.testNode.description": "Runs the current node. Will also run previous nodes if they have not been run yet",
|
"ndv.execute.testNode.description": "Runs the current node. Will also run previous nodes if they have not been run yet",
|
||||||
"ndv.execute.generateCodeAndTestNode.description": "Generates code and then runs the current node",
|
"ndv.execute.generateCodeAndTestNode.description": "Generates code and then runs the current node",
|
||||||
"ndv.execute.generateCode.message": "The instructions in '{nodeName}' have changed",
|
"ndv.execute.generateCode.message": "The instructions in '{nodeName}' have changed",
|
||||||
@@ -1081,10 +1081,10 @@
|
|||||||
"ndv.execute.executing": "Executing",
|
"ndv.execute.executing": "Executing",
|
||||||
"ndv.execute.fetchEvent": "Fetch Test Event",
|
"ndv.execute.fetchEvent": "Fetch Test Event",
|
||||||
"ndv.execute.fixPrevious": "Fix previous node first",
|
"ndv.execute.fixPrevious": "Fix previous node first",
|
||||||
"ndv.execute.generatingCode": "Genereting code from instructions",
|
"ndv.execute.generatingCode": "Generating code from instructions",
|
||||||
"ndv.execute.listenForTestEvent": "Listen for test event",
|
"ndv.execute.listenForTestEvent": "Listen for test event",
|
||||||
"ndv.execute.testChat": "Test chat",
|
"ndv.execute.testChat": "Test chat",
|
||||||
"ndv.execute.testStep": "Test step",
|
"ndv.execute.testStep": "Execute step",
|
||||||
"ndv.execute.stopListening": "Stop Listening",
|
"ndv.execute.stopListening": "Stop Listening",
|
||||||
"ndv.execute.nodeIsDisabled": "Enable node to execute",
|
"ndv.execute.nodeIsDisabled": "Enable node to execute",
|
||||||
"ndv.execute.requiredFieldsMissing": "Complete required fields first",
|
"ndv.execute.requiredFieldsMissing": "Complete required fields first",
|
||||||
@@ -1182,7 +1182,7 @@
|
|||||||
"node.activateDeactivateNode": "Activate/Deactivate Node",
|
"node.activateDeactivateNode": "Activate/Deactivate Node",
|
||||||
"node.changeColor": "Change color",
|
"node.changeColor": "Change color",
|
||||||
"node.disabled": "Deactivated",
|
"node.disabled": "Deactivated",
|
||||||
"node.testStep": "Test step",
|
"node.testStep": "Execute step",
|
||||||
"node.disable": "Deactivate",
|
"node.disable": "Deactivate",
|
||||||
"node.enable": "Activate",
|
"node.enable": "Activate",
|
||||||
"node.delete": "Delete",
|
"node.delete": "Delete",
|
||||||
@@ -1459,7 +1459,7 @@
|
|||||||
"nodeView.refresh": "Refresh",
|
"nodeView.refresh": "Refresh",
|
||||||
"nodeView.resetZoom": "Reset Zoom",
|
"nodeView.resetZoom": "Reset Zoom",
|
||||||
"nodeView.tidyUp": "Tidy Up",
|
"nodeView.tidyUp": "Tidy Up",
|
||||||
"nodeView.runButtonText.executeWorkflow": "Test workflow",
|
"nodeView.runButtonText.executeWorkflow": "Execute workflow",
|
||||||
"nodeView.runButtonText.executingWorkflow": "Executing workflow",
|
"nodeView.runButtonText.executingWorkflow": "Executing workflow",
|
||||||
"nodeView.runButtonText.waitingForTriggerEvent": "Waiting for trigger event",
|
"nodeView.runButtonText.waitingForTriggerEvent": "Waiting for trigger event",
|
||||||
"nodeView.showError.workflowError": "Workflow execution had an error",
|
"nodeView.showError.workflowError": "Workflow execution had an error",
|
||||||
@@ -1514,7 +1514,7 @@
|
|||||||
"contextMenu.tidyUpSelection": "Tidy up selection",
|
"contextMenu.tidyUpSelection": "Tidy up selection",
|
||||||
"contextMenu.duplicate": "Duplicate | Duplicate {count} {subject}",
|
"contextMenu.duplicate": "Duplicate | Duplicate {count} {subject}",
|
||||||
"contextMenu.open": "Open...",
|
"contextMenu.open": "Open...",
|
||||||
"contextMenu.test": "Test step",
|
"contextMenu.test": "Execute step",
|
||||||
"contextMenu.rename": "Rename",
|
"contextMenu.rename": "Rename",
|
||||||
"contextMenu.openSubworkflow": "Open Sub-workflow",
|
"contextMenu.openSubworkflow": "Open Sub-workflow",
|
||||||
"contextMenu.copy": "Copy | Copy {count} {subject}",
|
"contextMenu.copy": "Copy | Copy {count} {subject}",
|
||||||
@@ -2292,8 +2292,8 @@
|
|||||||
"nodeIssues.input.missing": "No node connected to required input \"{inputName}\"",
|
"nodeIssues.input.missing": "No node connected to required input \"{inputName}\"",
|
||||||
"ndv.trigger.moreInfo": "More info",
|
"ndv.trigger.moreInfo": "More info",
|
||||||
"ndv.trigger.copiedTestUrl": "Test URL copied to clipboard",
|
"ndv.trigger.copiedTestUrl": "Test URL copied to clipboard",
|
||||||
"ndv.trigger.webhookBasedNode.executionsHelp.inactive": "<b>While building your workflow</b>, click the 'test step' button, then go to {service} and make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /> <b>Once you're happy with your workflow</b>, <a data-key=\"activate\">activate</a> it. Then every time there's a matching event in {service}, the workflow will execute. These executions will show up in the <a data-key=\"executions\">executions list</a>, but not in the editor.",
|
"ndv.trigger.webhookBasedNode.executionsHelp.inactive": "<b>While building your workflow</b>, click the 'execute step' button, then go to {service} and make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /> <b>Once you're happy with your workflow</b>, <a data-key=\"activate\">activate</a> it. Then every time there's a matching event in {service}, the workflow will execute. These executions will show up in the <a data-key=\"executions\">executions list</a>, but not in the editor.",
|
||||||
"ndv.trigger.webhookBasedNode.executionsHelp.active": "<b>While building your workflow</b>, click the 'test step' button, then go to {service} and make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /> <b>Your workflow will also execute automatically</b>, since it's activated. Every time there’s a matching event in {service}, this node will trigger an execution. These executions will show up in the <a data-key=\"executions\">executions list</a>, but not in the editor. ",
|
"ndv.trigger.webhookBasedNode.executionsHelp.active": "<b>While building your workflow</b>, click the 'execute step' button, then go to {service} and make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /> <b>Your workflow will also execute automatically</b>, since it's activated. Every time there’s a matching event in {service}, this node will trigger an execution. These executions will show up in the <a data-key=\"executions\">executions list</a>, but not in the editor. ",
|
||||||
"ndv.trigger.webhookNode.listening": "Listening for test event",
|
"ndv.trigger.webhookNode.listening": "Listening for test event",
|
||||||
"ndv.trigger.chatTrigger.openChat": "Open Chat Window",
|
"ndv.trigger.chatTrigger.openChat": "Open Chat Window",
|
||||||
"ndv.trigger.webhookNode.formTrigger.listening": "Listening for a test form submission",
|
"ndv.trigger.webhookNode.formTrigger.listening": "Listening for a test form submission",
|
||||||
|
|||||||
@@ -980,7 +980,7 @@ function generateMockExecutionEvents() {
|
|||||||
};
|
};
|
||||||
const successEvent: PushPayload<'nodeExecuteAfter'> = {
|
const successEvent: PushPayload<'nodeExecuteAfter'> = {
|
||||||
executionId: '59',
|
executionId: '59',
|
||||||
nodeName: 'When clicking ‘Test workflow’',
|
nodeName: 'When clicking ‘Execute workflow’',
|
||||||
data: {
|
data: {
|
||||||
hints: [],
|
hints: [],
|
||||||
startTime: 1727867966633,
|
startTime: 1727867966633,
|
||||||
@@ -1013,7 +1013,7 @@ function generateMockExecutionEvents() {
|
|||||||
executionTime: 2,
|
executionTime: 2,
|
||||||
source: [
|
source: [
|
||||||
{
|
{
|
||||||
previousNode: 'When clicking ‘Test workflow’',
|
previousNode: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
executionStatus: 'error',
|
executionStatus: 'error',
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const MOCK_EXECUTION: Partial<IExecutionResponse> = {
|
|||||||
startData: {},
|
startData: {},
|
||||||
resultData: {
|
resultData: {
|
||||||
runData: {
|
runData: {
|
||||||
'When clicking ‘Test workflow’': [
|
'When clicking ‘Execute workflow’': [
|
||||||
{
|
{
|
||||||
startTime: 1706027170005,
|
startTime: 1706027170005,
|
||||||
executionIndex: 0,
|
executionIndex: 0,
|
||||||
@@ -27,7 +27,7 @@ const MOCK_EXECUTION: Partial<IExecutionResponse> = {
|
|||||||
startTime: 1706027170005,
|
startTime: 1706027170005,
|
||||||
executionIndex: 1,
|
executionIndex: 1,
|
||||||
executionTime: 1,
|
executionTime: 1,
|
||||||
source: [{ previousNode: 'When clicking ‘Test workflow’' }],
|
source: [{ previousNode: 'When clicking ‘Execute workflow’' }],
|
||||||
executionStatus: 'success',
|
executionStatus: 'success',
|
||||||
data: {
|
data: {
|
||||||
main: [
|
main: [
|
||||||
@@ -266,54 +266,54 @@ describe('pairedItemUtils', () => {
|
|||||||
const actual = getPairedItemsMapping(MOCK_EXECUTION);
|
const actual = getPairedItemsMapping(MOCK_EXECUTION);
|
||||||
const expected = {
|
const expected = {
|
||||||
DebugHelper_r0_o0_i0: new Set([
|
DebugHelper_r0_o0_i0: new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'If_r0_o0_i0',
|
'If_r0_o0_i0',
|
||||||
'Edit Fields_r1_o0_i0',
|
'Edit Fields_r1_o0_i0',
|
||||||
'Edit Fields1_r1_o0_i0',
|
'Edit Fields1_r1_o0_i0',
|
||||||
]),
|
]),
|
||||||
DebugHelper_r0_o0_i1: new Set([
|
DebugHelper_r0_o0_i1: new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'If_r0_o1_i0',
|
'If_r0_o1_i0',
|
||||||
'Edit Fields_r0_o0_i0',
|
'Edit Fields_r0_o0_i0',
|
||||||
'Edit Fields1_r0_o0_i0',
|
'Edit Fields1_r0_o0_i0',
|
||||||
]),
|
]),
|
||||||
'Edit Fields1_r0_o0_i0': new Set([
|
'Edit Fields1_r0_o0_i0': new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i1',
|
'DebugHelper_r0_o0_i1',
|
||||||
'If_r0_o1_i0',
|
'If_r0_o1_i0',
|
||||||
'Edit Fields_r0_o0_i0',
|
'Edit Fields_r0_o0_i0',
|
||||||
]),
|
]),
|
||||||
'Edit Fields1_r1_o0_i0': new Set([
|
'Edit Fields1_r1_o0_i0': new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i0',
|
'DebugHelper_r0_o0_i0',
|
||||||
'If_r0_o0_i0',
|
'If_r0_o0_i0',
|
||||||
'Edit Fields_r1_o0_i0',
|
'Edit Fields_r1_o0_i0',
|
||||||
]),
|
]),
|
||||||
'Edit Fields_r0_o0_i0': new Set([
|
'Edit Fields_r0_o0_i0': new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i1',
|
'DebugHelper_r0_o0_i1',
|
||||||
'If_r0_o1_i0',
|
'If_r0_o1_i0',
|
||||||
'Edit Fields1_r0_o0_i0',
|
'Edit Fields1_r0_o0_i0',
|
||||||
]),
|
]),
|
||||||
'Edit Fields_r1_o0_i0': new Set([
|
'Edit Fields_r1_o0_i0': new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i0',
|
'DebugHelper_r0_o0_i0',
|
||||||
'If_r0_o0_i0',
|
'If_r0_o0_i0',
|
||||||
'Edit Fields1_r1_o0_i0',
|
'Edit Fields1_r1_o0_i0',
|
||||||
]),
|
]),
|
||||||
If_r0_o0_i0: new Set([
|
If_r0_o0_i0: new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i0',
|
'DebugHelper_r0_o0_i0',
|
||||||
'Edit Fields_r1_o0_i0',
|
'Edit Fields_r1_o0_i0',
|
||||||
'Edit Fields1_r1_o0_i0',
|
'Edit Fields1_r1_o0_i0',
|
||||||
]),
|
]),
|
||||||
If_r0_o1_i0: new Set([
|
If_r0_o1_i0: new Set([
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0',
|
'When clicking ‘Execute workflow’_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i1',
|
'DebugHelper_r0_o0_i1',
|
||||||
'Edit Fields_r0_o0_i0',
|
'Edit Fields_r0_o0_i0',
|
||||||
'Edit Fields1_r0_o0_i0',
|
'Edit Fields1_r0_o0_i0',
|
||||||
]),
|
]),
|
||||||
'When clicking ‘Test workflow’_r0_o0_i0': new Set([
|
'When clicking ‘Execute workflow’_r0_o0_i0': new Set([
|
||||||
'DebugHelper_r0_o0_i0',
|
'DebugHelper_r0_o0_i0',
|
||||||
'DebugHelper_r0_o0_i1',
|
'DebugHelper_r0_o0_i1',
|
||||||
'If_r0_o0_i0',
|
'If_r0_o0_i0',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [260, 360],
|
"position": [260, 360],
|
||||||
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [260, 360],
|
"position": [260, 360],
|
||||||
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, -100],
|
"position": [-80, -100],
|
||||||
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, -100],
|
"position": [-80, -100],
|
||||||
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [260, 360],
|
"position": [260, 360],
|
||||||
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, -100],
|
"position": [-80, -100],
|
||||||
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "4570d7a2-f10a-495d-8a0e-8520b638649e",
|
"id": "4570d7a2-f10a-495d-8a0e-8520b638649e",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-780, 380]
|
"position": [-780, 380]
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [260, 360],
|
"position": [260, 360],
|
||||||
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
"id": "9ed2b86b-7c24-4ea0-a328-92d9e6dba35a",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, -100],
|
"position": [-80, -100],
|
||||||
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-80, -100],
|
"position": [-80, -100],
|
||||||
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "4570d7a2-f10a-495d-8a0e-8520b638649e",
|
"id": "4570d7a2-f10a-495d-8a0e-8520b638649e",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-700, 320]
|
"position": [-700, 320]
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,125 +1,113 @@
|
|||||||
{
|
{
|
||||||
"name": "node-aws-comprehend",
|
"name": "node-aws-comprehend",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "53b6020d-5aa2-435f-9ee1-407111c0e3ee",
|
"id": "53b6020d-5aa2-435f-9ee1-407111c0e3ee",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"position": [
|
"position": [680, 380],
|
||||||
680,
|
"typeVersion": 1
|
||||||
380
|
},
|
||||||
],
|
{
|
||||||
"typeVersion": 1
|
"parameters": {
|
||||||
},
|
"assignments": {
|
||||||
{
|
"assignments": [
|
||||||
"parameters": {
|
{
|
||||||
"assignments": {
|
"id": "51b7eee5-8cc9-4e09-a2f4-65ffb3cc17f6",
|
||||||
"assignments": [
|
"name": "text",
|
||||||
{
|
"value": "This is a test.",
|
||||||
"id": "51b7eee5-8cc9-4e09-a2f4-65ffb3cc17f6",
|
"type": "string"
|
||||||
"name": "text",
|
}
|
||||||
"value": "This is a test.",
|
]
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"options": {}
|
|
||||||
},
|
},
|
||||||
"id": "b3beaf43-fe4c-43e1-a8cb-5a0740050611",
|
"options": {}
|
||||||
"name": "Edit Fields",
|
|
||||||
"type": "n8n-nodes-base.set",
|
|
||||||
"typeVersion": 3.4,
|
|
||||||
"position": [
|
|
||||||
900,
|
|
||||||
380
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
"id": "b3beaf43-fe4c-43e1-a8cb-5a0740050611",
|
||||||
"parameters": {
|
"name": "Edit Fields",
|
||||||
"text": "={{ $json.text }}"
|
"type": "n8n-nodes-base.set",
|
||||||
},
|
"typeVersion": 3.4,
|
||||||
"id": "a6a8a24c-0e58-40e7-8bf4-13a56edc6264",
|
"position": [900, 380]
|
||||||
"name": "AWS Comprehend",
|
},
|
||||||
"type": "n8n-nodes-base.awsComprehend",
|
{
|
||||||
"typeVersion": 1,
|
"parameters": {
|
||||||
"position": [
|
"text": "={{ $json.text }}"
|
||||||
1100,
|
},
|
||||||
380
|
"id": "a6a8a24c-0e58-40e7-8bf4-13a56edc6264",
|
||||||
],
|
"name": "AWS Comprehend",
|
||||||
"credentials": {
|
"type": "n8n-nodes-base.awsComprehend",
|
||||||
"aws": {
|
"typeVersion": 1,
|
||||||
"id": "TyNATsPCTvPF0tvG",
|
"position": [1100, 380],
|
||||||
"name": "AWS account"
|
"credentials": {
|
||||||
}
|
"aws": {
|
||||||
|
"id": "TyNATsPCTvPF0tvG",
|
||||||
|
"name": "AWS account"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"parameters": {},
|
|
||||||
"id": "bfc4b84d-8cf1-4650-bf3c-2b1cdc677afc",
|
|
||||||
"name": "No Operation, do nothing",
|
|
||||||
"type": "n8n-nodes-base.noOp",
|
|
||||||
"typeVersion": 1,
|
|
||||||
"position": [
|
|
||||||
1320,
|
|
||||||
380
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"pinData": {
|
{
|
||||||
"No Operation, do nothing": [
|
"parameters": {},
|
||||||
{
|
"id": "bfc4b84d-8cf1-4650-bf3c-2b1cdc677afc",
|
||||||
"json": {
|
"name": "No Operation, do nothing",
|
||||||
"de": 0.010717987082898617,
|
"type": "n8n-nodes-base.noOp",
|
||||||
"en": 0.9774383902549744
|
"typeVersion": 1,
|
||||||
}
|
"position": [1320, 380]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pinData": {
|
||||||
|
"No Operation, do nothing": [
|
||||||
|
{
|
||||||
|
"json": {
|
||||||
|
"de": 0.010717987082898617,
|
||||||
|
"en": 0.9774383902549744
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"connections": {
|
||||||
|
"Edit Fields": {
|
||||||
|
"main": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"node": "AWS Comprehend",
|
||||||
|
"type": "main",
|
||||||
|
"index": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"Edit Fields": {
|
"main": [
|
||||||
"main": [
|
[
|
||||||
[
|
{
|
||||||
{
|
"node": "Edit Fields",
|
||||||
"node": "AWS Comprehend",
|
"type": "main",
|
||||||
"type": "main",
|
"index": 0
|
||||||
"index": 0
|
}
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
},
|
]
|
||||||
"When clicking ‘Test workflow’": {
|
},
|
||||||
"main": [
|
"AWS Comprehend": {
|
||||||
[
|
"main": [
|
||||||
{
|
[
|
||||||
"node": "Edit Fields",
|
{
|
||||||
"type": "main",
|
"node": "No Operation, do nothing",
|
||||||
"index": 0
|
"type": "main",
|
||||||
}
|
"index": 0
|
||||||
]
|
}
|
||||||
]
|
]
|
||||||
},
|
]
|
||||||
"AWS Comprehend": {
|
}
|
||||||
"main": [
|
},
|
||||||
[
|
"active": false,
|
||||||
{
|
"settings": {
|
||||||
"node": "No Operation, do nothing",
|
"executionOrder": "v1"
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"versionId": "eae3c601-56b8-42ec-a0b7-14df8d697043",
|
||||||
}
|
"meta": {
|
||||||
]
|
"templateCredsSetupCompleted": true,
|
||||||
]
|
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
||||||
}
|
},
|
||||||
},
|
"id": "fuOmKcLPWAxKi0bn",
|
||||||
"active": false,
|
"tags": []
|
||||||
"settings": {
|
}
|
||||||
"executionOrder": "v1"
|
|
||||||
},
|
|
||||||
"versionId": "eae3c601-56b8-42ec-a0b7-14df8d697043",
|
|
||||||
"meta": {
|
|
||||||
"templateCredsSetupCompleted": true,
|
|
||||||
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
|
||||||
},
|
|
||||||
"id": "fuOmKcLPWAxKi0bn",
|
|
||||||
"tags": []
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ describe('AwsSes Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '61c910d6-9997-4bc0-b95d-2b2771c3110f',
|
id: '61c910d6-9997-4bc0-b95d-2b2771c3110f',
|
||||||
name: 'When clicking ‘Test workflow’',
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
position: [720, 380],
|
position: [720, 380],
|
||||||
@@ -49,7 +49,7 @@ describe('AwsSes Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
'When clicking ‘Test workflow’': {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -104,7 +104,7 @@ describe('AwsSes Node', () => {
|
|||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
position: [-180, 520],
|
position: [-180, 520],
|
||||||
id: '363e874a-9054-4a64-bc3f-786719dde626',
|
id: '363e874a-9054-4a64-bc3f-786719dde626',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
parameters: {
|
parameters: {
|
||||||
@@ -136,7 +136,7 @@ describe('AwsSes Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-20, 400],
|
"position": [-20, 400],
|
||||||
"id": "fccdbab1-aa37-4606-8744-520e19a90a01",
|
"id": "fccdbab1-aa37-4606-8744-520e19a90a01",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -227,7 +227,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,86 +1,77 @@
|
|||||||
{
|
{
|
||||||
"name": "errors falsely flagged as internal",
|
"name": "errors falsely flagged as internal",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "d2ff695c-4ca0-457d-ae9e-666d2dc53a53",
|
"id": "d2ff695c-4ca0-457d-ae9e-666d2dc53a53",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"position": [
|
"position": [360, 420],
|
||||||
360,
|
"typeVersion": 1
|
||||||
420
|
},
|
||||||
],
|
{
|
||||||
"typeVersion": 1
|
"parameters": {
|
||||||
},
|
"jsCode": "return {json: \"test\"}"
|
||||||
{
|
},
|
||||||
"parameters": {
|
"id": "fc540f62-d671-49a2-b35d-aead4ed8bd10",
|
||||||
"jsCode": "return {json: \"test\"}"
|
"name": "Code",
|
||||||
},
|
"type": "n8n-nodes-base.code",
|
||||||
"id": "fc540f62-d671-49a2-b35d-aead4ed8bd10",
|
"typeVersion": 2,
|
||||||
"name": "Code",
|
"position": [620, 420],
|
||||||
"type": "n8n-nodes-base.code",
|
"onError": "continueErrorOutput"
|
||||||
"typeVersion": 2,
|
},
|
||||||
"position": [
|
{
|
||||||
620,
|
"parameters": {},
|
||||||
420
|
"id": "d8335277-61af-42d8-9cf5-02a8b85df42b",
|
||||||
],
|
"name": "No Operation, do nothing",
|
||||||
"onError": "continueErrorOutput"
|
"type": "n8n-nodes-base.noOp",
|
||||||
},
|
"typeVersion": 1,
|
||||||
{
|
"position": [900, 500]
|
||||||
"parameters": {},
|
}
|
||||||
"id": "d8335277-61af-42d8-9cf5-02a8b85df42b",
|
],
|
||||||
"name": "No Operation, do nothing",
|
"pinData": {
|
||||||
"type": "n8n-nodes-base.noOp",
|
"No Operation, do nothing": [
|
||||||
"typeVersion": 1,
|
{
|
||||||
"position": [
|
"json": {
|
||||||
900,
|
"error": "A 'json' property isn't an object [item 0]"
|
||||||
500
|
}
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
],
|
},
|
||||||
"pinData": {
|
"connections": {
|
||||||
"No Operation, do nothing": [
|
"When clicking ‘Execute workflow’": {
|
||||||
{
|
"main": [
|
||||||
"json": {
|
[
|
||||||
"error": "A 'json' property isn't an object [item 0]"
|
{
|
||||||
}
|
"node": "Code",
|
||||||
}
|
"type": "main",
|
||||||
]
|
"index": 0
|
||||||
},
|
}
|
||||||
"connections": {
|
]
|
||||||
"When clicking ‘Test workflow’": {
|
]
|
||||||
"main": [
|
},
|
||||||
[
|
"Code": {
|
||||||
{
|
"main": [
|
||||||
"node": "Code",
|
[],
|
||||||
"type": "main",
|
[
|
||||||
"index": 0
|
{
|
||||||
}
|
"node": "No Operation, do nothing",
|
||||||
]
|
"type": "main",
|
||||||
]
|
"index": 0
|
||||||
},
|
}
|
||||||
"Code": {
|
]
|
||||||
"main": [
|
]
|
||||||
[],
|
}
|
||||||
[
|
},
|
||||||
{
|
"active": false,
|
||||||
"node": "No Operation, do nothing",
|
"settings": {
|
||||||
"type": "main",
|
"executionOrder": "v1"
|
||||||
"index": 0
|
},
|
||||||
}
|
"versionId": "1aa448f4-ac5f-497b-ae3c-62a5e9db63d4",
|
||||||
]
|
"meta": {
|
||||||
]
|
"templateCredsSetupCompleted": true,
|
||||||
}
|
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
||||||
},
|
},
|
||||||
"active": false,
|
"id": "TlJvElz9tvmByCh3",
|
||||||
"settings": {
|
"tags": []
|
||||||
"executionOrder": "v1"
|
|
||||||
},
|
|
||||||
"versionId": "1aa448f4-ac5f-497b-ae3c-62a5e9db63d4",
|
|
||||||
"meta": {
|
|
||||||
"templateCredsSetupCompleted": true,
|
|
||||||
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
|
||||||
},
|
|
||||||
"id": "TlJvElz9tvmByCh3",
|
|
||||||
"tags": []
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export class Cron implements INodeType {
|
|||||||
properties: [
|
properties: [
|
||||||
{
|
{
|
||||||
displayName:
|
displayName:
|
||||||
'This workflow will run on the schedule you define here once you <a data-key="activate">activate</a> it.<br><br>For testing, you can also trigger it manually: by going back to the canvas and clicking \'test workflow\'',
|
'This workflow will run on the schedule you define here once you <a data-key="activate">activate</a> it.<br><br>For testing, you can also trigger it manually: by going back to the canvas and clicking \'execute workflow\'',
|
||||||
name: 'notice',
|
name: 'notice',
|
||||||
type: 'notice',
|
type: 'notice',
|
||||||
default: '',
|
default: '',
|
||||||
|
|||||||
@@ -73,9 +73,9 @@ const versionDescription: INodeTypeDescription = {
|
|||||||
header: '',
|
header: '',
|
||||||
executionsHelp: {
|
executionsHelp: {
|
||||||
inactive:
|
inactive:
|
||||||
"<b>While building your workflow</b>, click the 'test step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
"<b>While building your workflow</b>, click the 'execute step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
active:
|
active:
|
||||||
"<b>While building your workflow</b>, click the 'test step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
"<b>While building your workflow</b>, click the 'execute step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
},
|
},
|
||||||
activationHint:
|
activationHint:
|
||||||
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ const versionDescription: INodeTypeDescription = {
|
|||||||
header: '',
|
header: '',
|
||||||
executionsHelp: {
|
executionsHelp: {
|
||||||
inactive:
|
inactive:
|
||||||
"<b>While building your workflow</b>, click the 'test step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
"<b>While building your workflow</b>, click the 'execute step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
active:
|
active:
|
||||||
"<b>While building your workflow</b>, click the 'test step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
"<b>While building your workflow</b>, click the 'execute step' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
},
|
},
|
||||||
activationHint:
|
activationHint:
|
||||||
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [60, -240],
|
"position": [60, -240],
|
||||||
"id": "03be3862-c311-48d8-8898-2ffac5fe65b7",
|
"id": "03be3862-c311-48d8-8898-2ffac5fe65b7",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,515 +1,455 @@
|
|||||||
{
|
{
|
||||||
"name": "Test ConvertToFile",
|
"name": "Test ConvertToFile",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {},
|
||||||
"id": "f2557b99-e65c-4136-9bc5-7cb328a62d30",
|
"id": "f2557b99-e65c-4136-9bc5-7cb328a62d30",
|
||||||
"name": "When clicking ‘Test workflow’",
|
"name": "When clicking ‘Execute workflow’",
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
"type": "n8n-nodes-base.manualTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [300, 1040]
|
||||||
300,
|
},
|
||||||
1040
|
{
|
||||||
]
|
"parameters": {
|
||||||
},
|
"operation": "toBinary",
|
||||||
{
|
"sourceProperty": "base64",
|
||||||
"parameters": {
|
"options": {}
|
||||||
"operation": "toBinary",
|
},
|
||||||
"sourceProperty": "base64",
|
"id": "71711ee7-9df5-456a-b1d0-def85b8d6669",
|
||||||
"options": {}
|
"name": "Convert to File2",
|
||||||
},
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
"id": "71711ee7-9df5-456a-b1d0-def85b8d6669",
|
"typeVersion": 1.1,
|
||||||
"name": "Convert to File2",
|
"position": [880, 540]
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
},
|
||||||
"typeVersion": 1.1,
|
{
|
||||||
"position": [
|
"parameters": {
|
||||||
880,
|
"jsCode": "return {\n \"id\": \"23423532\",\n \"name\": \"Jay Gatsby\",\n \"email\": \"gatsby@west-egg.com\",\n \"notes\": \"Keeps asking about a green light??\",\n \"country\": \"US\",\n \"created\": \"1925-04-10\",\n \"base64\": \"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"\n }"
|
||||||
540
|
},
|
||||||
]
|
"id": "ff53ab4c-43dd-4c35-b066-59d59e4a8209",
|
||||||
},
|
"name": "Code",
|
||||||
{
|
"type": "n8n-nodes-base.code",
|
||||||
"parameters": {
|
"typeVersion": 2,
|
||||||
"jsCode": "return {\n \"id\": \"23423532\",\n \"name\": \"Jay Gatsby\",\n \"email\": \"gatsby@west-egg.com\",\n \"notes\": \"Keeps asking about a green light??\",\n \"country\": \"US\",\n \"created\": \"1925-04-10\",\n \"base64\": \"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"\n }"
|
"position": [520, 1040]
|
||||||
},
|
},
|
||||||
"id": "ff53ab4c-43dd-4c35-b066-59d59e4a8209",
|
{
|
||||||
"name": "Code",
|
"parameters": {
|
||||||
"type": "n8n-nodes-base.code",
|
"operation": "text",
|
||||||
"typeVersion": 2,
|
"options": {}
|
||||||
"position": [
|
},
|
||||||
520,
|
"id": "6322369c-fef5-4172-bbd3-8738cbb67e05",
|
||||||
1040
|
"name": "Extract From File",
|
||||||
]
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
},
|
"typeVersion": 1,
|
||||||
{
|
"position": [1100, 540]
|
||||||
"parameters": {
|
},
|
||||||
"operation": "text",
|
{
|
||||||
"options": {}
|
"parameters": {},
|
||||||
},
|
"id": "b5aed50b-65d3-4356-b02d-cbeab7fb3d6e",
|
||||||
"id": "6322369c-fef5-4172-bbd3-8738cbb67e05",
|
"name": "No Operation, do nothing",
|
||||||
"name": "Extract From File",
|
"type": "n8n-nodes-base.noOp",
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
"typeVersion": 1,
|
||||||
"typeVersion": 1,
|
"position": [1320, 540]
|
||||||
"position": [
|
},
|
||||||
1100,
|
{
|
||||||
540
|
"parameters": {
|
||||||
]
|
"operation": "toText",
|
||||||
},
|
"sourceProperty": "notes",
|
||||||
{
|
"options": {}
|
||||||
"parameters": {},
|
},
|
||||||
"id": "b5aed50b-65d3-4356-b02d-cbeab7fb3d6e",
|
"id": "65c4c4ac-da33-4ba1-b337-51ee319a8652",
|
||||||
"name": "No Operation, do nothing",
|
"name": "Convert to Text File",
|
||||||
"type": "n8n-nodes-base.noOp",
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [880, 740]
|
||||||
1320,
|
},
|
||||||
540
|
{
|
||||||
]
|
"parameters": {
|
||||||
},
|
"operation": "text",
|
||||||
{
|
"options": {}
|
||||||
"parameters": {
|
},
|
||||||
"operation": "toText",
|
"id": "b2f49de3-5d0d-4eff-8156-89e5a2a0edae",
|
||||||
"sourceProperty": "notes",
|
"name": "Extract From Text File",
|
||||||
"options": {}
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
},
|
"typeVersion": 1,
|
||||||
"id": "65c4c4ac-da33-4ba1-b337-51ee319a8652",
|
"position": [1100, 740]
|
||||||
"name": "Convert to Text File",
|
},
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
{
|
||||||
"typeVersion": 1,
|
"parameters": {},
|
||||||
"position": [
|
"id": "86d5e979-5ff0-4312-8b4f-7ff83f1eebd6",
|
||||||
880,
|
"name": "Text File Result",
|
||||||
740
|
"type": "n8n-nodes-base.noOp",
|
||||||
]
|
"typeVersion": 1,
|
||||||
},
|
"position": [1320, 740]
|
||||||
{
|
},
|
||||||
"parameters": {
|
{
|
||||||
"operation": "text",
|
"parameters": {
|
||||||
"options": {}
|
"operation": "toJson",
|
||||||
},
|
"options": {
|
||||||
"id": "b2f49de3-5d0d-4eff-8156-89e5a2a0edae",
|
"format": true
|
||||||
"name": "Extract From Text File",
|
}
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
},
|
||||||
"typeVersion": 1,
|
"id": "a938ea30-3acb-4618-a80a-6e759ba7d8db",
|
||||||
"position": [
|
"name": "Convert to JSON (with Formatting)",
|
||||||
1100,
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
740
|
"typeVersion": 1.1,
|
||||||
]
|
"position": [880, 920]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {
|
||||||
"id": "86d5e979-5ff0-4312-8b4f-7ff83f1eebd6",
|
"operation": "text",
|
||||||
"name": "Text File Result",
|
"options": {}
|
||||||
"type": "n8n-nodes-base.noOp",
|
},
|
||||||
"typeVersion": 1,
|
"id": "fa35a5ed-4746-48c5-b260-314c517cdd45",
|
||||||
"position": [
|
"name": "Extract From JSON (1)",
|
||||||
1320,
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
740
|
"typeVersion": 1,
|
||||||
]
|
"position": [1100, 920]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"operation": "toJson",
|
"operation": "text",
|
||||||
"options": {
|
"options": {}
|
||||||
"format": true
|
},
|
||||||
}
|
"id": "4a3c5c68-6621-4463-8623-83a6572ae760",
|
||||||
},
|
"name": "Extract From JSON (2)",
|
||||||
"id": "a938ea30-3acb-4618-a80a-6e759ba7d8db",
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
"name": "Convert to JSON (with Formatting)",
|
"typeVersion": 1,
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
"position": [1100, 1120]
|
||||||
"typeVersion": 1.1,
|
},
|
||||||
"position": [
|
{
|
||||||
880,
|
"parameters": {},
|
||||||
920
|
"id": "dbd03dcb-435c-4af7-ada8-2492c69f1cd6",
|
||||||
]
|
"name": "JSON Result (with Formatting)",
|
||||||
},
|
"type": "n8n-nodes-base.noOp",
|
||||||
{
|
"typeVersion": 1,
|
||||||
"parameters": {
|
"position": [1320, 920]
|
||||||
"operation": "text",
|
},
|
||||||
"options": {}
|
{
|
||||||
},
|
"parameters": {
|
||||||
"id": "fa35a5ed-4746-48c5-b260-314c517cdd45",
|
"operation": "toJson",
|
||||||
"name": "Extract From JSON (1)",
|
"options": {}
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
},
|
||||||
"typeVersion": 1,
|
"id": "c461944d-3141-4a1d-abe1-a74e1f71615f",
|
||||||
"position": [
|
"name": "Convert to JSON",
|
||||||
1100,
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
920
|
"typeVersion": 1.1,
|
||||||
]
|
"position": [880, 1120]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"operation": "text",
|
"options": {}
|
||||||
"options": {}
|
},
|
||||||
},
|
"id": "c9ca03b3-0f01-49f5-ab9d-ed4497829a09",
|
||||||
"id": "4a3c5c68-6621-4463-8623-83a6572ae760",
|
"name": "Convert to CSV",
|
||||||
"name": "Extract From JSON (2)",
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
"typeVersion": 1.1,
|
||||||
"typeVersion": 1,
|
"position": [880, 1320]
|
||||||
"position": [
|
},
|
||||||
1100,
|
{
|
||||||
1120
|
"parameters": {
|
||||||
]
|
"options": {}
|
||||||
},
|
},
|
||||||
{
|
"id": "1ad12799-7916-4780-aca9-9a966f9e5820",
|
||||||
"parameters": {},
|
"name": "Extract From CSV",
|
||||||
"id": "dbd03dcb-435c-4af7-ada8-2492c69f1cd6",
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
"name": "JSON Result (with Formatting)",
|
"typeVersion": 1,
|
||||||
"type": "n8n-nodes-base.noOp",
|
"position": [1100, 1320]
|
||||||
"typeVersion": 1,
|
},
|
||||||
"position": [
|
{
|
||||||
1320,
|
"parameters": {
|
||||||
920
|
"options": {
|
||||||
]
|
"delimiter": "|"
|
||||||
},
|
}
|
||||||
{
|
},
|
||||||
"parameters": {
|
"id": "58caeb17-7434-4808-b8c4-4ca443baecff",
|
||||||
"operation": "toJson",
|
"name": "Convert to CSV (custom delimiter)",
|
||||||
"options": {}
|
"type": "n8n-nodes-base.convertToFile",
|
||||||
},
|
"typeVersion": 1.1,
|
||||||
"id": "c461944d-3141-4a1d-abe1-a74e1f71615f",
|
"position": [880, 1520]
|
||||||
"name": "Convert to JSON",
|
},
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
{
|
||||||
"typeVersion": 1.1,
|
"parameters": {},
|
||||||
"position": [
|
"id": "b113b6d9-7928-4de1-bf7f-e2984d124edf",
|
||||||
880,
|
"name": "CSV Result",
|
||||||
1120
|
"type": "n8n-nodes-base.noOp",
|
||||||
]
|
"typeVersion": 1,
|
||||||
},
|
"position": [1320, 1320]
|
||||||
{
|
},
|
||||||
"parameters": {
|
{
|
||||||
"options": {}
|
"parameters": {},
|
||||||
},
|
"id": "12554f8d-592a-4500-80f7-42518840f718",
|
||||||
"id": "c9ca03b3-0f01-49f5-ab9d-ed4497829a09",
|
"name": "JSON Result",
|
||||||
"name": "Convert to CSV",
|
"type": "n8n-nodes-base.noOp",
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
"typeVersion": 1,
|
||||||
"typeVersion": 1.1,
|
"position": [1320, 1120]
|
||||||
"position": [
|
},
|
||||||
880,
|
{
|
||||||
1320
|
"parameters": {},
|
||||||
]
|
"id": "8a6ab018-9f38-4a5b-9483-769bf38f0b7c",
|
||||||
},
|
"name": "CSV Result (custom delimiter)",
|
||||||
{
|
"type": "n8n-nodes-base.noOp",
|
||||||
"parameters": {
|
"typeVersion": 1,
|
||||||
"options": {}
|
"position": [1320, 1520]
|
||||||
},
|
},
|
||||||
"id": "1ad12799-7916-4780-aca9-9a966f9e5820",
|
{
|
||||||
"name": "Extract From CSV",
|
"parameters": {
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
"options": {
|
||||||
"typeVersion": 1,
|
"delimiter": "|"
|
||||||
"position": [
|
}
|
||||||
1100,
|
},
|
||||||
1320
|
"id": "e8a4114f-5264-4255-982e-4690c950fb86",
|
||||||
]
|
"name": "Extract From Custom Delimiter",
|
||||||
},
|
"type": "n8n-nodes-base.extractFromFile",
|
||||||
{
|
"typeVersion": 1,
|
||||||
"parameters": {
|
"position": [1100, 1520]
|
||||||
"options": {
|
}
|
||||||
"delimiter": "|"
|
],
|
||||||
}
|
"pinData": {
|
||||||
},
|
"No Operation, do nothing": [
|
||||||
"id": "58caeb17-7434-4808-b8c4-4ca443baecff",
|
{
|
||||||
"name": "Convert to CSV (custom delimiter)",
|
"json": {
|
||||||
"type": "n8n-nodes-base.convertToFile",
|
"data": "This is some text encoded as base64"
|
||||||
"typeVersion": 1.1,
|
}
|
||||||
"position": [
|
}
|
||||||
880,
|
],
|
||||||
1520
|
"Text File Result": [
|
||||||
]
|
{
|
||||||
},
|
"json": {
|
||||||
{
|
"data": "Keeps asking about a green light??"
|
||||||
"parameters": {},
|
}
|
||||||
"id": "b113b6d9-7928-4de1-bf7f-e2984d124edf",
|
}
|
||||||
"name": "CSV Result",
|
],
|
||||||
"type": "n8n-nodes-base.noOp",
|
"JSON Result (with Formatting)": [
|
||||||
"typeVersion": 1,
|
{
|
||||||
"position": [
|
"json": {
|
||||||
1320,
|
"data": "[\n {\n \"id\": \"23423532\",\n \"name\": \"Jay Gatsby\",\n \"email\": \"gatsby@west-egg.com\",\n \"notes\": \"Keeps asking about a green light??\",\n \"country\": \"US\",\n \"created\": \"1925-04-10\",\n \"base64\": \"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"\n }\n]"
|
||||||
1320
|
}
|
||||||
]
|
}
|
||||||
},
|
],
|
||||||
{
|
"CSV Result": [
|
||||||
"parameters": {},
|
{
|
||||||
"id": "12554f8d-592a-4500-80f7-42518840f718",
|
"json": {
|
||||||
"name": "JSON Result",
|
"id": "23423532",
|
||||||
"type": "n8n-nodes-base.noOp",
|
"name": "Jay Gatsby",
|
||||||
"typeVersion": 1,
|
"email": "gatsby@west-egg.com",
|
||||||
"position": [
|
"notes": "Keeps asking about a green light??",
|
||||||
1320,
|
"country": "US",
|
||||||
1120
|
"created": "1925-04-10",
|
||||||
]
|
"base64": "VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ="
|
||||||
},
|
}
|
||||||
{
|
}
|
||||||
"parameters": {},
|
],
|
||||||
"id": "8a6ab018-9f38-4a5b-9483-769bf38f0b7c",
|
"JSON Result": [
|
||||||
"name": "CSV Result (custom delimiter)",
|
{
|
||||||
"type": "n8n-nodes-base.noOp",
|
"json": {
|
||||||
"typeVersion": 1,
|
"data": "[{\"id\":\"23423532\",\"name\":\"Jay Gatsby\",\"email\":\"gatsby@west-egg.com\",\"notes\":\"Keeps asking about a green light??\",\"country\":\"US\",\"created\":\"1925-04-10\",\"base64\":\"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"}]"
|
||||||
"position": [
|
}
|
||||||
1320,
|
}
|
||||||
1520
|
],
|
||||||
]
|
"CSV Result (custom delimiter)": [
|
||||||
},
|
{
|
||||||
{
|
"json": {
|
||||||
"parameters": {
|
"id": "23423532",
|
||||||
"options": {
|
"name": "Jay Gatsby",
|
||||||
"delimiter": "|"
|
"email": "gatsby@west-egg.com",
|
||||||
}
|
"notes": "Keeps asking about a green light??",
|
||||||
},
|
"country": "US",
|
||||||
"id": "e8a4114f-5264-4255-982e-4690c950fb86",
|
"created": "1925-04-10",
|
||||||
"name": "Extract From Custom Delimiter",
|
"base64": "VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ="
|
||||||
"type": "n8n-nodes-base.extractFromFile",
|
}
|
||||||
"typeVersion": 1,
|
}
|
||||||
"position": [
|
]
|
||||||
1100,
|
},
|
||||||
1520
|
"connections": {
|
||||||
]
|
"When clicking ‘Execute workflow’": {
|
||||||
}
|
"main": [
|
||||||
],
|
[
|
||||||
"pinData": {
|
{
|
||||||
"No Operation, do nothing": [
|
"node": "Code",
|
||||||
{
|
"type": "main",
|
||||||
"json": {
|
"index": 0
|
||||||
"data": "This is some text encoded as base64"
|
}
|
||||||
}
|
]
|
||||||
}
|
]
|
||||||
],
|
},
|
||||||
"Text File Result": [
|
"Code": {
|
||||||
{
|
"main": [
|
||||||
"json": {
|
[
|
||||||
"data": "Keeps asking about a green light??"
|
{
|
||||||
}
|
"node": "Convert to File2",
|
||||||
}
|
"type": "main",
|
||||||
],
|
"index": 0
|
||||||
"JSON Result (with Formatting)": [
|
},
|
||||||
{
|
{
|
||||||
"json": {
|
"node": "Convert to Text File",
|
||||||
"data": "[\n {\n \"id\": \"23423532\",\n \"name\": \"Jay Gatsby\",\n \"email\": \"gatsby@west-egg.com\",\n \"notes\": \"Keeps asking about a green light??\",\n \"country\": \"US\",\n \"created\": \"1925-04-10\",\n \"base64\": \"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"\n }\n]"
|
"type": "main",
|
||||||
}
|
"index": 0
|
||||||
}
|
},
|
||||||
],
|
{
|
||||||
"CSV Result": [
|
"node": "Convert to JSON (with Formatting)",
|
||||||
{
|
"type": "main",
|
||||||
"json": {
|
"index": 0
|
||||||
"id": "23423532",
|
},
|
||||||
"name": "Jay Gatsby",
|
{
|
||||||
"email": "gatsby@west-egg.com",
|
"node": "Convert to JSON",
|
||||||
"notes": "Keeps asking about a green light??",
|
"type": "main",
|
||||||
"country": "US",
|
"index": 0
|
||||||
"created": "1925-04-10",
|
},
|
||||||
"base64": "VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ="
|
{
|
||||||
}
|
"node": "Convert to CSV",
|
||||||
}
|
"type": "main",
|
||||||
],
|
"index": 0
|
||||||
"JSON Result": [
|
},
|
||||||
{
|
{
|
||||||
"json": {
|
"node": "Convert to CSV (custom delimiter)",
|
||||||
"data": "[{\"id\":\"23423532\",\"name\":\"Jay Gatsby\",\"email\":\"gatsby@west-egg.com\",\"notes\":\"Keeps asking about a green light??\",\"country\":\"US\",\"created\":\"1925-04-10\",\"base64\":\"VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ=\"}]"
|
"type": "main",
|
||||||
}
|
"index": 0
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"CSV Result (custom delimiter)": [
|
]
|
||||||
{
|
},
|
||||||
"json": {
|
"Convert to File2": {
|
||||||
"id": "23423532",
|
"main": [
|
||||||
"name": "Jay Gatsby",
|
[
|
||||||
"email": "gatsby@west-egg.com",
|
{
|
||||||
"notes": "Keeps asking about a green light??",
|
"node": "Extract From File",
|
||||||
"country": "US",
|
"type": "main",
|
||||||
"created": "1925-04-10",
|
"index": 0
|
||||||
"base64": "VGhpcyBpcyBzb21lIHRleHQgZW5jb2RlZCBhcyBiYXNlNjQ="
|
}
|
||||||
}
|
]
|
||||||
}
|
]
|
||||||
]
|
},
|
||||||
},
|
"Extract From File": {
|
||||||
"connections": {
|
"main": [
|
||||||
"When clicking ‘Test workflow’": {
|
[
|
||||||
"main": [
|
{
|
||||||
[
|
"node": "No Operation, do nothing",
|
||||||
{
|
"type": "main",
|
||||||
"node": "Code",
|
"index": 0
|
||||||
"type": "main",
|
}
|
||||||
"index": 0
|
]
|
||||||
}
|
]
|
||||||
]
|
},
|
||||||
]
|
"Convert to Text File": {
|
||||||
},
|
"main": [
|
||||||
"Code": {
|
[
|
||||||
"main": [
|
{
|
||||||
[
|
"node": "Extract From Text File",
|
||||||
{
|
"type": "main",
|
||||||
"node": "Convert to File2",
|
"index": 0
|
||||||
"type": "main",
|
}
|
||||||
"index": 0
|
]
|
||||||
},
|
]
|
||||||
{
|
},
|
||||||
"node": "Convert to Text File",
|
"Extract From Text File": {
|
||||||
"type": "main",
|
"main": [
|
||||||
"index": 0
|
[
|
||||||
},
|
{
|
||||||
{
|
"node": "Text File Result",
|
||||||
"node": "Convert to JSON (with Formatting)",
|
"type": "main",
|
||||||
"type": "main",
|
"index": 0
|
||||||
"index": 0
|
}
|
||||||
},
|
]
|
||||||
{
|
]
|
||||||
"node": "Convert to JSON",
|
},
|
||||||
"type": "main",
|
"Convert to JSON (with Formatting)": {
|
||||||
"index": 0
|
"main": [
|
||||||
},
|
[
|
||||||
{
|
{
|
||||||
"node": "Convert to CSV",
|
"node": "Extract From JSON (1)",
|
||||||
"type": "main",
|
"type": "main",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
}
|
||||||
{
|
]
|
||||||
"node": "Convert to CSV (custom delimiter)",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Extract From JSON (1)": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "JSON Result (with Formatting)",
|
||||||
"Convert to File2": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "Extract From File",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Extract From JSON (2)": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "JSON Result",
|
||||||
"Extract From File": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "No Operation, do nothing",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Convert to JSON": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "Extract From JSON (2)",
|
||||||
"Convert to Text File": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "Extract From Text File",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Convert to CSV": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "Extract From CSV",
|
||||||
"Extract From Text File": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "Text File Result",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Extract From CSV": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "CSV Result",
|
||||||
"Convert to JSON (with Formatting)": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "Extract From JSON (1)",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Convert to CSV (custom delimiter)": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "Extract From Custom Delimiter",
|
||||||
"Extract From JSON (1)": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "JSON Result (with Formatting)",
|
]
|
||||||
"type": "main",
|
},
|
||||||
"index": 0
|
"Extract From Custom Delimiter": {
|
||||||
}
|
"main": [
|
||||||
]
|
[
|
||||||
]
|
{
|
||||||
},
|
"node": "CSV Result (custom delimiter)",
|
||||||
"Extract From JSON (2)": {
|
"type": "main",
|
||||||
"main": [
|
"index": 0
|
||||||
[
|
}
|
||||||
{
|
]
|
||||||
"node": "JSON Result",
|
]
|
||||||
"type": "main",
|
}
|
||||||
"index": 0
|
},
|
||||||
}
|
"active": false,
|
||||||
]
|
"settings": {
|
||||||
]
|
"executionOrder": "v1"
|
||||||
},
|
},
|
||||||
"Convert to JSON": {
|
"versionId": "6555e00a-2c20-46f2-9a2c-fb368d557035",
|
||||||
"main": [
|
"meta": {
|
||||||
[
|
"templateCredsSetupCompleted": true,
|
||||||
{
|
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
||||||
"node": "Extract From JSON (2)",
|
},
|
||||||
"type": "main",
|
"id": "RSOCg1c3be66ZqVH",
|
||||||
"index": 0
|
"tags": []
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Convert to CSV": {
|
|
||||||
"main": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"node": "Extract From CSV",
|
|
||||||
"type": "main",
|
|
||||||
"index": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Extract From CSV": {
|
|
||||||
"main": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"node": "CSV Result",
|
|
||||||
"type": "main",
|
|
||||||
"index": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Convert to CSV (custom delimiter)": {
|
|
||||||
"main": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"node": "Extract From Custom Delimiter",
|
|
||||||
"type": "main",
|
|
||||||
"index": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Extract From Custom Delimiter": {
|
|
||||||
"main": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"node": "CSV Result (custom delimiter)",
|
|
||||||
"type": "main",
|
|
||||||
"index": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"active": false,
|
|
||||||
"settings": {
|
|
||||||
"executionOrder": "v1"
|
|
||||||
},
|
|
||||||
"versionId": "6555e00a-2c20-46f2-9a2c-fb368d557035",
|
|
||||||
"meta": {
|
|
||||||
"templateCredsSetupCompleted": true,
|
|
||||||
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
|
|
||||||
},
|
|
||||||
"id": "RSOCg1c3be66ZqVH",
|
|
||||||
"tags": []
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-200, -40],
|
"position": [-200, -40],
|
||||||
"id": "64686c0a-64a4-4a33-9e70-038c9d23c25b",
|
"id": "64686c0a-64a4-4a33-9e70-038c9d23c25b",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -318,9 +318,9 @@ export const formTriggerPanel = {
|
|||||||
header: 'Pull in a test form submission',
|
header: 'Pull in a test form submission',
|
||||||
executionsHelp: {
|
executionsHelp: {
|
||||||
inactive:
|
inactive:
|
||||||
"Form Trigger has two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the 'Test step' button, then fill out the test form that opens in a popup tab. The executions will show up in the editor.<br /> <br /> <b>Use production mode to run your workflow automatically</b>. <a data-key=\"activate\">Activate</a> the workflow, then make requests to the production URL. Then every time there's a form submission via the Production Form URL, the workflow will execute. These executions will show up in the executions list, but not in the editor.",
|
"Form Trigger has two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the 'Execute step' button, then fill out the test form that opens in a popup tab. The executions will show up in the editor.<br /> <br /> <b>Use production mode to run your workflow automatically</b>. <a data-key=\"activate\">Activate</a> the workflow, then make requests to the production URL. Then every time there's a form submission via the Production Form URL, the workflow will execute. These executions will show up in the executions list, but not in the editor.",
|
||||||
active:
|
active:
|
||||||
"Form Trigger has two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the 'Test step' button, then fill out the test form that opens in a popup tab. The executions will show up in the editor.<br /> <br /> <b>Use production mode to run your workflow automatically</b>. <a data-key=\"activate\">Activate</a> the workflow, then make requests to the production URL. Then every time there's a form submission via the Production Form URL, the workflow will execute. These executions will show up in the executions list, but not in the editor.",
|
"Form Trigger has two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the 'Execute step' button, then fill out the test form that opens in a popup tab. The executions will show up in the editor.<br /> <br /> <b>Use production mode to run your workflow automatically</b>. <a data-key=\"activate\">Activate</a> the workflow, then make requests to the production URL. Then every time there's a form submission via the Production Form URL, the workflow will execute. These executions will show up in the executions list, but not in the editor.",
|
||||||
},
|
},
|
||||||
activationHint: {
|
activationHint: {
|
||||||
active:
|
active:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [200, -360],
|
"position": [200, -360],
|
||||||
"id": "0889ff06-41e2-4786-a0fe-ca330c3711e7",
|
"id": "0889ff06-41e2-4786-a0fe-ca330c3711e7",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-300, 260],
|
"position": [-300, 260],
|
||||||
"id": "b14bf20f-78b0-490a-bbc6-d02b1af4c03c",
|
"id": "b14bf20f-78b0-490a-bbc6-d02b1af4c03c",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -76,7 +76,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -154,7 +154,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -184,7 +184,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -228,7 +228,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -274,7 +274,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -352,7 +352,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -390,7 +390,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -501,7 +501,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -526,7 +526,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -575,7 +575,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -606,7 +606,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -654,7 +654,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -681,7 +681,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -738,7 +738,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -767,7 +767,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -810,7 +810,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -841,7 +841,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -906,7 +906,7 @@ describe('Gong Node', () => {
|
|||||||
{
|
{
|
||||||
parameters: {},
|
parameters: {},
|
||||||
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
id: '416e4fc1-5055-4e61-854e-a6265256ac26',
|
||||||
name: "When clicking 'Test workflow'",
|
name: 'When clicking ‘Execute workflow’',
|
||||||
type: 'n8n-nodes-base.manualTrigger',
|
type: 'n8n-nodes-base.manualTrigger',
|
||||||
position: [820, 380],
|
position: [820, 380],
|
||||||
typeVersion: 1,
|
typeVersion: 1,
|
||||||
@@ -934,7 +934,7 @@ describe('Gong Node', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
connections: {
|
connections: {
|
||||||
"When clicking 'Test workflow'": {
|
'When clicking ‘Execute workflow’': {
|
||||||
main: [
|
main: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [-180, 240],
|
"position": [-180, 240],
|
||||||
"id": "db450654-d59c-4fb4-a06c-af7b971f0c14",
|
"id": "db450654-d59c-4fb4-a06c-af7b971f0c14",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [120, 700],
|
"position": [120, 700],
|
||||||
"id": "0ffead0b-d690-48b8-b406-bea5e0029c15",
|
"id": "0ffead0b-d690-48b8-b406-bea5e0029c15",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [120, 700],
|
"position": [120, 700],
|
||||||
"id": "0e76b314-4994-4141-975f-9614c6094c80",
|
"id": "0e76b314-4994-4141-975f-9614c6094c80",
|
||||||
"name": "When clicking ‘Test workflow’"
|
"name": "When clicking ‘Execute workflow’"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"connections": {
|
"connections": {
|
||||||
"When clicking ‘Test workflow’": {
|
"When clicking ‘Execute workflow’": {
|
||||||
"main": [
|
"main": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user