n8n (pronounced "n-eight-n") is an open-source workflow automation platform that lets you connect applications, APIs, databases, AI models, and scripts into automated workflows using a visual editor. It is one of the most popular automation tools for developers because it combines a drag-and-drop interface with the ability to write JavaScript or Python when needed.
Why developers like n8n
-
Open source and self-hostable
-
Over 500 built-in integrations
-
REST, GraphQL, Webhooks, SSH, FTP, SQL, MQTT support
-
JavaScript and Python code nodes
-
AI Agent and LLM integration
-
Docker, Kubernetes, npm, and cloud deployment
-
Visual debugging and execution history
-
Credentials manager for API keys and OAuth
How it works
A workflow consists of nodes connected together.
Each node receives JSON, processes it, and passes JSON to the next node.
Common triggers
-
Schedule (Cron)
-
Webhook
-
Gmail
-
GitHub
-
Slack
-
Discord
-
Database changes
-
File uploads
-
API calls
Common actions
-
Send email
-
Update Google Sheets
-
Call REST APIs
-
Execute SQL
-
Run shell commands
-
Upload files
-
Generate AI responses
-
Send SMS
-
Create PDFs
AI workflows
n8n has become especially popular for AI automation.
Example:
You can connect:
-
OpenAI
-
Ollama
-
Anthropic Claude
-
Google Gemini
-
DeepSeek
-
Mistral
-
Local LLMs
Example workflow
Example for your environment
Since you've mentioned using Gentoo, MariaDB, Bootstrap 5, PHP, Whisper, Ollama, and OpenCode, n8n could orchestrate a workflow like:
Or for your medical practice project:
Installation options
-
Docker (recommended)
-
npm
-
Cloud-hosted by n8n
-
Kubernetes
-
Desktop development
Advantages
-
Free and open source
-
Highly extensible
-
Excellent for AI pipelines
-
Easy REST API integration
-
Can execute custom code
-
Supports complex branching, loops, and error handling
-
Self-hosting keeps your data under your control
Considerations
-
More powerful than simple automation tools like Zapier, but also has a steeper learning curve.
-
If you expose an n8n instance to the internet, keep it updated—there have been critical security vulnerabilities affecting older releases, so prompt patching is important.
Given your software engineering background and local AI setup, n8n is well suited as an orchestration layer for your existing stack. It can coordinate Ollama, Whisper, PHP applications, MariaDB, shell scripts, and external APIs without requiring you to write all the integration code yourself.