N8n automation skill

Build n8n workflows for GTM automation — triggers, webhook-to-enrichment-to-CRM pipelines, error handling, Clay export replacement for complex cases.

by LeadMagic·MIT license·★ 62 Stars on the repo·GitHub ↗

Use now

Inside this skill

SKILL.md · the author's own words
# n8n Automation

## Overview

Clay handles enrichment workflows well. n8n handles everything else — custom
pipelines, multi-step automation with proper error handling and retry logic,
and integrations Clay does not support. Use n8n when you need a queue you can
pause, error recovery that does not lose data, and integrations across tools
that Clay cannot reach.

**Implementation detail:** Load `n8n-toolkit` for flow blueprints (inbound,
outbound, signals, MCP triggers), node patterns, and production deployment.
This skill covers *when* to use n8n; the toolkit covers *how* to build.

**Playbook index:** `references/automation-playbook-index.md` — all 38 automation + tool + gtm-ops playbooks.

Word-for-word excerpt, not a result. Read the full SKILL.md ↓

Files of N8n automation

LeadMagic/main1 file shown
SKILL.md
Show the full text169 lines

n8n Automation

Overview

Clay handles enrichment workflows well. n8n handles everything else — custom pipelines, multi-step automation with proper error handling and retry logic, and integrations Clay does not support. Use n8n when you need a queue you can pause, error recovery that does not lose data, and integrations across tools that Clay cannot reach.

Implementation detail: Load n8n-toolkit for flow blueprints (inbound, outbound, signals, MCP triggers), node patterns, and production deployment. This skill covers when to use n8n; the toolkit covers how to build.

Playbook index: references/automation-playbook-index.md — all 38 automation + tool + gtm-ops playbooks.

Strategy first: references/gtm-automation-expert-playbook.md (Jen Igartua — Pattern 30) before flow build.

Authoritative Foundations

  • n8n docs — Workflows, webhooks, and HTTP Request node — Build GTM glue with webhook triggers, HTTP nodes, and a dedicated error workflow for failed runs.
  • Jen Igartua (Go Nimbly) — RevOps automation maturity — Automate stable, well-defined processes first; automating a broken process only makes it fail faster.
  • HubSpot developer docs — API limits and webhooks — Batch requests and back off on rate-limit responses when n8n writes to the CRM.

When to Use

  • "Build an n8n workflow for GTM"
  • "Automate enrichment beyond Clay"
  • "Create a custom GTM automation pipeline"
  • "Connect tools that Clay does not support"

Step-by-Step Process

Phase 1: Workflow Design

Map the complete pipeline:

Trigger → Enrichment → Scoring → Routing → CRM Push → Notification
Phase 2: Implementation Patterns
  • HTTP Request nodes for enrichment API calls
  • Error handling: retry with exponential backoff (3 attempts, 1s/5s/25s)
  • Split In Batches node for processing large lists
  • Queue mode: pause and resume when something looks wrong
  • Webhook triggers for real-time form-fill processing
Phase 3: Common GTM Workflows

Full node-level specs in n8n-toolkit → references/gtm-flow-catalog.md:

Flow ID Motion Summary
INB-01 Inbound Form → enrich → score → route (<60s)
OUT-01 Outbound Batch enrich → CRM (5K in 2–4h)
OUT-02 Outbound Clay/n8n → sequencer (human gate)
SIG-01–04 Signal Funding, job change, hiring, stale opp
LIF-03 Lifecycle Reply webhook → classify → route
MCP-01 Agent Approved batch jobs via webhook

n8n vs Clay vs MCP: See decision matrix in n8n-toolkit. Agents (MCP) research and draft; n8n executes deterministic pipelines.

Output Format

n8n workflow JSON export with node documentation, error handling rules, and maintenance guide.

Quality Check

Before delivering, verify:

  • All required sections are complete
  • Output matches the user's stated need
  • Named frameworks are cited for key recommendations
  • No vague claims — every recommendation has a specific action
  • Deliverable is ready for operational use, not just conceptual

Common Pitfalls

  1. No error handling. One failed API call breaks the entire pipeline. Every HTTP Request node needs an error branch.

  2. Sequential processing for large batches. 10K records at 1 second each is 2.8 hours. Use Split In Batches with parallel execution.

  3. No queue. Processing 10K records without a pause mechanism means no recovery point if something fails at record 5,000.

  4. Credentials in workflow. Use built-in credential store, never hardcode API keys in nodes.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • references/gtm-flow-catalog.md — Reusable GTM automation flow catalog
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand:
  • references/gtm-automation-expert-playbook.md — Jen Igartua RevOps automation strategy (shared repository reference; Pattern 30) Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

Implementation Depth

Use this section when the user asks for a finished asset, not a high-level explanation.

Diagnostic Questions
  1. What is the primary motion: founder-led, sales-led, product-led, partner-led, or lifecycle-led?
  2. Which ICP tier is the output for: small business, mid-market, enterprise, or mixed?
  3. What proof is available today: customer stories, usage data, third-party validation, screenshots, or none?
  4. What system will execute the work: CRM, sequencer, warehouse, support desk, product analytics, or manual workflow?
  5. What decision will the user make from this output: launch, prioritize, route, rewrite, score, coach, or measure?
Framework Application

Map the recommendation explicitly to the named frameworks in this skill:

  • n8n Workflow Automation Framework: apply only the part that directly improves the requested deliverable.
  • iPaaS Integration Patterns: apply only the part that directly improves the requested deliverable.
  • HubSpot Academy — CRM Automation: apply only the part that directly improves the requested deliverable.
Deliverable Standard

A strong output from this skill includes:

  • A crisp diagnosis of the current situation
  • A recommended path with tradeoffs, not a generic list
  • A concrete artifact the user can use immediately: table, script, checklist, scorecard, sequence, dashboard spec, or implementation plan
  • A measurement plan with leading and lagging indicators
  • Risks and edge cases called out before execution
Adaptation Rules
  • For small business: reduce complexity, shorten time-to-value, and prioritize owner/operator clarity.
  • For mid-market: include workflow ownership, handoffs, integrations, and enablement assets.
  • For enterprise: include governance, risk, procurement, stakeholder mapping, and proof requirements.
  • n8n-toolkit: Flow catalog, MCP patterns, node configs (primary implementation)
  • mcp-setup: Agent-side MCP; pairs with MCP-01 n8n webhook
  • clay-automation: Clay workflows for enrichment
  • api-enrichment: API enrichment patterns
  • crm-integration: CRM configuration for receiving n8n data
  • gtm-role-descriptions: GTM Engineer hiring — n8n listed in JD and scorecard
