Some stuff in n8n. Some stuff in Python.
Moving some automation work into n8n didn’t mean ditching Python. I still use both, often inside the exact same pipeline.
For me, the choice isn’t about which tool is more “serious” or advanced - it comes down to the shape of the work, who needs to see what’s happening, and who has to maintain it six months from now.
Where n8n makes sense
n8n shines when the job is mostly orchestration. Something happens, it triggers a chain of follow-on steps, moves data between APIs, alerts the right person, and leaves behind an execution log that’s easy to inspect when something breaks.
Lead handling is a classic example. A form comes in off a landing page, gets cleaned up, routed to the right rep, pushed into the CRM, and flagged in Slack. Putting that in n8n works because the value isn’t just that the automation runs - it’s that marketing, sales, and ops can actually open the canvas and trace the flow without reading a Python script. It won’t make the integration magically bulletproof, and a non-technical colleague still won’t maintain every node, but at least the process isn’t hidden inside a black box.
Where I still want Python
The moment a job gets data-heavy, logic-heavy, or just awkward in a way that fights a visual canvas, I reach for Python. If I’m pulling from multiple messy sources, parsing PDFs, deduplicating records, or applying custom classification rules, I’d much rather write proper code than wire up thirty branching IF nodes.
Content and market intelligence work is where I hit this most often. You’re pulling from RSS feeds, competitor pages, webinar listings, and internal notes. Getting that raw data in is one problem; turning it into something structured and useful is another. n8n is great for coordinating the collection and routing, but if one step needs heavy text parsing or transformations I want to unit-test independently, Python is a far cleaner home for it.
It’s not really “n8n for simple stuff, Python for complex stuff.” Both can be simple or sprawling. The real difference is where the complexity lives.
Keeping a clean boundary between them
You can push either tool too far. Keep bolting conditions onto an n8n canvas and it turns into spaghetti; bury an entire business workflow in Python and it becomes clear to the author and opaque to everyone else.
Thankfully, you don’t have to pick just one:
- The Code node: Good for small Python transformations that fit within n8n’s native Python runtime and its library restrictions.
- A lightweight Python service: For heavier lifting, I’d rather expose a small API endpoint that n8n calls, letting n8n handle the triggers, configured retries, and notifications.
- The Execute Command node: Worth knowing about, though I rarely rely on it. It’s self-hosted only, disabled by default from n8n 2.0 for security reasons, and in Docker deployments it runs inside the container rather than on the Docker host.
The main rule is keeping the boundary sensible. If I tweak how data gets parsed, I shouldn’t have to rebuild the notification flow; if I change who gets alerted, I shouldn’t have to touch the processing code. That balance is why both tools are staying in my stack.