Skip to content
Skill Authoring
Skill

/n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs.

From plugin
memstack
43387 skills2 commands4 hooks

Claude Code

$ npx -y skills add cwinvestments/memstack --skill n8n-workflow-builder --agent claude-code

SKILL.md

n8n-workflow-builder.SKILL.md
name: memstack-automation-n8n-workflow-builder
description: "Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs."
version: 1.0.0
license: "Proprietary, MemStack™ Pro by CW Affiliate Investments LLC. See LICENSE.txt"

n8n Workflow Builder: Designing automation workflow...

*Designs visual n8n workflows with trigger selection, node mapping, data transformations, error handling, and webhook integration.*

Activation

When this skill activates, output:

`n8n Workflow Builder: Designing automation workflow...`

Then execute the protocol below.

Context Guard

| Context | Status | |---------|--------| | User says "n8n workflow", "build a workflow", "automation workflow" | ACTIVE | | User says "connect services" or wants visual automation | ACTIVE | | User wants to automate a multi-step process with n8n | ACTIVE | | User needs a standalone webhook endpoint | DORMANT: use Webhook Designer | | User needs a cron/scheduled job without n8n | DORMANT: use Cron Scheduler |

Common Mistakes

| Mistake | Why It's Wrong | |---------|---------------| | "One giant workflow" | Workflows over 20 nodes become unmaintainable. Split into sub-workflows with triggers. | | "No error handling" | Silent failures mean lost data. Every workflow needs an Error Trigger node. | | "Hardcoded credentials" | Use n8n's credential store, never paste API keys into HTTP Request nodes. | | "Skip testing with real data" | Test with production-like payloads. Dummy data hides type mismatches and missing fields. | | "Poll when you can webhook" | Polling wastes resources. If the service supports webhooks, use the Webhook trigger instead. |

Protocol

Step 1: Gather Workflow Requirements

If the user hasn't provided details, ask:

> 1. **Trigger**: what starts the workflow? (webhook, schedule, app event, manual) > 2. **Input**: what data comes in? (payload shape, source service) > 3. **Actions**: what should happen step-by-step? > 4. **Output**: where does the result go? (database, API, email, Slack, file) > 5. **Error handling**: what happens if a step fails? > 6. **Frequency**: how often does this run? (per event, hourly, daily)

Step 2: Select Trigger Node

| Trigger Type | n8n Node | When to Use | |-------------|---------|-------------| | **Incoming webhook** | Webhook | External service sends data to you | | **Schedule** | Schedule Trigger | Run at fixed intervals (cron) | | **App event** | [App] Trigger | Slack message, GitHub PR, Stripe payment, etc. | | **Manual** | Manual Trigger | Testing or on-demand execution | | **Email** | Email Trigger (IMAP) | React to incoming emails | | **File change** | Local File Trigger | Watch a directory for new files | | **Another workflow** | Execute Workflow Trigger | Sub-workflow called by parent |

**Trigger configuration template:**

Trigger: [Node name]
Type: [Webhook / Schedule / App event]
Configuration:
  - [Setting 1: e.g., HTTP Method: POST]
  - [Setting 2: e.g., Path: /webhook/orders]
  - [Setting 3: e.g., Authentication: Header Auth]
Output schema:
  {
    "field1": "type: description",
    "field2": "type: description"
  }

Step 3: Map the Workflow Nodes

Design the node sequence from trigger to output:

**Workflow diagram template:**

[Trigger] → [Transform/Filter] → [Action 1] → [Action 2] → [Output]
                                       ↓ (on error)
                                  [Error Handler]

**Common node patterns:**

| Pattern | Nodes | Use Case | |---------|-------|----------| | **Filter & route** | IF / Switch | Route data based on conditions | | **Transform** | Set / Code / Item Lists | Reshape data between nodes | | **Batch process** | SplitInBatches → Loop | Process large datasets without timeout | | **Merge streams** | Merge | Combine data from parallel branches | | **Lookup & enrich** | HTTP Request → Merge | Add data from external APIs | | **Deduplicate** | Code (Set-based check) | Prevent processing the same item twice |

**Node specification template (for each node):**

Node [N]: [Name]
Type: [n8n node type]
Purpose: [What this node does]
Input: [What it receives from the previous node]
Configuration:
  - [Key setting 1]
  - [Key setting 2]
Output: [What it passes to the next node]

Step 4: Data Transformations

**Accessing data between nodes:**

// Reference previous node output
{{ $json.fieldName }}

// Reference a specific node by name
{{ $('Node Name').item.json.fieldName }}

// Access all items from a node
{{ $('Node Name').all() }}

// Current item index in a loop
{{ $itemIndex }}

// Environment variables
{{ $env.MY_VARIABLE }}

**Common transformation patterns:**

| Transformation | Node | Expression Example | |---------------|------|--------------------| | Rename field | Set | `newName: {{ $json.oldName }}` | | Format date | Set / Code | `{{ DateTime.fromISO($json.date).toFormat('yyyy-MM-dd') }}` | | Filter items | IF | `{{ $json.status === 'active' }}` | | Concatenate | Set | `{{ $json.first + ' ' + $json.last }}` | | Parse JSON string | Code | `JSON.parse($json.rawBody)` | | Map array | Code | `items.map(i => ({ json: { id: i.json.id } }))` | | Aggregate | Code | `[{ json: { total: items.reduce((s,i) => s + i.json.amount, 0) } }]` |

**Code node template (JavaScript):**

// Process all items
const results = [];
for (const item of $input.all()) {
  results.push({
    json: {
      id: item.json.id,
      processed: true,
      // Add transformed fields here
    }
  });
}
return results;

Step 5: Error Handling

**Error handling strategy:**

[Main Workflow]
  ├── [Error Trigger] → [Log to DB] → [Send Alert]
  └── [Individual nodes with retry]

**Three layers of error handling:**

| Layer | Implementation | Purpose | |-------|-

Read more
@cwinvestments
Ships withmemstack

The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.

Stars on GitHub

Momentum

stars in total
433
Star history of cwinvestments/memstack on GitHub, a chart by star-history.com

Other skills on memstack.

api-integration

api-integration

Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…

content-pipeline

content-pipeline

Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platform…

cron-scheduler

cron-scheduler

Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs…

hosted-mcp-catalog

hosted-mcp-catalog

Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCP…

webhook-designer

webhook-designer

Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',…

client-onboarding

client-onboarding

Use this skill when the user says 'client onboarding', 'new client', 'onboard client', 'kickoff meeting', 'intake form', 'welcome…

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about n8n-workflow-builder.

Which coding agents can use n8n-workflow-builder?
n8n-workflow-builder installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.