Provides expert guidance and implementation patterns for writing efficient Python code within n8n Code nodes.
This skill equips Claude with the specialized knowledge required to write Python scripts for n8n automation workflows, focusing on proper data access patterns using _input and _json syntax. It ensures developers adhere to n8n-specific constraints—such as the mandatory return format and the absence of external library support—while offering optimized patterns for data transformation, filtering, and statistical analysis using the Python standard library. It is particularly useful for users who need to perform operations better suited for Python syntax than JavaScript within their low-code automations.
Características Principales
010 GitHub stars
02Webhook data extraction guidance for the specific body-nested architecture
03Optimized patterns for standard library modules like statistics, re, and datetime
04Selection logic between Python Beta and Native execution modes
05Enforcement of the mandatory list-of-dictionaries return structure
06Standardized n8n data access syntax implementation (_input.all, _input.first)
Casos de Uso
01Calculating advanced statistical metrics within an automation workflow
02Validating and cleaning incoming webhook data using regular expressions
03Performing complex data transformations on n8n input items using list comprehensions