1---
2name: n8n-automation
3description: >-
4 Build n8n workflows for GTM automation — triggers, webhook-to-enrichment-to-CRM
5 pipelines, error handling, Clay export replacement for complex cases. Use when
6 building n8n workflows or automating GTM processes beyond Clay.
7license: MIT
8compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
9metadata:
10 version: "1.0.0"
11 author: LeadMagic
12 category: automation
13 tags: [n8n, automation, workflows, pipelines]
14 frameworks:
15 - "n8n docs — Workflows, webhooks, and HTTP Request node"
16 - "Jen Igartua (Go Nimbly) — RevOps automation maturity"
17 - "HubSpot developer docs — API limits and webhooks"
18 related_skills: [n8n-toolkit, clay-automation, mcp-setup, api-enrichment, crm-integration]
19---
20 
21# n8n Automation
22 
23## Overview
24 
25Clay handles enrichment workflows well. n8n handles everything else — custom
26pipelines, multi-step automation with proper error handling and retry logic,
27and integrations Clay does not support. Use n8n when you need a queue you can
28pause, error recovery that does not lose data, and integrations across tools
29that Clay cannot reach.
30 
31**Implementation detail:** Load `n8n-toolkit` for flow blueprints (inbound,
32outbound, signals, MCP triggers), node patterns, and production deployment.
33This skill covers *when* to use n8n; the toolkit covers *how* to build.
34 
35**Playbook index:** `references/automation-playbook-index.md` — all 38 automation + tool + gtm-ops playbooks.
36 
37**Strategy first:** `references/gtm-automation-expert-playbook.md` (Jen Igartua — Pattern 30) before flow build.
38 
39## Authoritative Foundations
40- **n8n docs — Workflows, webhooks, and HTTP Request node** — Build GTM glue with webhook triggers, HTTP nodes, and a dedicated error workflow for failed runs.
41- **Jen Igartua (Go Nimbly) — RevOps automation maturity** — Automate stable, well-defined processes first; automating a broken process only makes it fail faster.
42- **HubSpot developer docs — API limits and webhooks** — Batch requests and back off on rate-limit responses when n8n writes to the CRM.
43 
44## When to Use
45 
46- "Build an n8n workflow for GTM"
47- "Automate enrichment beyond Clay"
48- "Create a custom GTM automation pipeline"
49- "Connect tools that Clay does not support"
50 
51## Step-by-Step Process
52 
53### Phase 1: Workflow Design
54 
55Map the complete pipeline:
56 
57```
58Trigger → Enrichment → Scoring → Routing → CRM Push → Notification
59```
60 
61### Phase 2: Implementation Patterns
62 
63- **HTTP Request nodes** for enrichment API calls
64- **Error handling**: retry with exponential backoff (3 attempts, 1s/5s/25s)
65- **Split In Batches node** for processing large lists
66- **Queue mode**: pause and resume when something looks wrong
67- **Webhook triggers** for real-time form-fill processing
68 
69### Phase 3: Common GTM Workflows
70 
71Full node-level specs in `n8n-toolkit` → `references/gtm-flow-catalog.md`:
72 
73| Flow ID | Motion | Summary |
74|---|---|---|
75| INB-01 | Inbound | Form → enrich → score → route (<60s) |
76| OUT-01 | Outbound | Batch enrich → CRM (5K in 2–4h) |
77| OUT-02 | Outbound | Clay/n8n → sequencer (human gate) |
78| SIG-01–04 | Signal | Funding, job change, hiring, stale opp |
79| LIF-03 | Lifecycle | Reply webhook → classify → route |
80| MCP-01 | Agent | Approved batch jobs via webhook |
81 
82**n8n vs Clay vs MCP:** See decision matrix in `n8n-toolkit`. Agents (MCP)
83research and draft; n8n executes deterministic pipelines.
84 
85## Output Format
86 
87n8n workflow JSON export with node documentation, error handling rules, and
88maintenance guide.
89 
90 
91## Quality Check
92 
93Before delivering, verify:
94- [ ] All required sections are complete
95- [ ] Output matches the user's stated need
96- [ ] Named frameworks are cited for key recommendations
97- [ ] No vague claims — every recommendation has a specific action
98- [ ] Deliverable is ready for operational use, not just conceptual
99 
100## Common Pitfalls
101 
1021. **No error handling.** One failed API call breaks the entire pipeline.
103 Every HTTP Request node needs an error branch.
104 
1052. **Sequential processing for large batches.** 10K records at 1 second
106 each is 2.8 hours. Use Split In Batches with parallel execution.
107 
1083. **No queue.** Processing 10K records without a pause mechanism means
109 no recovery point if something fails at record 5,000.
110 
1114. **Credentials in workflow.** Use built-in credential store, never
112 hardcode API keys in nodes.
113 
114## Execution Artifacts
115 
116- `references/framework-notes.md` — named frameworks, citation anchors, and operating assumptions
117- `references/gtm-flow-catalog.md` — Reusable GTM automation flow catalog
118- `templates/output-template.md` — copy-paste deliverable structure for the user
119- `scripts/check-output.py` — local checklist validator for required sections
120This skill includes lightweight artifacts the agent can load on demand:
121- `references/gtm-automation-expert-playbook.md` — Jen Igartua RevOps automation strategy (shared repository reference; Pattern 30)
122Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
123 
124## Implementation Depth
125 
126Use this section when the user asks for a finished asset, not a high-level explanation.
127 
128### Diagnostic Questions
129 
1301. What is the primary motion: founder-led, sales-led, product-led, partner-led, or lifecycle-led?
1312. Which ICP tier is the output for: small business, mid-market, enterprise, or mixed?
1323. What proof is available today: customer stories, usage data, third-party validation, screenshots, or none?
1334. What system will execute the work: CRM, sequencer, warehouse, support desk, product analytics, or manual workflow?
1345. What decision will the user make from this output: launch, prioritize, route, rewrite, score, coach, or measure?
135 
136### Framework Application
137 
138Map the recommendation explicitly to the named frameworks in this skill:
139 
140- n8n Workflow Automation Framework: apply only the part that directly improves the requested deliverable.
141- iPaaS Integration Patterns: apply only the part that directly improves the requested deliverable.
142- HubSpot Academy — CRM Automation: apply only the part that directly improves the requested deliverable.
143 
144### Deliverable Standard
145 
146A strong output from this skill includes:
147 
148- A crisp diagnosis of the current situation
149- A recommended path with tradeoffs, not a generic list
150- A concrete artifact the user can use immediately: table, script, checklist, scorecard, sequence, dashboard spec, or implementation plan
151- A measurement plan with leading and lagging indicators
152- Risks and edge cases called out before execution
153 
154### Adaptation Rules
155 
156- For small business: reduce complexity, shorten time-to-value, and prioritize owner/operator clarity.
157- For mid-market: include workflow ownership, handoffs, integrations, and enablement assets.
158- For enterprise: include governance, risk, procurement, stakeholder mapping, and proof requirements.
159 
160 
161## Related Skills
162 
163- **n8n-toolkit**: Flow catalog, MCP patterns, node configs (primary implementation)
164- **mcp-setup**: Agent-side MCP; pairs with MCP-01 n8n webhook
165- **clay-automation**: Clay workflows for enrichment
166- **api-enrichment**: API enrichment patterns
167- **crm-integration**: CRM configuration for receiving n8n data
168- **gtm-role-descriptions**: GTM Engineer hiring — n8n listed in JD and scorecard
169 

