# 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://tw.llmoxy.com/docs-assets/migrated/tutorial-n8n/image-01.png)

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

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

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

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

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

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