n8n-nodes-keephub 1.3.0 โ†’ 1.3.2

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.
package/README.md CHANGED
@@ -28,6 +28,7 @@ Unlock the power of employee engagement and communication automation with this c
28
28
  This is a professional **n8n community node** that enables you to harness the full power of **Keephub** within your workflow automation.
29
29
 
30
30
  **Keephub** is an enterprise-grade employee engagement platform for managing:
31
+
31
32
  - ๐Ÿ‘ฅ User management and organizational structures
32
33
  - ๐Ÿ“ฐ Content creation and distribution
33
34
  - โœ… Task management and templates
@@ -39,7 +40,6 @@ This is a professional **n8n community node** that enables you to harness the fu
39
40
 
40
41
  ## ๐Ÿ”ง Installation
41
42
 
42
-
43
43
  ### ๐Ÿ“ฆ Community Nodes Method (Recommended)
44
44
 
45
45
  1. Open your n8n instance
@@ -52,12 +52,14 @@ This is a professional **n8n community node** that enables you to harness the fu
52
52
  ### ๐Ÿ› ๏ธ Manual Installation
53
53
 
54
54
  **For Local n8n:**
55
+
55
56
  ```bash
56
57
  cd ~/.n8n/nodes
57
58
  npm install n8n-nodes-keephub
58
59
  ```
59
60
 
60
61
  **For Docker:**
62
+
61
63
  ```bash
62
64
  docker exec -it <n8n-container> sh
63
65
  cd /home/node/.n8n/nodes
@@ -66,6 +68,7 @@ npm install n8n-nodes-keephub
66
68
  ```
67
69
 
68
70
  **For Node.js n8n:**
71
+
69
72
  ```bash
70
73
  npm install -g n8n-nodes-keephub
71
74
  ```
@@ -119,14 +122,15 @@ Output:
119
122
 
120
123
  ### ๐Ÿ‘ฅ **User Operations**
121
124
 
122
- | Operation | Description |
123
- |-----------|-------------|
124
- | ๐Ÿ†” **Get by ID** | Retrieve a user by their unique ID |
125
- | ๐Ÿ” **Find by Login Name** | Search users by login name |
126
- | ๐Ÿ‘จโ€๐Ÿ’ผ **Find by Group** | Fetch all users in a specific group |
127
- | ๐Ÿข **Find by Orgunit** | Retrieve users from an organization unit |
125
+ | Operation | Description |
126
+ | ------------------------- | ---------------------------------------- |
127
+ | ๐Ÿ†” **Get by ID** | Retrieve a user by their unique ID |
128
+ | ๐Ÿ” **Find by Login Name** | Search users by login name |
129
+ | ๐Ÿ‘จโ€๐Ÿ’ผ **Find by Group** | Fetch all users in a specific group |
130
+ | ๐Ÿข **Find by Orgunit** | Retrieve users from an organization unit |
128
131
 
129
132
  **Example:**
133
+
130
134
  ```javascript
131
135
  // Get all users in a group
132
136
  {
@@ -140,47 +144,50 @@ Output:
140
144
 
141
145
  ### ๐Ÿ“ฐ **Content Operations**
142
146
 
143
- | Operation | Description |
144
- |-----------|-------------|
145
- | โœจ **Create** | Create new content (news, forms, manuals, etc.) |
146
- | ๐Ÿ—‘๏ธ **Delete** | Remove content |
147
- | ๐Ÿ“ **Find by Content Pool** | Filter content by pool with optional sorting |
148
- | ๐Ÿท๏ธ **Find by Group** | Get content assigned to groups with optional sorting |
149
- | ๐Ÿข **Find by Orgunit** | Retrieve content by organization with optional sorting |
150
- | ๐Ÿ“– **Get by ID** | Retrieve specific content |
151
- | โœ๏ธ **Update by ID** | Modify existing content |
147
+ | Operation | Description |
148
+ | --------------------------- | ------------------------------------------------------ |
149
+ | โœจ **Create** | Create new content (news, forms, manuals, etc.) |
150
+ | ๐Ÿ—‘๏ธ **Delete** | Remove content |
151
+ | ๐Ÿ“ **Find by Content Pool** | Filter content by pool with optional sorting |
152
+ | ๐Ÿท๏ธ **Find by Group** | Get content assigned to groups with optional sorting |
153
+ | ๐Ÿข **Find by Orgunit** | Retrieve content by organization with optional sorting |
154
+ | ๐Ÿ“– **Get by ID** | Retrieve specific content |
155
+ | โœ๏ธ **Update by ID** | Modify existing content |
152
156
 
153
157
  **Example - Create Content:**
158
+
154
159
  ```json
