Source: https://ailoot.ai/docs/en/integrations/n8n/
Canonical: https://ailoot.ai/docs/en/integrations/n8n/
Language: en

[Automation](https://ailoot.ai/docs/en/integrations/#automation) 

# n8n

[Markdown](https://ailoot.ai/docs/en/integrations/n8n/index.md)

No-code automation · OpenAI Chat, OpenAI Responses, Anthropic Messages, Gemini

| Format | Where to set it up |
| --- | --- |
| OpenAI Chat, OpenAI Responses, Anthropic Messages, Gemini | Credentials → OpenAI → Base URL (default https://api.openai.com/v1); Credentials → Anthropic → Base URL (default https://api.anthropic.com); Credentials → Google Gemini(PaLM) Api → Host (default https://generativelanguage.googleapis.com). Then use OpenAI Chat Model / Anthropic Chat Model / Google Gemini Chat Model nodes |

## [](https://ailoot.ai/docs/en/integrations/n8n/#setup)Setup

Copy the configuration and replace `sk-...` with your key from the Ailoot Dashboard. Prefer storing the key in the environment variable `AILOOT_API_KEY`, if the application supports it.

Before starting, request GET /v1/models with your Ailoot key. Choose an exact model ID whose methods include POST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/{model}:generateContent, then use that ID in the configuration. For agents, also check tool support and the features required by your client version.

```text
OpenAI credential:
  API Key: sk-...
  Base URL: https://api.ailoot.ai/v1
Anthropic credential:
  API Key: sk-...
  Base URL: https://api.ailoot.ai
Google Gemini(PaLM) Api credential:
  Host: https://api.ailoot.ai
  API Key: sk-...
OpenAI Chat Model node → Model: By ID → gpt-6.1-sol (Use Responses API toggle — only for models with the responses method)
```

Example model: `gpt-6.1-sol / deepseek-v4-pro (OpenAI), claude-sonnet-5-5 (Anthropic), gemini-3.6-flash (Gemini)`. Choose any other model from the [catalog](https://ailoot.ai/models/en/) — check that it supports the format you need.

## [](https://ailoot.ai/docs/en/integrations/n8n/#notes)Good to know

Credential checks call /models for OpenAI, /v1/models for Anthropic, and /v1beta/models for Gemini; Ailoot provides all three paths. The n8n documentation pages do not describe Base URL, but the field exists in the credentials themselves: OpenAiApi.credentials.ts and AnthropicApi.credentials.ts label it “Override the default base URL for the API”. On n8n Cloud, do not select “Use Gateway credits”, or requests will bypass Ailoot.

## [](https://ailoot.ai/docs/en/integrations/n8n/#check)Test

- For the OpenAI format, the URL is `https://api.ailoot.ai/v1` (or the full path if the application asks for a full URL).
- For the Anthropic format, the URL is `https://api.ailoot.ai` without `/v1`.
- For the Gemini format, the URL is `https://api.ailoot.ai` without `/v1beta`.
- Ask a short question. If you get an error, check the code and Request ID, then consult [Errors and limits](https://ailoot.ai/docs/en/errors/).
- 404 immediately after setup almost always means the URL is wrong: an extra or missing `/v1`.
- 402 — insufficient balance for the reserve. Agents reserve more than chat: [why](https://ailoot.ai/docs/en/billing/reserve/).

Application documentation: [https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/credentials/OpenAiApi.credentials.ts](https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/credentials/OpenAiApi.credentials.ts)

Still have questions? Send your Request ID and a description — we'll help you troubleshoot.[Contact support](mailto:support@ailoot.ai)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
