连接 n8n到 NordRouter
值得信赖的方法是结HTTP Request:它允许明确地设置终点.
设置节点
- Method:
POST. - URL:
https://nordrouter.com/v1/chat/completions. - Authentication → Header Auth:
- Name:
Authorization; - 值:
Bearer sk-nr-ВАШ-КЛЮЧ.
- Name:
- Header:
Content-Type: application/json. - Body → JSON:
json
{
"model": "anthropic/claude-sonnet-4.6",
"messages": [
{ "role": "user", "content": "Кратко перескажи: {{$json.text}}" }
]
}答案的文字是:{{$json.choices[0].message.content}}.
官方的信息:HTTP Request node.