n8n-nodes-whaapy 0.2.0 → 0.2.1

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.
@@ -226,14 +226,14 @@ class Whaapy {
226
226
  send: { type: 'body', property: 'language' },
227
227
  },
228
228
  },
229
- // Message: Send - Template parameters
229
+ // Message: Send - Template parameters (optional)
230
230
  {
231
231
  displayName: 'Body Parameters',
232
232
  name: 'templateParameters',
233
233
  type: 'string',
234
234
  default: '',
235
235
  placeholder: 'Juan Pérez, #ORD-12345, $1500',
236
- description: 'Comma-separated values for {{1}}, {{2}}, etc. placeholders in the template body. Example: "Juan, #12345, $100"',
236
+ description: 'Optional. Comma-separated values for {{1}}, {{2}}, etc. placeholders. Leave empty if template has no variables.',
237
237
  displayOptions: {
238
238
  show: { resource: ['message'], operation: ['send'], messageType: ['template'] },
239
239
  },
@@ -241,7 +241,7 @@ class Whaapy {
241
241
  send: {
242
242
  type: 'body',
243
243
  property: 'template_parameters',
244
- value: '={{ $value ? $value.split(",").map(v => v.trim()) : [] }}',
244
+ value: '={{ $value ? $value.split(",").map(v => v.trim()) : undefined }}',
245
245
  },
246
246
  },
247
247
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-whaapy",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "n8n community node for Whaapy - WhatsApp Business API with AI",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",