@intentsolutionsio/n8n-workflow-designer 1.0.0 → 1.0.4

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
@@ -6,13 +6,13 @@ Design complex n8n workflows with AI assistance - the most powerful open-source
6
6
 
7
7
  n8n is the most powerful open-source automation platform available:
8
8
 
9
- - **Open Source** - Self-host for complete control, no vendor lock-in
10
- - **Cost Effective** - No per-execution fees, process millions for free
11
- - **Advanced Logic** - Loops, branching, custom JavaScript code
12
- - **More Powerful** - More capable than Zapier or Make.com
13
- - **Extensible** - Create custom nodes, integrate anything
14
- - **AI-Ready** - Native OpenAI, Anthropic, and LangChain integration
15
- - **Data Control** - Keep sensitive data on your infrastructure
9
+ - **Open Source** - Self-host for complete control, no vendor lock-in
10
+ - **Cost Effective** - No per-execution fees, process millions for free
11
+ - **Advanced Logic** - Loops, branching, custom JavaScript code
12
+ - **More Powerful** - More capable than Zapier or Make.com
13
+ - **Extensible** - Create custom nodes, integrate anything
14
+ - **AI-Ready** - Native OpenAI, Anthropic, and LangChain integration
15
+ - **Data Control** - Keep sensitive data on your infrastructure
16
16
 
17
17
  ## Installation
18
18
 
@@ -108,6 +108,7 @@ volumes:
108
108
  | **8 vCPU, 16GB RAM** | 50-100 | 180K-360K | 129M-259M | Enterprise scale |
109
109
 
110
110
  **Workflow Complexity Impact:**
111
+
111
112
  - **Simple** (2-5 nodes, no AI): 100-200 ms per execution
112
113
  - **Medium** (10-20 nodes, basic AI): 1-2 sec per execution
113
114
  - **Complex** (30+ nodes, multiple APIs): 5-10 sec per execution
@@ -125,6 +126,7 @@ volumes:
125
126
  | **Database** | SQLite/Postgres | 50-100 MB | 5-10 GB | Regular vacuum |
126
127
 
127
128
  **Disk Space Planning:**
129
+
128
130
  ```bash
129
131
  # Minimal (10 workflows, 30-day retention)
130
132
  Disk: 10 GB
@@ -143,6 +145,7 @@ Disk: 200 GB + object storage for binary data
143
145
  ### n8n Cloud (Paid SaaS)
144
146
 
145
147
  **Rate Limits:**
148
+
146
149
  | Plan | Monthly Executions | Workflows | Support | Cost |
147
150
  |------|-------------------|-----------|---------|------|
148
151
  | **Free** | 5,000 | 5 | Community | $0 |
@@ -151,6 +154,7 @@ Disk: 200 GB + object storage for binary data
151
154
  | **Enterprise** | Custom | Unlimited | Dedicated | $500+/mo |
152
155
 
153
156
  **Registration Requirements:**
157
+
154
158
  - ✅ Email required
155
159
  - ✅ Payment method required (after free tier)
156
160
  - ✅ No self-hosting (cloud only)
@@ -161,6 +165,7 @@ Disk: 200 GB + object storage for binary data
161
165
  ### n8n Self-Hosted (Open Source)
162
166
 
163
167
  **"Rate Limits" (Hardware-Based):**
168
+
164
169
  | Resource | Constraint | Solution |
165
170
  |----------|-----------|----------|
166
171
  | **Executions** | ∞ Unlimited | Limited only by CPU/RAM |
@@ -170,6 +175,7 @@ Disk: 200 GB + object storage for binary data
170
175
  | **API Calls** | No n8n limits | Limited by integrated services |
171
176
 
172
177
  **Registration Requirements:**
178
+
173
179
  - ❌ No email required
174
180
  - ❌ No payment required
175
181
  - ❌ No account signup
@@ -387,12 +393,14 @@ result2 = cache.get_or_execute(
387
393
  ### Paid Approach (Cloud Automation)
388
394
 
389
395
  **Zapier Professional:**
396
+
390
397
  - **Cost:** $19-1,899/mo ($228-22,788/year)
391
398
  - **Executions:** 750-1M per month
392
399
  - **Workflows:** 5-50 (tier-based)
393
400
  - **Limitations:** No loops, limited custom code, no self-hosting
394
401
 
395
402
  **Make.com Professional:**
403
+
396
404
  - **Cost:** $9-299/mo ($108-3,588/year)
397
405
  - **Operations:** 10K-1M per month
398
406
  - **Limitations:** Cloud only, complex pricing tiers
@@ -402,16 +410,19 @@ result2 = cache.get_or_execute(
402
410
  ### Free Approach (n8n Self-Hosted)
403
411
 
404
412
  **Hardware Costs:**
413
+
405
414
  - **VPS (DigitalOcean/Hetzner):** $12-48/mo ($144-576/year one-time hardware)
406
415
  - **Executions:** ∞ Unlimited
407
416
  - **Workflows:** ∞ Unlimited
408
417
  - **Advantages:** Full control, custom code, loops, data privacy
409
418
 
410
419
  **Annual Savings:**
420
+
411
421
  - vs Zapier: $228-22,788/year → Save 88-97%
412
422
  - vs Make.com: $108-3,588/year → Save 84-96%
413
423
 
414
424
  **Cost Per Execution:**
425
+
415
426
  - **Zapier:** $0.0019-0.0253 per execution
416
427
  - **Make.com:** $0.0003-0.0299 per execution
417
428
  - **n8n Self-Hosted:** **$0.0000** per execution (after hardware)
@@ -518,6 +529,7 @@ volumes:
518
529
  ```
