Reef n8n Automation
by @staybased
Build, customize, and deliver n8n workflows fast using a 2,061-template library for triggers, actions, error handling, and multi-step automation.
clawhub install reef-n8n-automationπ About This Skill
n8n Automation β Build & Deliver Workflows Fast
Build, customize, and deliver n8n workflows using our 2,061-template library.
Reference: ~/projects/n8n-workflows/ β browse by integration folder.
Our n8n instance: localhost:5678 (requires fnm use 22 before starting).
All outputs go to workspace/artifacts/.
Use when
Don't use when
Negative examples
Edge cases
Template Library Quick Reference
Location: ~/projects/n8n-workflows/workflows/
Structure: workflows/[IntegrationName]/[id]_[integration]_[action]_[trigger].json
Finding the Right Template
# List all templates for an integration
ls ~/projects/n8n-workflows/workflows/Twilio/Search across all workflows
find ~/projects/n8n-workflows/workflows/ -name "*.json" | grep -i "shopify"Count templates per integration
ls ~/projects/n8n-workflows/workflows/ | while read d; do echo "$(ls ~/projects/n8n-workflows/workflows/$d/ | wc -l) $d"; done | sort -rn | head -20
Top Integration Folders (by Upwork demand)
| Integration | Path | Common Jobs | |-------------|------|-------------| | Gmail | workflows/Gmail/ | Auto-responders, lead capture, notifications | | Google Sheets | workflows/Googlesheets/ | Data logging, reporting, sync | | Slack | workflows/Slack/ | Notifications, bots, CRM sync | | Twilio | workflows/Twilio/ | SMS automation, call routing, alerts | | Telegram | workflows/Telegram/ | Chatbots, notifications, AI assistants | | WhatsApp | workflows/Whatsapp/ | Business messaging, chatbots | | Shopify | workflows/Shopify/ | Order notifications, inventory sync | | HubSpot | workflows/Hubspot/ | CRM automation, lead routing | | Calendly | workflows/Calendly/ | Booking confirmations, follow-ups | | OpenAI | workflows/Openai/ | AI chatbots, content generation | | Webhook | workflows/Webhook/ | Custom triggers, API integrations | | Airtable | workflows/Airtable/ | Database sync, form processing |Workflow Building Process
Step 1: Assess Requirements
From client discovery, answer:Step 2: Find Matching Templates
# Search for relevant templates
find ~/projects/n8n-workflows/workflows/ -name "*.json" | xargs grep -l "keyword" 2>/dev/null
Or browse by integration folder. Most jobs need 2-3 templates stitched together.
Step 3: Import & Customize
1. Copy template JSON 2. In n8n: Menu β Import from File (or paste JSON) 3. Update credentials (Client's API keys) 4. Update field mappings (their data structure) 5. Adjust trigger settings (their webhook URL, schedule, etc.) 6. Add error handling nodes (Error Trigger β notification)Step 4: Test
Step 5: Document & Deliver
Every delivered workflow includes:## Workflow: [Name]
Trigger: [What starts it]
Steps: [1. β 2. β 3.]
Credentials needed: [List]
Testing: [How to verify it works]
Maintenance: [What might break and how to fix it]
Common Workflow Patterns
Pattern 1: Trigger β Transform β Action
The simplest and most common. Event happens β process data β do something.[Webhook/Form/Schedule] β [Set/Code node: transform data] β [Send Email/Update CRM/Create Record]
Pattern 2: Trigger β Branch β Multiple Actions
Different outcomes based on conditions.[Trigger] β [IF node: check condition] β True: [Action A] / False: [Action B]
Pattern 3: Scheduled Batch Processing
Periodic bulk operations.[Cron/Schedule] β [Get data from Sheet/DB] β [Loop: process each item] β [Action per item]
Pattern 4: Webhook API Endpoint
n8n acts as an API that other services call.[Webhook: receive request] β [Process] β [Respond to Webhook: return data]
Pattern 5: Multi-Step Pipeline
Complex workflows with multiple stages.[Trigger] β [Enrich data] β [Route/Split] β [Multiple actions] β [Aggregate] β [Final action]
Pattern 6: Error-Resilient Workflow
Production-grade with error handling.[Trigger] β [Try: main flow] β [Catch: Error Trigger] β [Alert via Slack/Email]
Node Cheat Sheet
| Need | Node | Notes | |------|------|-------| | Custom logic | Code | JavaScript, access to all data | | API call (no native node) | HTTP Request | Works with any REST API | | Conditional routing | IF / Switch | Branch based on data | | Loop over items | Split In Batches | Process items one at a time | | Wait/delay | Wait | Pause between steps | | Merge data | Merge | Combine data from branches | | Transform data | Set | Rename/restructure fields | | Schedule | Schedule Trigger | Cron expressions | | Webhook | Webhook | Receive external HTTP calls | | Respond | Respond to Webhook | Return data to caller | | Error handling | Error Trigger | Catch workflow errors | | Sub-workflow | Execute Workflow | Call another workflow |
Credential Setup Checklist
Before delivering to a client, ensure:
Delivery Checklist
Estimation Guide
| Complexity | Description | Time | Price Range | |------------|-------------|------|-------------| | Simple | 2-3 nodes, single triggerβaction | 1-2 hrs | $100-300 | | Standard | 4-8 nodes, branching, transforms | 2-4 hrs | $300-600 | | Complex | 10+ nodes, multiple APIs, error handling | 4-8 hrs | $600-1,200 | | Enterprise | Multi-workflow, database, custom code | 8-20 hrs | $1,200-3,000 |
Our speed advantage: Templates cut these times by 40-60%.
n8n Instance Management
Start n8n:
eval "$(fnm env)" && fnm use 22 && nohup n8n start > /tmp/n8n.log 2>&1 &
Access: http://localhost:5678
Import workflow via API:
curl -X POST http://localhost:5678/api/v1/workflows \
-H "Content-Type: application/json" \
-H "X-N8N-API-KEY: $N8N_API_KEY" \
-d @workflow.json
Our credentials configured: