Complete documentation on how to call apified python script in n8n (and btw solving an n8n image node bug)?
n8n is a powerful automation tool, but its built-in Python capabilities are limited. What if you could unlock the full potential of Python—external libraries, machine learning, complex data processing—directly within your n8n workflows?
In this guide, I’ll show you how to seamlessly integrate Python into n8n by creating a FastAPI-powered API. With this setup, n8n can trigger any Python script via an HTTP request, allowing you to:
Process images & data
Run advanced computations
Use AI models & external libraries
Automate custom workflows effortlessly
What You’ll Learn
Wrap a Python script in a FastAPI app
Containerize it with Docker for easy deployment
Trigger it from n8n in just a few clicks
By the end, you’ll have a fully functional setup that combines n8n’s automation power with Python’s flexibility. Ready to take your automations to the next level? Let’s dive in!
https://medium.com/@rentierdigital/calling-a-python-script-from-n8n-5d2a34c9cd09