Discussion

Alternatives

Browser Automation SkillWeb browser automation with AI-optimized snapshots for claude-flow agentsCoding · MITDeepevalDeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent, tool-using workflow, multi-turn chatbot, RAG pipeline, or LLM app; add evals; generate datasets or goldens; use deepeval generate; use deepeval test run; send results to Confident AI; monitor production; run online evals; inspect traces; or iterate on prompts, tools, retrieval, or agent behavior from eval failures. AI agents are the primary use case. Covers Python SDK, pytest eval suites, CLI generation, traced evals, Confident AI reporting, and agent-driven improvement loops. DO NOT TRIGGER for unrelated generic pytest, non-AI test setup, or non-DeepEval observability work unless the user asks to compare or migrate to DeepEval; for instrumenting an app with DeepEval tracing, @observe, or framework integrations (use the `deepeval-tracing` skill); or for raw OpenTelemetry / OTLP export without the deepeval package (use the `deepeval-otel` skill).Business & ops · Apache-2.0Dev browserBrowser automation with persistent named pages via the dev-browser CLI. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, log into sites, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", "open the browser", or any browser interaction request.Business & ops · MITTurn into appTurn visible project context, a proven thread, skill, or workflow into a runnable Agent-Native app with simple buttons, visible agent steps, preview, and deployment handoff. Use when a user invokes `/turn-into-app` or asks to make a workflow into an app, including from Claude or ChatGPT on the web, including when the source is a spreadsheet link or upload.Business & ops · MIT