n8n
Use Odin v1 in n8n workflows and AI agents.
n8n's OpenAI credential has a configurable base URL, so the OpenAI chat model node works with InterOdin.
1. Create the credential
- In n8n, open Credentials → Add credential and pick OpenAI.
- Set API Key to your
io-sk-key. - Set Base URL to
https://api.interodin.com/v1. - Save. The connection test calls
GET /v1/modelsand should succeed.
2. Use it in an AI Agent
- Add an AI Agent node, or a Basic LLM Chain.
- Attach an OpenAI Chat Model sub-node and select the credential from step 1.
- Under Model, choose By ID and enter
odin-v1.
Tools you attach to the agent use tool calling, which Odin v1 supports.
Or call the API directly
For full control, use an HTTP Request node:
| Field | Value |
|---|---|
| Method | POST |
| URL | https://api.interodin.com/v1/chat/completions |
| Authentication | Generic credential → Header Auth. Name Authorization, value Bearer io-sk-your-key. |
| Body content type | JSON |
Body:
{
"model": "odin-v1",
"messages": [{ "role": "user", "content": "Summarize this ticket in one sentence." }]
}In an expression, read the reply from {{ $json.choices[0].message.content }}.
Good to know
- Images. Odin v1 is text-only, so don't send images from vision nodes.
- Errors. A
402error means your balance is used up. Turn on auto-recharge in the console for unattended workflows.