From 1fe1933d5081b8c69ab5bfb619c4434fef608ddb Mon Sep 17 00:00:00 2001 From: Shireen Missi Date: Fri, 12 Jul 2024 10:36:51 +0100 Subject: [PATCH] Update AWS Comprehend Test workflow Co-authored-by: Michael Kret --- .../test/AwsComprehendTestWorkflow.json | 215 ++++++++++-------- 1 file changed, 123 insertions(+), 92 deletions(-) diff --git a/packages/nodes-base/nodes/Aws/Comprehend/test/AwsComprehendTestWorkflow.json b/packages/nodes-base/nodes/Aws/Comprehend/test/AwsComprehendTestWorkflow.json index 170f35dd527f8..9073095f41f20 100644 --- a/packages/nodes-base/nodes/Aws/Comprehend/test/AwsComprehendTestWorkflow.json +++ b/packages/nodes-base/nodes/Aws/Comprehend/test/AwsComprehendTestWorkflow.json @@ -1,94 +1,125 @@ { "name": "node-aws-comprehend", - "nodes": [ - { - "parameters": {}, - "id": "73cf15c4-15f9-43aa-a535-26d840601480", - "name": "When clicking ‘Test workflow’", - "type": "n8n-nodes-base.manualTrigger", - "position": [ - 820, - 360 - ], - "typeVersion": 1 - }, - { - "parameters": { - "assignments": { - "assignments": [ - { - "id": "51b7eee5-8cc9-4e09-a2f4-65ffb3cc17f6", - "name": "text", - "value": "This is a test.", - "type": "string" - } - ] - }, - "options": {} - }, - "id": "76a71bac-81fe-4b28-b15b-483efa827d12", - "name": "Edit Fields", - "type": "n8n-nodes-base.set", - "typeVersion": 3.4, - "position": [ - 1060, - 600 - ] - }, - { - "parameters": { - "text": "={{ $json.text }}" - }, - "id": "61665744-5a4e-4f49-a027-16bd527cbeb9", - "name": "AWS Comprehend", - "type": "n8n-nodes-base.awsComprehend", - "typeVersion": 1, - "position": [ - 1480, - 440 - ], - "credentials": { - "aws": { - "id": "124", - "name": "AWS creds" - } - } - } - ], - "pinData": {}, - "connections": { - "Edit Fields": { - "main": [ - [ - { - "node": "AWS Comprehend", - "type": "main", - "index": 0 - } - ] - ] - }, - "When clicking ‘Test workflow’": { - "main": [ - [ - { - "node": "Edit Fields", - "type": "main", - "index": 0 - } - ] - ] - } - }, - "active": false, - "settings": { - "executionOrder": "v1" - }, - "versionId": "21f5ca33-74a0-4e28-b4ba-b90154db8d53", - "meta": { - "templateCredsSetupCompleted": true, - "instanceId": "27cc9b56542ad45b38725555722c50a1c3fee1670bbb67980558314ee08517c4" - }, - "id": "yAlSAFNzvjfThNOR", - "tags": [] -} + "nodes": [ + { + "parameters": {}, + "id": "53b6020d-5aa2-435f-9ee1-407111c0e3ee", + "name": "When clicking ‘Test workflow’", + "type": "n8n-nodes-base.manualTrigger", + "position": [ + 680, + 380 + ], + "typeVersion": 1 + }, + { + "parameters": { + "assignments": { + "assignments": [ + { + "id": "51b7eee5-8cc9-4e09-a2f4-65ffb3cc17f6", + "name": "text", + "value": "This is a test.", + "type": "string" + } + ] + }, + "options": {} + }, + "id": "b3beaf43-fe4c-43e1-a8cb-5a0740050611", + "name": "Edit Fields", + "type": "n8n-nodes-base.set", + "typeVersion": 3.4, + "position": [ + 900, + 380 + ] + }, + { + "parameters": { + "text": "={{ $json.text }}" + }, + "id": "a6a8a24c-0e58-40e7-8bf4-13a56edc6264", + "name": "AWS Comprehend", + "type": "n8n-nodes-base.awsComprehend", + "typeVersion": 1, + "position": [ + 1100, + 380 + ], + "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": [ + { + "json": { + "de": 0.010717987082898617, + "en": 0.9774383902549744 + } + } + ] + }, + "connections": { + "Edit Fields": { + "main": [ + [ + { + "node": "AWS Comprehend", + "type": "main", + "index": 0 + } + ] + ] + }, + "When clicking ‘Test workflow’": { + "main": [ + [ + { + "node": "Edit Fields", + "type": "main", + "index": 0 + } + ] + ] + }, + "AWS Comprehend": { + "main": [ + [ + { + "node": "No Operation, do nothing", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "active": false, + "settings": { + "executionOrder": "v1" + }, + "versionId": "eae3c601-56b8-42ec-a0b7-14df8d697043", + "meta": { + "templateCredsSetupCompleted": true, + "instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd" + }, + "id": "fuOmKcLPWAxKi0bn", + "tags": [] + }