n8n-code-python - Write Python code for n8n Code nodes
Provides guidance for writing Python in n8n Code nodes, including data access, return formats, execution modes, and library limitations.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write Python Code node code
- Access n8n input data
- Select Python execution modes
- Format n8n node returns
- Process and transform items
- Use Python standard libraries
Inputs
- n8n workflow input items
- Code node execution mode
- Referenced node data
- Webhook request data
Outputs
- Python code snippets
- n8n item arrays
- Transformed workflow data
Requirements
- n8n Code node
- Python Beta or Native mode
- Python standard library only
