Chat
azure_openai.chat
ActionMicrosoft Azureconnection required
Calls the Azure OpenAI chat/completions endpoint (api-key auth).
Chat completion via an Azure OpenAI deployment.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Azure OpenAI
- Secret shape
- the Azure OpenAI API key
- Config it needs
- azure_endpoint, deployment, api_version
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
prompt User prompt. Supports {{ }}. | string | Yes | — | — | — |
system Optional system prompt. | string | No | — | — | — |
max_tokens Max output tokens. | number | No | 1024 | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"max_tokens": 1024
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
text | string | — |
output_tokens | number | — |
{
"output_tokens": 0,
"text": ""
}See Chat run in a workflow.
In a technical demo we add the Azure OpenAI connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.