ba-n8n-python-code

Community

Write Python safely in n8n Code nodes.

AuthorYukine5377
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps developers write Python in n8n Code nodes within the platform's constraints, highlighting the critical limitations, safe data access patterns, and correct return formats to avoid common pitfalls.

Core Features & Use Cases

  • Enforces no external libraries; use only Python's standard library.
  • Documents data access patterns (_input.all(), _input.first(), _input.item, and _node references) and proper webhook payload handling.
  • Emphasizes correct return structure (a list of dictionaries with a "json" key) and error-prevention best practices.
  • Provides patterns for common transformations, aggregations, and text processing using the standard library.

Quick Start

Open a Python Code node and start applying the guidelines to write safe, standard-library only code using the recommended data-access patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ba-n8n-python-code
Download link: https://github.com/Yukine5377/common/archive/main.zip#ba-n8n-python-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.