n8n-code-python - Write Python in n8n Code nodes
Provide guidance for writing Python in n8n Code nodes, including data access, processing patterns, return formats, execution modes, and library limitations.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write Python node code
- Access input items
- Reference other node outputs
- Transform workflow data
- Filter and aggregate items
- Handle webhook body data
- Return n8n item format
Inputs
- n8n input items
- Referenced node outputs
- Code node execution mode
Outputs
- Transformed n8n items
Requirements
- n8n Code node
- Python Beta or Native mode
- Python standard library only
