Azure AI icon

Azure AI

Call Azure AI Cognitive Services — Document Intelligence, Content Safety, Translator, and Language

Translator → Translate

AI-generated

Summary

Translate the supplied text into one or more target languages using Azure Translator. Choose API key or Entra ID (OAuth2) authentication, provide the Azure region and target language codes, and optionally specify the source language; when it is blank, Azure detects the source language.

Inputs

  • Authentication (required) — Use an Azure resource API key or Microsoft Entra ID (OAuth2).
  • Azure Region (required) — Region of the Azure Translator resource; sent with the request.
  • Text (required) — Text to translate. The operation errors if this is empty.
  • Target Language(s) (required) — Comma-separated Azure language codes to translate into, such as es, fr, de. The operation errors if this is empty.
  • Source Language (Optional) — Azure language code for the input text. Leave blank to let Azure detect the source language.

Output shape

A list of n8n items, one for each input item, each with a JSON object containing translations and detectedLanguage.

translations contains Azure's translation entries for the requested target languages. detectedLanguage is included when Azure returns it; it may be absent if Azure does not provide it. The operation sends the text as a single-item request to Azure Translator API v3.0.

Links

Discussion