519
530
 
520
531
  **Hardware Requirements:**
532
+
521
533
  - **CPU:** 2 vCPU minimum
522
534
  - **RAM:** 4 GB minimum
523
535
  - **Disk:** 20 GB + growth
@@ -539,6 +551,7 @@ volumes:
539
551
  ## Features
540
552
 
541
553
  ### Workflow Design Capabilities
554
+
542
555
  - **Complex Branching** - Route data based on conditions
543
556
  - **Loops & Iterations** - Process batches efficiently
544
557
  - **Error Handling** - Retry logic and fallback strategies
@@ -547,6 +560,7 @@ volumes:
547
560
  - **Webhooks** - Trigger workflows from anywhere
548
561
 
549
562
  ### AI Integration
563
+
550
564
  - **OpenAI/GPT-4** - Native node support
551
565
  - **Anthropic Claude** - Full API integration
552
566
  - **Custom Models** - Connect any AI service
@@ -554,6 +568,7 @@ volumes:
554
568
  - **Response Parsing** - Extract structured data
555
569
 
556
570
  ### Performance Features
571
+
557
572
  - **Batch Processing** - Handle large datasets efficiently
558
573
  - **Parallel Execution** - Multiple branches run simultaneously
559
574
  - **Rate Limiting** - Built-in API throttling
@@ -570,6 +585,7 @@ volumes:
570
585
  ## Example Workflows
571
586
 
572
587
  ### 1. AI Email Auto-Responder
588
+
573
589
  ```
574
590
  Gmail Trigger → OpenAI Response → Gmail Send → Database Log
575
591
  ```
@@ -579,6 +595,7 @@ Gmail Trigger → OpenAI Response → Gmail Send → Database Log
579
595
  **Cost:** ~$0.02 per email (using GPT-4)
580
596
 
581
597
  ### 2. Content Pipeline
598
+
582
599
  ```
583
600
  RSS Feed → Filter → AI Enhancement → Multi-Platform Publish
584
601
  ```
@@ -588,6 +605,7 @@ RSS Feed → Filter → AI Enhancement → Multi-Platform Publish
588
605
  **Cost:** ~$0.05 per post (content generation + social media)
589
606
 
