# n8n 配置指南

> 在 n8n 工作流中通过 OpenAI 节点的自定义凭证接入 LLMoxy，实现自动化 AI 调用。

### 配置步骤

- 添加 **OpenAI** 模块 -> **Message a model**
- Credential: Create New -> **Custom**
- URL: `https://llmoxy.com/v1`
- API Key: 填入您的令牌
- Model: `grok-4.7`

![image2.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-01.png)

![image3.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-02.png)

![image4.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-03.png)

![image5.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-04.png)

![image6.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-05.png)

![image7.png](https://llmoxy.com/docs-assets/migrated/tutorial-n8n/image-06.png)

本文是 https://llmoxy.com/docs/code-tutorials/n8n 的 markdown 版本。
