Docs

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

  1. In n8n, open Credentials → Add credential and pick OpenAI.
  2. Set API Key to your io-sk- key.
  3. Set Base URL to https://api.interodin.com/v1.
  4. Save. The connection test calls GET /v1/models and should succeed.

2. Use it in an AI Agent

  1. Add an AI Agent node, or a Basic LLM Chain.
  2. Attach an OpenAI Chat Model sub-node and select the credential from step 1.
  3. 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:

FieldValue
MethodPOST
URLhttps://api.interodin.com/v1/chat/completions
AuthenticationGeneric credential → Header Auth. Name Authorization, value Bearer io-sk-your-key.
Body content typeJSON

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 402 error means your balance is used up. Turn on auto-recharge in the console for unattended workflows.

On this page