AITEZA icon

AITEZA

Interact with the AITEZA REST API

Chat → Generate

AI-generated

Summary

Send a prompt to the selected AITEZA chat and generate a model response, optionally adding datarooms, files, images, or web sources as context. The generated response is added to the chat and returned as n8n output.

Inputs

  • Authentication — Use configured AITEZA OAuth2 credentials (default), or use the token from an upstream AITEZA Trigger. Trigger authentication requires a forwarded token and an AITEZA base URL, supplied here or by the trigger.
  • Chat Name or ID (required) — Select the chat to receive the generated response, or provide its ID with an expression.
  • Prompt (required) — The prompt or question to send to the model.
  • Model Name or ID (required) — The AI model to use; select one or provide its ID with an expression.
  • Additional Fields — Optionally provide connected dataroom IDs, comma-separated file, image, and web source IDs, parent or sub-dataroom context flags, web search enablement, and a workflow ID to associate with the request. Timeout is in minutes and defaults to 60.
  • Simplify — Defaults to true. Returns a simplified response by omitting nested object fields; turn it off to retain the raw response.

Output shape

One or more n8n items containing the generated response data.

The API response body is returned; if the response includes an X-Chat-ID header, its value is added as _chatId when the body is an object. With Simplify enabled, nested object fields are omitted. If Continue On Fail is enabled, a failed input item produces an item with a message field.

Links

Discussion