Skip to main content

AI Automation

AI Automation consists of the open source solution n8n.

n8n is a workflow automation platform that allows you to connect different applications and APIs to automate complex processes without in-depth programming knowledge.

Connection to Ollama​

In n8n, you can connect Ollama to your workflows to run them completely locally.

Installed models

When you open the Nodes Panel in n8n, you can type ollama in the search field.
Then select the Ollama Model node or, if you want to chat with your workflow, Ollama Chat Model.

Now you need to configure the connection to Ollama.

Installed models

To do this, click Select Credential and then Create new credential.

In the next step, we need to adjust the Base URL.

Installed models

The Base URL must be changed from http://localhost:11434 to http://ollama:11434.
Simply replace localhost with ollama so that it looks like the screenshot.

The Ollama connection set up via Credentials is stored globally.
You can use it as often as you like in different workflows in n8n.

Further documentation​

Further information about n8n can be found in the official links.

n8n documentation: https://docs.n8n.io/