# N8n Automation

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-leadmagic-gtm-skills-n8n-automation`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [LeadMagic](https://agentstack.voostack.com/s/leadmagic)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [LeadMagic](https://github.com/LeadMagic)
- **Source:** https://github.com/LeadMagic/gtm-skills/tree/main/skills/automation/n8n-automation
- **Website:** https://github.com/LeadMagic/gtm-skills

## Install

```sh
agentstack add skill-leadmagic-gtm-skills-n8n-automation
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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

- **Jen Igartua (Go Nimbly) — RevOps automation maturity and orchestration roadmap** — RevOps automation maturity and orchestration roadmap
- **n8n Workflow Automation Framework** — Workflow automation — HTTP nodes, webhooks, and GTM glue between tools.
- **iPaaS Integration Patterns** — Shapes deliverables for this skill — Clay handles enrichment workflows well.
- **HubSpot Academy — CRM Automation** — Lifecycle stages, object model, and workflow enrollment patterns.

## 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
- `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 (repo root; 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.

## Related Skills

- **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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [LeadMagic](https://github.com/LeadMagic)
- **Source:** [LeadMagic/gtm-skills](https://github.com/LeadMagic/gtm-skills)
- **License:** MIT
- **Homepage:** https://github.com/LeadMagic/gtm-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-leadmagic-gtm-skills-n8n-automation
- Seller: https://agentstack.voostack.com/s/leadmagic
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
