n8n-code-python

Official

Write Python logic inside n8n Code nodes.

AuthorAeyeOps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

n8n code-python enables writing Python logic inside the Code node, while respecting the no-external-libraries limit and leveraging the standard library to perform data transformations, webhook payload handling, and batch processing.

Core Features & Use Cases

  • Safe data access patterns with _input.all(), _input.first(), and _input.item to build robust workflows.
  • Standard library focused tasks: JSON handling, datetime calculations, regex parsing, and basic data transformations without external dependencies.
  • Real-world use cases include aggregating values from multiple items, validating and transforming webhook payloads, and per-item enrichment in a Run Once for Each Item mode.

Quick Start

  • Create a Python Code node, import only the standard library, and access incoming data via _input.all() or _input.first().
  • Return results using the required format: a list of dictionaries each containing a "json" key, e.g., [{"json": {"processed": true}}].
  • Example: compute total from all items and return {"total": total, "count": len(all_items)}.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: n8n-code-python
Download link: https://github.com/AeyeOps/aeo-skill-marketplace/archive/main.zip#n8n-code-python

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 223,000+ vetted skills library on demand.