About Ollama
Run large language models locally or in the cloud with Ollama
Say what should happen in Ollama, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Run large language models locally or in the cloud with Ollama
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Ollama workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverOllama runs open-weight language models on a machine you control, or on Ollama's own cloud, behind a small REST API: /api/chat and /api/generate for text, /api/embed for embeddings, and /api/tags to list installed models. Teams choose it to keep prompts and documents off third-party model APIs, or to use a specific open model. The catch for automation is location. The local server listens on localhost port 11434 and, according to Ollama's documentation, does not require authentication there. A hosted workflow cannot reach a laptop's localhost.
There are two honest ways to connect. One is Ollama's cloud API at ollama.com/api, which needs an API key sent as a Bearer token and no local server at all. The other is your own Ollama server made reachable from the internet, typically behind a reverse proxy or tunnel that adds authentication, since the server itself has none. Exposing port 11434 directly would let anyone use your hardware. A server that lives only on a private office network will not be reachable unless you publish it in one of these ways.
The catalogue template "Chat with a self-hosted model from Slack" uses the second route: when your bot is mentioned in a chosen Slack channel, the question goes to the model on your own Ollama server and the answer is posted in the same thread, once per mention. It shows the common shape: Whenever handles the trigger and the delivery, while the model call goes to infrastructure you run.
Practical settings matter more than with hosted APIs. Name the exact model and tag, because a different size or quantization gives different answers and speed. Set stream to false when the workflow needs one complete reply. If the output feeds another step, Ollama's structured outputs let you pass a format schema so the reply has predictable fields. By default a model stays in memory for five minutes after use and is then unloaded; the keep_alive parameter changes that, and Ollama documents preloading a model to get faster responses.
Starter briefs to set up with your accounts, not finished workflows.
The self-hosted Slack chat template, with the model pinned and replies kept in-thread.
Use structured output so the label can drive routing without parsing free text.
Catch a stopped server or missing model before a dependent workflow fails.
Real briefs for this app. Pick one; Whenever writes it for your accounts.
Routes Slack questions through Whenever to a model running on your own Ollama server and posts answers in the thread.
Not at localhost:11434. Use Ollama's cloud API with an API key, or publish your own server at a public address behind a proxy or tunnel that adds authentication.
The local server does not require authentication. Direct requests to ollama.com/api for cloud models need an API key in the Authorization Bearer header.
Set stream to false in the /api/chat or /api/generate request, and the response arrives as one complete message.
Yes, using structured outputs: pass a schema in the format parameter. Check the result anyway, as smaller models can still produce wrong values within the right shape.
Usually the model has been unloaded. Ollama keeps a model in memory for five minutes after use by default. Send an empty request first to preload it, or set keep_alive (for example -1 to keep it loaded) when requests are far apart.
One workflow free. No card. Weekly AI-building limits.