HTTP Request node
- Method POST · URL https://api.ai24x.com/v1/chat/run
- Header X-API-Key = your key (store in n8n credentials / env)
- Header Content-Type = application/json
- 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.