What problem does it solve? Writing Python in n8n Code nodes fails frequently because of undocumented constraints: no external libraries, webhook data nested under body, strict return format requirements, and confusing data access syntax. This Skill provides the patterns and error prevention guidance needed to write working Python Code nodes on the first attempt. ## Core Features & Use Cases - Data Access Patterns: Complete guidance on _input.all(), _input.first(), _input.item, and _node references, including the critical webhook body nesting gotcha. - Standard Library Reference: Documents which Python modules are available (json, datetime, re, base64, hashlib, urllib.parse, statistics) and workarounds for missing libraries like requests and pandas. - Error Prevention: Covers the top 5 Python Code node errors (ModuleNotFoundError, missing return, KeyError, IndexError, incorrect return format) with fixes. - Use Case: You receive webhook data in n8n and need to filter, transform, and aggregate it in Python. The Skill shows you to access data via _input.first()["json"]["body"], use .get() for safe dictionary access, and return results as [{"json": {...}}]. ## Quick Start Ask the AI to write a Python Code node that filters active items from the previous node and returns them with a processed timestamp.