155
160
  {
156
- "resource": "content",
157
- "operation": "create",
158
- "defineContentInput": "json",
159
- "contentBody": {
160
- "originLanguage": "en",
161
- "contentType": "news",
162
- "contentPool": "POOL_ID",
163
- "title": { "en": "๐ŸŽ‰ Company Announcement" },
164
- "message": { "en": "<p>Great news everyone!</p>" },
165
- "orgchartSelection": { "include": ["root0001"], "exclude": [] }
166
- }
161
+ "resource": "content",
162
+ "operation": "create",
163
+ "defineContentInput": "json",
164
+ "contentBody": {
165
+ "originLanguage": "en",
166
+ "contentType": "news",
167
+ "contentPool": "POOL_ID",
168
+ "title": { "en": "๐ŸŽ‰ Company Announcement" },
169
+ "message": { "en": "<p>Great news everyone!</p>" },
170
+ "orgchartSelection": { "include": ["root0001"], "exclude": [] }
171
+ }
167
172
  }
168
173
  ```
169
174
 
170
175
  **Example - Find Content by Orgunit with Filtering:**
176
+
171
177
  ```json
172
178
  {
173
- "resource": "content",
174
- "operation": "findByOrgunit",
175
- "orgunitId": "root0077",
176
- "limit": 50,
177
- "options": {
178
- "skip": 0,
179
- "sortBy": "createdAt",
180
- "sortOrder": 1
181
- }
179
+ "resource": "content",
180
+ "operation": "findByOrgunit",
181
+ "orgunitId": "root0077",
182
+ "limit": 50,
183
+ "options": {
184
+ "skip": 0,
185
+ "sortBy": "createdAt",
186
+ "sortOrder": 1
187
+ }
182
188
  }
183
189
  ```
190
+
184
191
  Content Filtering Parameters:
185
192
 
186
193
  Limit (optional, default: 50): Maximum number of results to return
@@ -197,16 +204,17 @@ Sort Order: 1 for ascending, -1 for descending
197
204
 
198
205
  ### โœ… **Task Operations**
199
206
 
200
- | Operation | Description |
201
- |-----------|-------------|
202
- | โž• **Create** | Create a new task template |
203
- | ๐Ÿ—‘๏ธ **Delete** | Remove a task template |
204
- | ๐Ÿ“‹ **Get by ID** | Retrieve a task template |
205
- | ๐Ÿ” **Get By Orgunit** | Fetch tasks by organization unit with filtering & pagination |
206
- | ๐Ÿ“Š **Get Progress** | Check task template progress |
207
- | ๐Ÿ“ˆ **Get Status Counts** | View task completion statistics |
207
+ | Operation | Description |
208
+ | ------------------------ | ------------------------------------------------------------ |
209
+ | โž• **Create** | Create a new task template |
210
+ | ๐Ÿ—‘๏ธ **Delete** | Remove a task template |
211
+ | ๐Ÿ“‹ **Get by ID** | Retrieve a task template |
212
+ | ๐Ÿ” **Get By Orgunit** | Fetch tasks by organization unit with filtering & pagination |
213
+ | ๐Ÿ“Š **Get Progress** | Check task template progress |
214
+ | ๐Ÿ“ˆ **Get Status Counts** | View task completion statistics |
208
215
 
209
216
  **Example:**
217
+
210
218
  ```javascript
211
219
  {
212
220
  "resource": "task",
@@ -225,22 +233,25 @@ Sort Order: 1 for ascending, -1 for descending
225
233
  }
226
234
  }
227
235
  ```
236
+
228
237
  **Example - Get Tasks by Orgunit with Filtering:**
238
+
229
239
  ```json
