n8n-syntax-trigger-nodes

n8n-syntax-trigger-nodes is a skill for Claude Code, Codex from Impertio-Studio/n8n-Claude-Skill-Package. It costs 127 tokens per session (2,846 once invoked), scanned A, original, MIT.

A reference for creating n8n trigger nodes, which start workflows when an event occurs, a schedule arrives, an API is checked, or another service sends a webhook. It covers event, polling, and webhook patterns.

In plain words
What is it for?
Use it when building custom n8n nodes that listen for events, poll an API for changes, receive webhooks, support editor testing, or need cleanup logic.
Why use it?
It helps prevent triggers from failing silently or leaving timers, connections, and event listeners running after a workflow stops.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when building custom n8n nodes that listen for events, poll an API for changes, receive webhooks, support editor testing, or need cleanup logic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Impertio-Studio/n8n-Claude-Skill-Package --skill n8n-syntax-trigger-nodes
Clone the repo
git clone --depth 1 https://github.com/Impertio-Studio/n8n-Claude-Skill-Package

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for n8n-syntax-trigger-nodes

README.md
[![agentmods](https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes/github.svg)](https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes)
Your own site
<a href="https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes"><img src="https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for n8n-syntax-trigger-nodes

Your own site · 80×15
<a href="https://agentmods.dev/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes"><img src="https://agentmods.dev/badge/skills/impertio-studio/n8n-claude-skill-package/n8n-syntax-trigger-nodes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.02846
Opus 5 $0.00063 $0.01423
Sonnet 5 $0.00025 $0.00569
Haiku 4.5 $0.00013 $0.00285

Measured 10d ago against content hash 452c894c3845, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

n8n-syntax-trigger-nodes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/source/n8n-syntax/n8n-syntax-trigger-nodes/SKILL.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

n8n Trigger Node Development

Build custom trigger nodes for n8n v1.x using event/timer, polling, or webhook patterns.

Quick Reference

Pattern Method Interface Description Key Use When
Event/Timer trigger() ITriggerFunctions group: ['trigger'] Listening to events, cron schedules, streams
Polling poll() IPollFunctions polling: true Periodically checking an API for new data
Webhook webhook() IWebhookFunctions webhooks: [...] External service sends HTTP requests to n8n

Critical Rules

  • ALWAYS set inputs: [] on trigger nodes — triggers have NO inputs
  • ALWAYS include 'trigger' in the group array
  • ALWAYS double-wrap emitted data: this.emit([[items]]) — outer array = outputs, inner array = items
  • ALWAYS provide manualTriggerFunction for event triggers so "Test Workflow" works in the editor
  • ALWAYS implement closeFunction when your trigger allocates resources (intervals, connections, listeners)
  • NEVER emit single-wrapped arrays — this.emit([items]) causes silent failures
  • NEVER forget cleanup — leaked intervals/connections persist across workflow deactivation

Decision Tree: Which Trigger Pattern?

Need a trigger node?
├── Does an EXTERNAL SERVICE call YOUR endpoint?
│   └── YES → Use WEBHOOK pattern (webhook() + IWebhookFunctions)
│       ├── Service has webhook registration API? → Add webhookMethods lifecycle
│       └── Service sends to a static URL? → Use webhooks[] description only
├── Do you need to CHECK an API periodically?
│   └── YES → Use POLLING pattern (poll() + IPollFunctions)
│       └── ALWAYS implement deduplication (track last seen ID/timestamp)
└── Do you LISTEN for events, run on schedule, or stream data?
    └── YES → Use EVENT/TIMER pattern (trigger() + ITriggerFunctions)
        └── ALWAYS implement closeFunction for cleanup

Pattern 1: Event/Timer Trigger

Read the full file on GitHub · 322 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 322 lines · 127 tokens per session scan A 452c894c3845

Subscribe to this mod's changes

n8n-syntax-trigger-nodes is a skill published in the GitHub repository Impertio-Studio/n8n-Claude-Skill-Package (3 stars, last pushed 2mo ago), licensed MIT. It adds 127 tokens to every session and 2,846 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

nanocoai/nanoclaw · 19 tokens

n8n-subworkflows

Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or any workflow over 10 nodes — and whenever the user mentions sub-workflows, Execute Workflow, reuse, shared/common logic, modular workflows, "Define Below" inputs…

czlonkowski/n8n-mcp · 121 tokens

n8n-code-tool

Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema…

czlonkowski/n8n-mcp · 221 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

sns

AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.

itsmostafa/aws-agent-skills · 32 tokens