590
607
  ### 3. Lead Qualification
608
+
591
609
  ```
592
610
  Form Submit → Data Enrichment → AI Scoring → Route → CRM/Email
593
611
  ```
@@ -597,6 +615,7 @@ Form Submit → Data Enrichment → AI Scoring → Route → CRM/Email
597
615
  **Cost:** ~$0.01 per lead (AI scoring only)
598
616
 
599
617
  ### 4. Document Processing
618
+
600
619
  ```
601
620
  Email Trigger → Extract PDF → OCR → AI Analysis → Database → Notify
602
621
  ```
@@ -606,6 +625,7 @@ Email Trigger → Extract PDF → OCR → AI Analysis → Database → Notify
606
625
  **Cost:** ~$0.10 per document (OCR + AI analysis)
607
626
 
608
627
  ### 5. Customer Support Automation
628
+
609
629
  ```
610
630
  Ticket Created → Classify → Route → AI Draft → Human Review → Send
611
631
  ```
@@ -617,18 +637,22 @@ Ticket Created → Classify → Route → AI Draft → Human Review → Send
617
637
  ## Getting Started
618
638
 
619
639
  ### 1. Install the Plugin
640
+
620
641
  ```bash
621
642
  /plugin install n8n-workflow-designer
622
643
  ```
623
644
 
624
645
  ### 2. Describe Your Workflow
646
+
625
647
  ```
626
648
  I need a workflow that monitors my Gmail for support requests,
627
649
  uses AI to draft responses, and sends them to Slack for approval.
628
650
  ```
629
651
 
630
652
  ### 3. Get Complete Workflow
653
+
631
654
  The plugin generates:
655
+
632
656
  - Visual architecture diagram
633
657
  - Node-by-node configuration
634
658
  - Complete importable JSON
@@ -637,6 +661,7 @@ The plugin generates:
637
661
  - Cost estimates
638
662
 
639
663
  ### 4. Import to n8n
664
+
640
665
  1. Copy the JSON output
641
666
  2. Open your n8n instance
642
667
  3. Click "Import from JSON"
@@ -646,12 +671,14 @@ The plugin generates:
646
671
  ## n8n Setup Options
647
672
 
648
673
  ### Cloud (Easiest)
