Skip to content

Text Output

Text Output shows the result of a flow as a text. It is the counterpart of Text Input: it is meant for flows that don’t hold a conversation, but receive something, process it and return a result, such as a summary, a translation or a draft.

In the playground, the text that reaches Text Output appears in a read-only box after the flow runs. See Test the flow in the playground.

When to use it

  • Seeing the summary of a document prepared by an agent.
  • Reviewing an email draft before sending it.
  • Checking the result of an intermediate step while you build the flow.

Configuration

FieldWhat it does
TextThe text that is shown. Connect the answer of an agent or of any component that produces text.

Output

Text returns the same text as a message, in case you want to keep using it in another component.

Example

A marketing team translates its press releases:

  1. A Text Input receives the release in Spanish.
  2. An agent translates it into English.
  3. Text Output shows the translation in the playground for review.