230
240
  {
231
- "resource": "task",
232
- "operation": "getTaskByOrgunit",
233
- "orgunitId": "root0077",
234
- "limit": 50,
235
- "options": {
236
- "skip": 0,
237
- "sortBy": "template.dueDate",
238
- "sortOrder": 1,
239
- "startDateGte": "2025-11-01T00:00:00Z",
240
- "startDateLte": "2025-11-30T23:59:59Z"
241
- }
241
+ "resource": "task",
242
+ "operation": "getTaskByOrgunit",
243
+ "orgunitId": "root0077",
244
+ "limit": 50,
245
+ "options": {
246
+ "skip": 0,
247
+ "sortBy": "template.dueDate",
248
+ "sortOrder": 1,
249
+ "startDateGte": "2025-11-01T00:00:00Z",
250
+ "startDateLte": "2025-11-30T23:59:59Z"
251
+ }
242
252
  }
243
253
  ```
254
+
244
255
  Parameters:
245
256
 
246
257
  Orgunit ID (required): The organization unit ID to filter tasks
@@ -263,15 +274,16 @@ Start Date Before: Filter tasks created/updated before this date (dateTime picke
263
274
 
264
275
  ### ๐Ÿ“‹ **Form Submission Operations**
265
276
 
266
- | Operation | Description |
267
- |-----------|-------------|
268
- | ๐Ÿ“ฅ **Get** | Fetch complete form submission data |
269
- | ๐Ÿ‘ค **Get Submitter Details** | Retrieve full user profile of submitter |
270
- | ๐Ÿข **Get Submission Orgunits** | View orgunit hierarchy |
271
- | ๐Ÿ“ **Update Submission Orgunits** | Change visibility by orgunit |
272
- | โฑ๏ธ **Calculate Response Duration** | Time from creation to submission |
277
+ | Operation | Description |
278
+ | ---------------------------------- | --------------------------------------- |
279
+ | ๐Ÿ“ฅ **Get** | Fetch complete form submission data |
280
+ | ๐Ÿ‘ค **Get Submitter Details** | Retrieve full user profile of submitter |
281
+ | ๐Ÿข **Get Submission Orgunits** | View orgunit hierarchy |
282
+ | ๐Ÿ“ **Update Submission Orgunits** | Change visibility by orgunit |
283
+ | โฑ๏ธ **Calculate Response Duration** | Time from creation to submission |
273
284
 
274
285
  **Example - Calculate Response Time:**
286
+
275
287
  ```javascript
