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
| Field | What it does |
|---|---|
| Text | The 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:
- A Text Input receives the release in Spanish.
- An agent translates it into English.
- Text Output shows the translation in the playground for review.
Related components
- Text Input: provides the starting text.
- Chat Output: to return the answer in a chat.