anyllm.space
Main navigation
Documentation sections ▾
Documentation / n8n and Make Automation

n8n and Make

Connect a project key, run the free HTTP request in n8n and find it in your history.

n8n HTTP Request

Verified with n8n 2.50.6 against a test gateway. The HTTP Request node returned 200, and the same request ID appeared in account history with a charge of 0 RUB.

  1. In API keys, create a dedicated key for your project.
  2. Connect Manual Trigger to HTTP Request. Set Method to POST and URL to https://api.anyllm.space/v1/chat/completions.
  3. Under Authentication, select Generic Credential Type → Header Auth. In the credential, set Name to Authorization and Value to Bearer <project key>.
  4. Enable Send Headers. Set X-Max-Cost-Rub to 0 and X-Client-Reference to n8n-first-request.
  5. Enable Send Body. Set Body Content Type to JSON and Specify Body to Using JSON. Paste this body.
{
  "model": "demo-text",
  "messages": [{ "role": "user", "content": "ready" }],
  "max_tokens": 32
}
  1. Under Options → Response, enable Include Response Headers and Status. Run the workflow manually. Expect statusCode 200 and a text response at body.choices[0].message.content.
  2. Copy headers['x-request-id']. Open Request history, select the project and search by ID. The row should show demo-text and 0 RUB. You can also search by the reference n8n-first-request.

For an automated workflow, build Idempotency-Key from a stable operation ID, such as the order ID, workflow step and revision. Reuse it across retries of that operation, even when n8n starts a new execution. n8n HTTP Request reference · Retries and spending caps

Make HTTP

For a trial in Make, use HTTP → Make a request with the same method, URL, JSON body and cost cap. Use Authentication type → API key. In the credential, set API key placement to In the header, API key parameters name to Authorization and Key to Bearer <project key>. Set Body content type to application/json, select JSON string under Body input method, and paste the JSON. Enable Parse response. Run once and look for the response header x-request-id in the module output, then search for the ID in account history. This scenario still awaits an end-to-end Make test. Make HTTP reference