N8n Code Javascript

作者 czlonkowski19cd793f4789無授權條款6.3K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 週前更新

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with this.helpers / the $helpers global, working with dates using DateTime, troubleshooting Code node errors, choosing between Code node modes, or doing any custom data transformation in n8n. Always use this skill when a workflow needs a Code node — whether for data aggregation, filtering, API calls, format conversion, batch processing logic, or any custom JavaScript. Covers SplitInBatches loop patterns, cross-iteration data, pairedItem, and real-world production patterns. Also use when asked why a Code node or workflow is slow, which execution mode is faster, or how to cut per-item overhead on large datasets. EXCEPTION — for the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode, a tool attached to an AI Agent), use the n8n-code-tool skill instead; it has a different runtime contract.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
BUILTIN_FUNCTIONS.md23.1 KBtext/markdown
COMMON_PATTERNS.md30.6 KBtext/markdown
DATA_ACCESS.md21.5 KBtext/markdown
ERROR_PATTERNS.md23.4 KBtext/markdown
README.md9.8 KBtext/markdown
SKILL.md19.3 KBtext/markdown

來源與署名

來源:czlonkowski/n8n-skills位於skills/n8n-code-javascript提交19cd793

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 czlonkowski/n8n-skills 的技能

Using N8n Mcp Skills

czlonkowski

將 n8n 工作流任務導向對應的專門技能,並說明 n8n-mcp 工具集。

AI & Agents6.3K3 週前更新

N8n Validation Expert

czlonkowski

指導解讀並修正 n8n 工作流程驗證錯誤、警告與誤判。

Software Development6.3K3 週前更新

N8n Subworkflows

czlonkowski

指導建立可重複使用、可組合的 n8n 子工作流,包含具型別的輸入、清楚的契約與正確的呼叫模式。

AI & Agents6.3K3 週前更新

N8n Multi Instance

czlonkowski

Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a credential create/update/delete is refused with an `INSTANCE_AMBIGUOUS` error. Covers choosing and switching which instance this MCP session targets, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and ambiguous-write fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an `INSTANCE_AMBIGUOUS` error.

待分類6.3K3 週前更新

N8n Mcp Tools Expert

czlonkowski

指導代理正確使用 n8n-mcp MCP 工具來搜尋節點、驗證設定並管理工作流程。

AI & Agents6.3K3 週前更新

N8n Expression Syntax

czlonkowski

指導撰寫與除錯 n8n 表達式,涵蓋 {{}} 語法、$json/$node 變數以及 $jmespath 查詢。

Software Development6.3K3 週前更新