276
288
  {
277
289
  "resource": "formSubmission",
@@ -294,15 +306,16 @@ Start Date Before: Filter tasks created/updated before this date (dateTime picke
294
306
 
295
307
  ### Orgchart Operations
296
308
 
297
- | Operation | Description |
298
- |-----------|-------------|
299
- | **Get Ancestors** | Get all ancestors in the org hierarchy |
309
+ | Operation | Description |
310
+ | ----------------------- | -------------------------------------------------- |
311
+ | **Get Ancestors** | Get all ancestors in the org hierarchy |
300
312
  | **Get by External Ref** | Retrieve an orgchart node by its externalRef value |
301
- | **Get by ID** | Retrieve an orgchart node by ID |
302
- | **Get Children** | Retrieve all children/descendants |
303
- | **Get Parent** | Fetch the parent node of an orgchart node |
313
+ | **Get by ID** | Retrieve an orgchart node by ID |
314
+ | **Get Children** | Retrieve all children/descendants |
315
+ | **Get Parent** | Fetch the parent node of an orgchart node |
304
316
 
305
317
  **Example:**
318
+
306
319
  ```javascript
307
320
  {
308
321
  resource: "orgchart",
@@ -313,10 +326,10 @@ nodeId: "node123"
313
326
 
314
327
  ---
315
328
 
316
-
317
329
  ## ๐Ÿ” Credentials Setup
318
330
 
319
331
  ### Bearer Token Authentication
332
+
320
333
  ```
321
334
  โœ“ Most secure for API integrations
322
335
  โœ“ Use existing API tokens from Keephub
@@ -324,6 +337,7 @@ nodeId: "node123"
324
337
  ```
325
338
 
326
339
  ### Username/Password Authentication
340
+
327
341
  ```
328
342
  โœ“ Automatic token generation
329
343
  โœ“ Simple to set up
@@ -377,11 +391,13 @@ Send thank you message
377
391
  ## โš™๏ธ Node Configuration
378
392
 
379
393
  ### Input Data
394
+
380
395
  - All parameters support dynamic expressions with `{{ }}`
381
396
  - Use previous node outputs: `{{ $node["Previous Node"].json.field }}`
382
397
  - Access environment variables: `{{ $env.MY_VAR }}`
383
398
 
384
399
  ### Output Format
400
+
385
401
  ```javascript
386
402
  {
387
403
  "pairedItem": { "item": 0 },
@@ -392,33 +408,37 @@ Send thank you message
392
408
  ```
393
409
 
394
410
  ### Error Handling
411
+
395
412
  Enable "Continue on Error" to handle failures gracefully in your workflow.
396
413
 
397
414
  ---
398
415
 
399
416
  ## ๐Ÿ“ฆ Requirements
400
417
 
401
- | Requirement | Version |
402
- |-----------|---------|
403
- | **n8n** | v0.199.0+ |
404
- | **Node.js** | 14.20.0+ |
405
- | **npm** | 6.0.0+ |
418
+ | Requirement | Version |
419
+ | ----------- | --------- |
420
+ | **n8n** | v0.199.0+ |
421
+ | **Node.js** | 14.20.0+ |
422
+ | **npm** | 6.0.0+ |
406
423
 
407
424
  ---
408
425
 
409
426
  ## ๐Ÿ› Troubleshooting
410
427
 
411
428
  ### โŒ "Authentication failed"
429
+
412
430
  - โœ… Verify your Keephub instance URL
413
431
  - โœ… Check API credentials are correct
414
432
  - โœ… Ensure credentials have required permissions
415
433
 
416
434
  ### โŒ "Unknown operation"
435
+
417
436
  - โœ… Verify resource and operation combination exist
418
437
  - โœ… Check node version is latest
419
438
  - โœ… Try refreshing the node palette
420
439
 
421
440
  ### โŒ "Connection timeout"
441
+
422
442
  - โœ… Check network connectivity
423
443
  - โœ… Verify firewall allows outbound HTTPS
424
444
  - โœ… Check Keephub instance is accessible
@@ -465,16 +485,19 @@ n8n-nodes-keephub/
465
485
  ## ๐Ÿš€ Development
466
486
 
467
487
  ### Build
488
+
468
489
  ```bash
469
490
  npm run build
470
491
  ```
471
492
 
472
493
  ### Test
494
+
473
495
  ```bash
474
496
  npm run test
475
497
  ```
476
498
 
477
499
  ### Lint
500
+
478
501
  ```bash
479
502
  npm run lint
480
503
  ```
@@ -484,6 +507,7 @@ npm run lint
484
507
  ## ๐Ÿ“ Version History
485
508
 
486
509
  ### v1.0.0 (2025-01-09) ๐ŸŽ‰
510
+
487
511
  - โœจ Initial release
488
512
  - ๐Ÿ‘ฅ User management operations
489
513
  - ๐Ÿ“ฐ Content creation & management
@@ -492,23 +516,37 @@ npm run lint
492
516
  - ๐Ÿ” Secure API authentication
493
517
 
494
518
  ### v1.1.0 (2025-11-10) ๐Ÿ“ฆ
519
+
495
520
  - ๐Ÿ“Š Added Orgchart operations (Get, Parent, Ancestors, Children)
496
521
  - ๐Ÿงน Fixed console.log in updateById operation
497
522
  - ๐Ÿ”ง Code cleanup and optimizations
498
523
 
499
524
  ### v1.2.0 (2025-11-12) ๐Ÿ†•
525
+
500
526
  - ๐Ÿ” Added Get By Orgunit task operation
501
527
  - ๐Ÿ“… Date range filtering support for tasks (Start Date Before/After)
502
528
  - ๐Ÿ“ฐ Enhanced Content filtering
503
529
 
504
530
  ### v1.2.1 (2025-11-20)
531
+
505
532
  - ๐Ÿ“– README updates and documentation improvements
506
533
 
507
534
  ### v1.2.2 (2025-11-20)
535
+
508
536
  - ๐Ÿงน Build process improvements (added dist folder cleanup script)
509
537
 
510
538
  ### v1.3.0 (2025-12-04)
539
+
511
540
  - ๐Ÿ” Added Get by External Ref operation to Orgchart resource for querying nodes by external reference
541
+
542
+ ### v1.3.1 (2025-12-08)
543
+
544
+ - ๐Ÿ”ง Added externalRef of orgunit to the output of the Get submission orgunits node
545
+
546
+ ### v1.3.1 (2025-12-08)
547
+
548
+ - ๐Ÿงน Fixed typo that was causing README rendering issues
549
+
512
550
  ---
513
551
 
514
552
  ## ๐Ÿค Contributing
@@ -522,6 +560,7 @@ Contributions are welcome! ๐Ÿ™Œ
522
560
  5. **Open** a Pull Request
523
561
 
524
562
  ### Development Setup
563
+
525
564
  ```bash
526
565
  git clone https://github.com/RetailInTouch/n8n-nodes-keephub.git
527
566
  cd n8n-nodes-keephub
@@ -539,15 +578,17 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE)
539
578
 
540
579
  ## ๐Ÿ™ Support
541
580
 
542
- Found a bug? Have a feature request?
581
+ Found a bug? Have a feature request?
543
582
 
544
583
  - ๐Ÿ› [Open an Issue](https://github.com/RetailInTouch/n8n-nodes-keephub/issues)
545
584
  - ๐Ÿ’ฌ [Start a Discussion](https://github.com/RetailInTouch/n8n-nodes-keephub/discussions)
585
+
546
586
  ---
547
587
 
548
588
  ## โญ Show Your Support
549
589
 
550
590
  If you find this node useful, please consider:
591
+
551
592
  - โญ Starring this repository
552
593
  - ๐Ÿฆ Sharing it on social media
553
594
  - ๐Ÿ“ข Recommending it to the community
@@ -1 +1 @@
1
- {"version":3,"file":"getSubmissionOrgunits.d.ts","sourceRoot":"","sources":["../../../../../nodes/Keephub/actions/formSubmission/getSubmissionOrgunits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAe,iBAAiB,EAAG,MAAM,cAAc,CAAC;AAIxF,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,MAAM,GACX,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAoE/B"}
1
+ {"version":3,"file":"getSubmissionOrgunits.d.ts","sourceRoot":"","sources":["../../../../../nodes/Keephub/actions/formSubmission/getSubmissionOrgunits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAe,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIvF,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,IAAI,EAAE,kBAAkB,EACxB,KAAK,EAAE,MAAM,GACX,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAiE/B"}
@@ -15,31 +15,30 @@ async function execute(item, index) {
15
15
  helpers_1.validateMongoId.call(this, formSubmissionId, 'Form Submission ID', index);
16
16
  const formSubmission = (await helpers_1.apiRequest.call(this, 'GET', `/formvalues/${formSubmissionId}`));
17
17
  if (!formSubmission || !formSubmission.createdBy) {
18
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Form submission or submitter not found', { itemIndex: index });
18
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Form submission or submitter not found', {
19
+ itemIndex: index,
20
+ });
19
21
  }
20
22
  const submitterId = typeof formSubmission.createdBy === 'string'
21
23
  ? formSubmission.createdBy
22
24
  : formSubmission.createdBy._id;
23
25
  const submitterData = (await helpers_1.apiRequest.call(this, 'GET', `/users/${submitterId}`));
26
+ // Fetch ALL orgunits with externalRef param, then filter
27
+ const orgunitsResponse = (await helpers_1.apiRequest.call(this, 'GET', `/orgchart/?externalRef=true&limit=1000`));
28
+ const allOrgunits = (orgunitsResponse.data || []);
29
+ const orgunitMap = new Map();
30
+ allOrgunits.forEach((org) => orgunitMap.set(org.id, org));
24
31
  // Fetch each orgunit details
25
32
  const orgunitDetails = [];
26
33
  for (const orgunitId of submitterData.orgunits || []) {
27
- try {
28
- const orgunitData = (await helpers_1.apiRequest.call(this, 'GET', `/orgchart/${orgunitId}`));
29
- orgunitDetails.push({
30
- id: orgunitId,
31
- name: orgunitData.name || 'Unknown',
32
- path: (orgunitData.namepath || '').slice(1),
33
- });
34
- }
35
- catch {
36
- // Skip if orgunit fetch fails
37
- orgunitDetails.push({
38
- id: orgunitId,
39
- name: 'Error fetching',
40
- path: '',
41
- });
42
- }
34
+ const orgunitData = orgunitMap.get(orgunitId) ||
35
+ (await helpers_1.apiRequest.call(this, 'GET', `/orgchart/${orgunitId}`));
36
+ orgunitDetails.push({
37
+ id: orgunitId,
38
+ name: orgunitData.name || 'Unknown',
39
+ path: (orgunitData.namepath || '').slice(1),
40
+ externalRef: orgunitData.externalRef || '',
41
+ });
43
42
  }
44
43
  return [
45
44
  {
@@ -1 +1 @@
1
- {"version":3,"file":"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AE,CAAC;QACpE,IAAI,CAAC;YACJ,MAAM,WAAW,GAAG,CAAC,MAAM,oBAAU,CAAC,IAAI,CACzC,IAAI,EACJ,KAAK,EACL,aAAa,SAAS,EAAE,CACxB,CAAgB,CAAC;YAElB,cAAc,CAAC,IAAI,CAAC;gBACnB,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,SAAS;gBACnC,IAAI,EAAE,CAAE,WAAW,CAAC,QAAmB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;aACvD,CAAC,CAAC;QACJ,CAAC;QAAC,MAAM,CAAC;YACR,8BAA8B;YAC9B,cAAc,CAAC,IAAI,CAAC;gBACnB,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAED,OAAO;QACN;YACC,IAAI,EAAE;gBACL,GAAG,EAAE,aAAa,CAAC,GAAG;gBACtB,IAAI,EAAE,aAAa,CAAC,IAAI;gBACxB,QAAQ,EAAE,cAAc;aACxB;YACD,UAAU,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SAC3B;KACD,CAAC;AAEJ,CAAC"}
1
+ {"version":3,"file":"getSubmissionOrgunits.js","sourceRoot":"","sources":["../../../../../nodes/Keephub/actions/formSubmission/getSubmissionOrgunits.ts"],"names":[],"mappings":";;;AAWA,0BAqEC;AA/ED,+CAAkD;AAClD,iDAAkE;AAErD,QAAA,WAAW,GAAG;IAC1B,WAAW,EAAE,qBAAqB;IAClC,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,qBAAqB;IAC7B,WAAW,EAAE,6DAA6D;CAC1E,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,IAAwB,EACxB,KAAa;IAEb,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,KAAK,CAAW,CAAC;IAEpF,yBAAe,CAAC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AAC,SAAS,CAAC;YACxB,CAAC,MAAM,oBAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa,SAAS,EAAE,CAAC,CAAiB,CAAC;QAEjF,cAAc,CAAC,IAAI,CAAC;YACnB,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,WAAW,CAAC,IAAI,IAAI,SAAS;YACnC,IAAI,EAAE,CAAE,WAAW,CAAC,QAAmB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACvD,WAAW,EAAG,WAAW,CAAC,WAAsB,IAAI,EAAE;SACtD,CAAC,CAAC;IACJ,CAAC;IAED,OAAO;QACN;YACC,IAAI,EAAE;gBACL,GAAG,EAAE,aAAa,CAAC,GAAG;gBACtB,IAAI,EAAE,aAAa,CAAC,IAAI;gBACxB,QAAQ,EAAE,cAAc;aACxB;YACD,UAAU,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SAC3B;KACD,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-keephub",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Keephub integration node for n8n workflow automation",
5
5
  "license": "MIT",
6
6
  "keywords": [