n8n-code-python - Write Python code for n8n Code nodes
Provides guidance for writing Python in n8n Code nodes, including item access, execution modes, return formats, webhook data, and library limitations.
Tags
Updated: 2026-10-03Typical Inputs
Typical Outputs
What this skill does
- Write n8n Python code
- Access input items
- Select execution modes
- Process webhook data
- Format node outputs
- Use standard libraries
- Avoid external packages
Inputs
- n8n input items
- Webhook payloads
- Referenced node data
- Python processing logic
Outputs
- n8n JSON items
- Transformed workflow data
- Empty item lists
Requirements
- n8n Code node
- Python Beta or Native mode
- Standard library support
