n8n-nodes-azure-ai
v0.1.0
Published
n8n community nodes for Azure AI (Cognitive Services) — Document Intelligence, Content Safety, Translator, Language, and Azure OpenAI
Maintainers
Readme
n8n-nodes-azure-ai
n8n community nodes for Azure AI (Cognitive Services) — Document Intelligence, Content Safety, Translator, Language, and Azure OpenAI.
Features
| Service | Operations | | ------------------------- | ---------------------------------------------------------------------------------------------- | | Document Intelligence | Analyze documents (invoices, receipts, forms, PDFs); poll async results | | Content Safety | Analyze text and images for hate, violence, self-harm, and sexual content | | Translator | Translate text; detect language | | Language | Sentiment analysis, key phrase extraction, named entity recognition, abstractive summarization | | Azure OpenAI | Chat completions, embeddings (for Azure-only tenants) |
Installation
In your n8n instance, go to Settings > Community Nodes, click Install, and enter:
n8n-nodes-azure-aiCredentials
Azure AI API Key (required for most services)
Each Azure Cognitive Services resource exposes its own endpoint and API key.
| Field | Example | Description |
| ---------------- | ------------------------------------------------- | -------------------------- |
| Endpoint URL | https://my-resource.cognitiveservices.azure.com | Base URL from Azure Portal |
| API Key | •••••••• | Primary or secondary key |
For the Translator service, also fill in Region (e.g.
eastus). The Translator API uses a different base URL (api.cognitive.microsofttranslator.com) and requiresOcp-Apim-Subscription-Regionin its headers.
Azure AI OAuth2 (optional)
An OAuth2 credential is provided for organizations using Azure AD managed identities instead of API keys.
Usage
- Add the Azure AI node to your workflow.
- Select a Resource (Document Intelligence, Content Safety, Translator, Language, Azure OpenAI).
- Select an Operation for that resource.
- Configure the credential and operation-specific parameters.
Document Intelligence — Analyze
The analyze operation submits a file and polls the async result automatically (up to ~45 seconds). It accepts either a URL or a binary file from a previous n8n node.
Output is shaped for downstream use:
{
"documentType": "invoice",
"confidence": 0.98,
"fields": {
"vendorName": { "value": "Contoso Ltd", "confidence": 0.99 },
"invoiceTotal": { "value": 1234.56, "confidence": 0.97 }
},
"_raw": { "...": "full analyzeResult" }
}Content Safety — Analyze Text / Analyze Image
Returns a ready-to-use safe boolean plus per-category severity scores:
{
"safe": true,
"categories": {
"hate": { "severity": 0 },
"violence": { "severity": 0 },
"selfHarm": { "severity": 0 },
"sexual": { "severity": 0 }
}
}Use the Threshold parameter (0–6) to define what counts as unsafe for your workflow.
Compatibility
- n8n
>= 1.0.0 - n8n Workflow API version 1
License
MIT — see LICENSE.
