Integrations

n8n → AI24X

Use the HTTP Request node—no special AI24X plugin required.

HTTP Request node

  1. Method POST · URL https://api.ai24x.com/v1/chat/run
  2. Header X-API-Key = your key (store in n8n credentials / env)
  3. Header Content-Type = application/json
  4. JSON body as below; map prompt from previous nodes
{ "prompt": "{{ $json.text }}", "model": "flash", "max_tokens": 400 }

Parse the JSON response field your flow needs (usually the assistant text). Start with flash to control cost.

Dify · curl · Pricing