← Workflow examples

Translator

Translates incoming text into a requested language, preserving tone and formatting.

Graph preview

How it works

An agent with a translator prompt: the target language comes from the message itself (“translate into English: …”), defaulting to English. The prompt separately forbids adding commentary — otherwise the model happily explains its own translation.

What to configure after import

  • Hard-code the language if it is always the same: shorter and cheaper than parsing it out.
  • For long documents add a loop over paragraphs so you do not hit the output-token ceiling of a single response.