ZIPn8nguidepythoncode-nodereferencepatterns
n8n Python Code Reference — Standard Library, Data Access, and Limitations
Reference for writing Python in n8n Code nodes. Critical upfront limitation: no external libraries (no requests, pandas, or numpy — use JavaScript for HTTP). Covers _input data access, webhook data under _json['body'], and the Python standard library (json, datetime, re, base64, hashlib, urllib.parse, math, statistics). Includes 10 production patterns and top-5 error prevention.
Want a custom AI agent?
Let's build an intelligent solution tailored to your business.
Start a Conversation