n8n-nodes-sudomock 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -15,7 +15,6 @@ n8n community node for the SudoMock API. Integrate mockup rendering into your n8
15
15
  - **Get Mockup**: Get detailed information about a specific mockup template
16
16
  - **Update Mockup**: Update the name of a mockup template
17
17
  - **Delete Mockup**: Delete a specific mockup template
18
- - **Delete All Mockups**: Delete all your mockup templates at once
19
18
 
20
19
  ### Rendering
21
20
  - **Render Mockup**: Generate mockups by combining templates with your designs
@@ -247,21 +246,6 @@ Deletion confirmation
247
246
 
248
247
  ---
249
248
 
250
- ### Delete All Mockups
251
-
252
- Delete all your mockup templates at once.
253
-
254
- **Parameters:** None
255
-
256
- **Output:**
257
- ```json
258
- {
259
- "deleted_count": 15
260
- }
261
- ```
262
-
263
- ---
264
-
265
249
  ## Example Workflows
266
250
 
267
251
  Ready-to-use n8n workflows are available in the [`examples/`](./examples) folder:
@@ -269,7 +253,7 @@ Ready-to-use n8n workflows are available in the [`examples/`](./examples) folder
269
253
  ### 1. Complete API Test Workflow
270
254
  **File**: [`examples/complete-test-workflow.json`](./examples/complete-test-workflow.json)
271
255
 
272
- Tests all 8 operations in sequence:
256
+ Tests all 7 operations in sequence:
273
257
  - Get Account Info → Upload PSD → Get Mockup → List Mockups
274
258
  - Render Mockup → Update Name → Verify Update → Delete Mockup
275
259
 
@@ -288,6 +272,19 @@ Demonstrates proper rate limit error handling with automatic retry logic:
288
272
 
289
273
  [View Details →](./examples/README.md#2-rate-limit-error-handling-test-rate-limit-test-workflowjson)
290
274
 
275
+ ### 3. Sequential Batch Render Workflow
276
+ **File**: [`examples/batch-render-workflow.json`](./examples/batch-render-workflow.json)
277
+
278
+ Demonstrates the power of n8n workflows with sequential batch processing:
279
+ - Renders 10 mockups one after another
280
+ - Uses different designs for each render
281
+ - 2-second delay between renders to avoid rate limits
282
+ - Progress tracking and final summary with all rendered URLs
283
+
284
+ Perfect for understanding batch processing and workflow automation.
285
+
286
+ [View Details →](./examples/README.md#3-sequential-batch-render-batch-render-workflowjson)
287
+
291
288
  ### Quick Start with Examples
292
289
 
293
290
  1. Import a workflow:
@@ -80,12 +80,6 @@ class SudoMock {
80
80
  description: 'Delete a specific mockup template',
81
81
  action: 'Delete a mockup',
82
82
  },
83
- {
84
- name: 'Delete All Mockups',
85
- value: 'deleteAllMockups',
86
- description: 'Delete all your mockup templates',
87
- action: 'Delete all mockups',
88
- },
89
83
  ],
90
84
  default: 'render',
91
85
  },
@@ -730,21 +724,7 @@ class SudoMock {
730
724
  const mockupUuid = this.getNodeParameter('deleteMockupUuid', i);
731
725
  const response = await this.helpers.httpRequestWithAuthentication.call(this, 'sudoMockApi', {
732
726
  method: 'DELETE',
733
- url: `https://api.sudomock.com/api/v1/psd/${mockupUuid}`,
734
- json: true,
735
- });
736
- returnData.push({
737
- json: response,
738
- pairedItem: { item: i },
739
- });
740
- }
741
- // ========================================
742
- // DELETE ALL MOCKUPS
743
- // ========================================
744
- else if (operation === 'deleteAllMockups') {
745
- const response = await this.helpers.httpRequestWithAuthentication.call(this, 'sudoMockApi', {
746
- method: 'DELETE',
747
- url: 'https://api.sudomock.com/api/v1/mockups/all',
727
+ url: `https://api.sudomock.com/api/v1/mockups/${mockupUuid}`,
748
728
  json: true,
749
729
  });
750
730
  returnData.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-sudomock",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "n8n community node for SudoMock mockup rendering API - POD automation",
5
5
  "license": "MIT",
6
6
  "homepage": "https://sudomock.com",