n8n-nodes-elearning-magic 0.1.8 → 0.1.10

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.
@@ -53,18 +53,33 @@ class ElearningMagicTrigger {
53
53
  name: 'default',
54
54
  httpMethod: 'POST',
55
55
  responseMode: 'onReceived',
56
- path: '={{$workflow.id}}-elearning-magic',
56
+ path: '={{$parameter["path"]}}',
57
57
  restartWebhook: true,
58
58
  },
59
59
  ],
60
60
  properties: [
61
61
  {
62
- displayName: 'Webhook Path',
62
+ displayName: '<strong>📌 Webhook URLs for your eLearning Magic App:</strong><br><br>' +
63
+ '<strong>Test URL Pattern:</strong><br>' +
64
+ '<code>https://YOUR-N8N-INSTANCE/webhook-test/YOUR-PATH</code><br><br>' +
65
+ '<strong>Production URL Pattern:</strong><br>' +
66
+ '<code>https://YOUR-N8N-INSTANCE/webhook/YOUR-PATH</code><br><br>' +
67
+ '<strong>Example (if your path is "elearning-magic"):</strong><br>' +
68
+ 'Test: <code>https://app.n8n.cloud/webhook-test/elearning-magic</code><br>' +
69
+ 'Production: <code>https://app.n8n.cloud/webhook/elearning-magic</code><br><br>' +
70
+ '💡 Replace <code>YOUR-N8N-INSTANCE</code> with your n8n server URL and <code>YOUR-PATH</code> with the Path value below.',
71
+ name: 'webhookUrlNotice',
72
+ type: 'notice',
73
+ default: '',
74
+ },
75
+ {
76
+ displayName: 'Path',
63
77
  name: 'path',
64
78
  type: 'string',
65
- default: '={{$workflow.id}}-elearning-magic',
66
- description: 'The path for this webhook. The full webhook URL will be displayed above once you save the workflow.',
67
- noDataExpression: true,
79
+ default: 'elearning-magic',
80
+ placeholder: 'elearning-magic',
81
+ required: true,
82
+ description: 'The path segment for the webhook URL',
68
83
  },
69
84
  ],
70
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-elearning-magic",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "n8n community node for receiving signed payloads from the eLearning Magic SCORM wrapper",
5
5
  "keywords": [
6
6
  "n8n-community-node",