Integration Guide

n8n + AIPower

Use one OpenAI-compatible endpoint in n8n to run workflow automation across GPT, Claude, Gemini, DeepSeek, Qwen, GLM, Kimi, and Doubao.

Support automation

Turn tickets, chats, and form submissions into routed replies with model-level cost control.

Sales ops

Summarize leads, enrich CRM notes, classify intent, and draft follow-ups from one API key.

Internal AI agents

Give operations teams GPT, Claude, Gemini, DeepSeek, Qwen, GLM, Kimi, and Doubao behind one billing layer.

Setup option A: OpenAI-compatible config

  1. Create an AIPower API key from your dashboard.
  2. In n8n, add or edit your OpenAI credential or OpenAI Chat Model node.
  3. Use AIPower as the OpenAI-compatible endpoint when your n8n version exposes a Base URL field:

    Base URL: https://api.aipower.me/v1

    API Key: your-aipower-key

    Model: deepseek/deepseek-chat

  4. For n8n's OpenAI node, choose the chat-completions style operation when available. AIPower is designed around OpenAI-compatible chat completions.

Setup option B: HTTP Request fallback

If your n8n build does not expose a custom Base URL field for the OpenAI model node, use the HTTP Request node. This works anywhere n8n can make an HTTPS POST request.

Method: POST

URL: https://api.aipower.me/v1/chat/completions

Headers: Authorization: Bearer your-aipower-key

{
  "model": "deepseek/deepseek-chat",
  "messages": [
    {
      "role": "system",
      "content": "You classify support tickets for an operations team."
    },
    {
      "role": "user",
      "content": "={{ $json.message }}"
    }
  ],
  "temperature": 0.2
}

Recommended models for n8n workflows

Workflow jobAIPower modelWhy
Customer support triagedeepseek/deepseek-chatClassify tickets, draft replies, and route complex cases to a stronger model.
Chinese pre-sales botqwen/qwen-plusAnswer product, shipping, refund, and policy questions in Chinese workflows.
Low-cost intent routingzhipu/glm-4-flashUse for tags, short JSON, lead scoring, and simple workflow branching.
Complex troubleshootinganthropic/claude-sonnetUse after top-up for long context, support escalations, and technical reasoning.
Long document summarygoogle/gemini-2.5-flashGood for policies, docs, conversation logs, and long workflow inputs.

Why AIPower fits n8n teams

Connect your next n8n AI workflow

10 trial calls. One OpenAI-compatible endpoint. China + global models.

Get API key