674
+
649
675
  - Visit [n8n.cloud](https://n8n.cloud)
650
676
  - 5-10 workflows free
651
677
  - $20/month for standard plan
652
678
  - Hosted and managed
653
679
 
654
680
  ### Self-Hosted (Most Powerful)
681
+
655
682
  ```bash
656
683
  # Docker Compose
657
684
  docker run -it --rm \
@@ -662,6 +689,7 @@ docker run -it --rm \
662
689
  ```
663
690
 
664
691
  **Benefits:**
692
+
665
693
  - Free for unlimited workflows
666
694
  - Full control over data
667
695
  - No execution limits
@@ -671,6 +699,7 @@ docker run -it --rm \
671
699
  ## Real-World Examples
672
700
 
673
701
  ### Agency Use Case: Client Onboarding
702
+
674
703
  ```
675
704
  Form Submit → Create Folders → Send Contracts → Schedule Kickoff → CRM Update
676
705
  ```
@@ -680,6 +709,7 @@ Form Submit → Create Folders → Send Contracts → Schedule Kickoff → CRM U
680
709
  **ROI:** After 1 client
681
710
 
682
711
  ### SaaS Use Case: User Activation
712
+
683
713
  ```
684
714
  New Signup → Send Welcome → Monitor Usage → Trigger Onboarding → Alert Sales
685
715
  ```
@@ -689,6 +719,7 @@ New Signup → Send Welcome → Monitor Usage → Trigger Onboarding → Alert S
689
719
  **Cost:** $0.001 per user
690
720
 
691
721
  ### E-commerce Use Case: Order Processing
722
+
692
723
  ```
693
724
  Order Received → Inventory Check → Payment → Fulfillment → Tracking → Follow-up
694
725
  ```
@@ -742,6 +773,7 @@ MIT - See LICENSE file
742
773
  ## Contributing
743
774
 
744
775
  Contributions welcome! Please submit PRs with:
776
+
745
777
  - New workflow templates
746
778
  - Integration examples
747
779
  - Performance optimizations
@@ -1,11 +1,39 @@
1
1
  ---
2
2
  name: n8n-expert
3
3
  description: Expert n8n workflow designer specializing in complex automation
4
+ tools:
5
+ - Read
6
+ - Write
7
+ - Edit
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - WebFetch
12
+ - WebSearch
13
+ - Task
14
+ - TodoWrite
15
+ model: sonnet
16
+ color: blue
17
+ version: 1.0.0
18
+ author: Jeremy Longshore <jeremy@intentsolutions.io>
19
+ tags:
20
+ - ai-agency
21
+ - n8n
22
+ disallowedTools: []
23
+ skills: []
24
+ background: false
25
+ # ── upgrade levers — uncomment + set when tuning this agent ──
26
+ # effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
27
+ # maxTurns: 50 # cap the agentic loop (omit = engine default)
28
+ # memory: project # persistent scope: user/project/local (omit = ephemeral)
29
+ # isolation: worktree # run in an isolated git worktree
30
+ # initialPrompt: "…" # seed the agent's first turn
31
+ # hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
4
32
  ---
5
-
6
33
  # n8n Workflow Expert
7
34
 
8
35
  You are an expert n8n workflow designer who helps build complex automation workflows. n8n is more powerful than Make/Zapier because it's:
36
+
9
37
  - Self-hostable (no vendor lock-in)
10
38
  - Has loops and iterations
11
39
  - Supports complex branching
@@ -55,6 +83,7 @@ Design workflows with clear node structure:
55
83
  ### 2. Error Handling Patterns
56
84
 
57
85
  **Retry with Exponential Backoff:**
86
+
58
87
  ```javascript
59
88
  // In Function node
60
89
  const maxRetries = 3;
@@ -75,6 +104,7 @@ for (let i = 0; i < maxRetries; i++) {
75
104
  ```
76
105
 
77
106
  **Error Notifications:**
107
+
78
108
  ```javascript
79
109
  // Send error notification on failure
80
110
  if ($input.item.json.error) {
@@ -91,26 +121,31 @@ if ($input.item.json.error) {
91
121
  ### 3. Common Workflow Patterns
92
122
 
93
123
  **Pattern 1: AI Content Pipeline**
124
+
94
125
  ```
95
126
  RSS Feed → Filter New Items → OpenAI Enhancement → Format → Publish to CMS
96
127
  ```
97
128
 
98
129
  **Pattern 2: Lead Qualification**
130
+
99
131
  ```
100
132
  Form Submit → Enrich Data (Clearbit) → AI Score → Route (High/Low) → CRM/Email
101
133
  ```
102
134
 
103
135
  **Pattern 3: Document Processing**
136
+
104
137
  ```
105
138
  Email Trigger → Extract PDF → OCR → AI Analysis → Database Insert → Notify
106
139
  ```
107
140
 
108
141
  **Pattern 4: Customer Support**
142
+
109
143
  ```
110
144
  Ticket Created → Classify → Route to Team → AI Draft Response → Human Review
111
145
  ```
112
146
 
113
147
  **Pattern 5: Data Enrichment**
148
+
114
149
  ```
115
150
  CSV Upload → Loop Items → API Lookup → AI Enhancement → Export to Database
116
151
  ```
@@ -118,6 +153,7 @@ CSV Upload → Loop Items → API Lookup → AI Enhancement → Export to Databa
118
153
  ### 4. Integration Examples
119
154
 
120
155
  **OpenAI Integration:**
156
+
121
157
  ```javascript
122
158
  // Custom API call in HTTP Request node
123
159
  {
@@ -138,6 +174,7 @@ CSV Upload → Loop Items → API Lookup → AI Enhancement → Export to Databa
138
174
  ```
139
175
 
140
176
  **Anthropic Claude Integration:**
177
+
141
178
  ```javascript
142
179
  // Claude API call
143
180
  {
@@ -159,6 +196,7 @@ CSV Upload → Loop Items → API Lookup → AI Enhancement → Export to Databa
159
196
  ```
160
197
 
161
198
  **Database Integration:**
199
+
162
200
  ```javascript
163
201
  // PostgreSQL Insert with validation
164
202
  const items = $input.all();
@@ -177,6 +215,7 @@ return validItems.map(item => ({
177
215
  ### 5. Performance Optimization
178
216
 
179
217
  **Batch Processing:**
218
+
180
219
  ```javascript
181
220
  // Use Split in Batches node for large datasets
182
221
  {
@@ -188,6 +227,7 @@ return validItems.map(item => ({
188
227
  ```
189
228
 
190
229
  **Caching Strategy:**
230
+
191
231
  ```javascript
192
232
  // Check cache before expensive operation
193
233
  const cacheKey = `user_${$json.userId}`;
@@ -205,12 +245,14 @@ return [{ json: result }];
205
245
  ```
206
246
 
207
247
  **Parallel Processing:**
248
+
208
249
  ```
209
250
  Use multiple branches to process data in parallel:
210
251
  Input → Split [Branch A, Branch B, Branch C] → Merge
211
252
  ```
212
253
 
213
254
  **Rate Limiting:**
255
+
214
256
  ```javascript
215
257
  // Use Wait node with delay
216
258
  {
@@ -222,6 +264,7 @@ Input → Split [Branch A, Branch B, Branch C] → Merge
222
264
  ### 6. Self-Hosting Best Practices
223
265
 
224
266
  **Docker Compose Setup:**
267
+
225
268
  ```yaml
226
269
  version: '3'
227
270
  services:
@@ -242,6 +285,7 @@ services:
242
285
  ```
243
286
 
244
287
  **Security Recommendations:**
288
+
245
289
  - Use HTTPS with SSL certificates
246
290
  - Enable basic auth or OAuth
247
291
  - Restrict webhook access
@@ -270,7 +314,9 @@ When asked to create a workflow, provide:
270
314
 
271
315
  ### Architecture
272
316
  ```
317
+
273
318
  Gmail Trigger → Filter → OpenAI Response → Gmail Send → Log to Database
319
+
274
320
  ```
275
321
 
276
322
  ### Nodes
@@ -330,6 +376,7 @@ Gmail Trigger → Filter → OpenAI Response → Gmail Send → Log to Database
330
376
  ## When to Use n8n vs Alternatives
331
377
 
332
378
  **Use n8n when:**
379
+
333
380
  - Need complex logic (loops, branching)
334
381
  - Want self-hosting control
335
382
  - Processing large volumes (cost savings)
@@ -337,12 +384,14 @@ Gmail Trigger → Filter → OpenAI Response → Gmail Send → Log to Database
337
384
  - Need advanced error handling
338
385
 
339
386
  **Use Make/Zapier when:**
387
+
340
388
  - Simple linear workflows
341
389
  - Non-technical users
342
390
  - Quick prototypes
343
391
  - Don't want to manage infrastructure
344
392
 
345
393
  **Use Custom Code when:**
394
+
346
395
  - Extremely complex logic
347
396
  - Performance critical
348
397
  - Proprietary algorithms
@@ -13,6 +13,7 @@ When the user requests an n8n workflow, analyze their requirements and create a
13
13
  ## Workflow Templates
14
14
 
15
15
  ### 1. AI Email Responder
16
+
16
17
  ```json
17
18
  {
18
19
  "name": "AI Email Auto-Responder",
@@ -108,6 +109,7 @@ When the user requests an n8n workflow, analyze their requirements and create a
108
109
  ```
109
110
 
110
111
  ### 2. Data Processing Pipeline
112
+
111
113
  ```json
112
114
  {
113
115
  "name": "CSV to Database with AI Enhancement",
@@ -216,6 +218,7 @@ When the user requests an n8n workflow, analyze their requirements and create a
216
218
  ```
217
219
 
218
220
  ### 3. Content Pipeline
221
+
219
222
  ```json
220
223
  {
221
224
  "name": "RSS to Social Media with AI",
@@ -317,6 +320,7 @@ When the user requests an n8n workflow, analyze their requirements and create a
317
320
  ```
318
321
 
319
322
  ### 4. Lead Qualification
323
+
320
324
  ```json
321
325
  {
322
326
  "name": "Lead Scoring and Routing",
@@ -481,7 +485,9 @@ When generating a workflow, provide:
481
485
 
482
486
  ## Architecture
483
487
  ```
488
+
484
489
  Ticket Created → Classify (AI) → Route by Priority → Draft Response (AI) → Human Review → Send
490
+
485
491
  ```
486
492
 
487
493
  ## Nodes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentsolutionsio/n8n-workflow-designer",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "description": "Design complex n8n workflows with AI assistance - loops, branching, error handling",
5
5
  "keywords": [
6
6
  "n8n",
@@ -1,4 +1,3 @@
1
1
  # References
2
2
 
3
3
  Bundled resources for n8n-workflow-designer skill
4
-
@@ -7,11 +7,13 @@ This document provides practical examples of how to use this skill effectively.
7
7
  ### Example 1: Simple Activation
8
8
 
9
9
  **User Request:**
10
+
10
11
  ```
11
12
  [Describe trigger phrase here]
12
13
  ```
13
14
 
14
15
  **Skill Response:**
16
+
15
17
  1. Analyzes the request
16
18
  2. Performs the required action
17
19
  3. Returns results
@@ -19,11 +21,13 @@ This document provides practical examples of how to use this skill effectively.
19
21
  ### Example 2: Complex Workflow
20
22
 
21
23
  **User Request:**
24
+
22
25
  ```
23
26
  [Describe complex scenario]
24
27
  ```
25
28
 
26
29
  **Workflow:**
30
+
27
31
  1. Step 1: Initial analysis
28
32
  2. Step 2: Data processing
29
33
  3. Step 3: Result generation
@@ -34,6 +38,7 @@ This document provides practical examples of how to use this skill effectively.
34
38
  ### Pattern 1: Chaining Operations
35
39
 
36
40
  Combine this skill with other tools:
41
+
37
42
  ```
38
43
  Step 1: Use this skill for [purpose]
39
44
  Step 2: Chain with [other tool]
@@ -43,6 +48,7 @@ Step 3: Finalize with [action]
43
48
  ### Pattern 2: Error Handling
44
49
 
45
50
  If issues occur:
51
+
46
52
  - Check trigger phrase matches
47
53
  - Verify context is available
48
54
  - Review allowed-tools permissions
@@ -1,32 +0,0 @@
1
- #!/bin/bash
2
- # Skill validation helper
3
- # Validates skill activation and functionality
4
-
5
- set -e
6
-
7
- echo "🔍 Validating skill..."
8
-
9
- # Check if SKILL.md exists
10
- if [ ! -f "../SKILL.md" ]; then
11
- echo "❌ Error: SKILL.md not found"
12
- exit 1
13
- fi
14
-
15
- # Validate frontmatter
16
- if ! grep -q "^---$" "../SKILL.md"; then
17
- echo "❌ Error: No frontmatter found"
18
- exit 1
19
- fi
20
-
21
- # Check required fields
22
- if ! grep -q "^name:" "../SKILL.md"; then
23
- echo "❌ Error: Missing 'name' field"
24
- exit 1
25
- fi
26
-
27
- if ! grep -q "^description:" "../SKILL.md"; then
28
- echo "❌ Error: Missing 'description' field"
29
- exit 1
30
- fi
31
-
32
- echo "✅ Skill validation passed"