n8n-nodes-elearning-magic 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,6 +31,17 @@ class ElearningMagicTrigger {
|
|
|
31
31
|
subtitle: '={{$parameter["path"]}}',
|
|
32
32
|
inputs: [],
|
|
33
33
|
outputs: ['main'],
|
|
34
|
+
triggerPanel: {
|
|
35
|
+
header: 'Webhook URLs',
|
|
36
|
+
executionsHelp: {
|
|
37
|
+
inactive: 'Webhooks have two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the \'Execute workflow\' button, then make a 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>. Activate the workflow, then make requests to the production URL. These executions will show up in the executions list, but not in the editor.',
|
|
38
|
+
active: 'Webhooks have two modes: test and production. <br /> <br /> <b>Use test mode while you build your workflow</b>. Click the \'Execute workflow\' button, then make a 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 the workflow is activated, requests to the production URL will trigger executions. These executions will show up in the executions list, but not in the editor.',
|
|
39
|
+
},
|
|
40
|
+
activationHint: {
|
|
41
|
+
active: 'This node will also trigger automatically on new webhook requests (but those executions won\'t show up here).',
|
|
42
|
+
inactive: 'Activate this workflow to have it also run automatically for new webhook requests via the production URL.',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
34
45
|
credentials: [
|
|
35
46
|
{
|
|
36
47
|
name: 'elearningMagicApi',
|
|
@@ -42,18 +53,19 @@ class ElearningMagicTrigger {
|
|
|
42
53
|
name: 'default',
|
|
43
54
|
httpMethod: 'POST',
|
|
44
55
|
responseMode: 'onReceived',
|
|
45
|
-
path: '={{$
|
|
56
|
+
path: '={{$parameter["path"]}}',
|
|
46
57
|
restartWebhook: true,
|
|
47
58
|
},
|
|
48
59
|
],
|
|
49
60
|
properties: [
|
|
50
61
|
{
|
|
51
|
-
displayName: '
|
|
62
|
+
displayName: 'Path',
|
|
52
63
|
name: 'path',
|
|
53
64
|
type: 'string',
|
|
54
|
-
default: '
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
default: 'elearning-magic',
|
|
66
|
+
placeholder: 'elearning-magic',
|
|
67
|
+
required: true,
|
|
68
|
+
description: 'The path segment for the webhook URL',
|
|
57
69
|
},
|
|
58
70
|
],
|
|
59
71
|
};
|