This image includes Python 3.11 by default. It can be used to run python scripts inside n8n using the Execute Command node .
Run python 3.11 code on n8n.
Using docker compose docker-compose.yml
You can run *.py
files that has been mounted to the container using
the ExecuteCommand node.
Create a folder "py_scripts" and place your scripts in there.
On Execute Command node python3 /data/py_scripts/script.py
The official n8n documentation can be found under: https://docs.n8n.io
Additional information and example workflows on the n8n.io website: https://n8n.io
Learn how to run n8n in Docker