n8n-code-python - Write Python Code for n8n Code Nodes
Provides guidance for writing Python in n8n Code nodes, including data access, execution modes, return formats, and standard-library limitations.
Tags
Updated: 2026-10-03Capabilities
What this skill does
- Write Python for n8n Code nodes
- Access input items and node data
- Select Python execution modes
- Transform, filter, and aggregate data
- Validate webhook data structures
- Return n8n-compatible item lists
- Use Python standard-library modules
- Explain external-library limitations
Inputs
- Python coding requirements
- n8n input items
- Workflow node data
- Webhook payloads
- Desired execution mode
Outputs
- Python code snippets
- n8n-compatible return structures
- Data access guidance
- Execution mode guidance
- Library limitation guidance
Requirements
- n8n Code node
- Python execution support
- Python Beta or Native mode
- Python standard library only
