How to Use the Generate Text Block

1:47
Automation Workflows

What is the Generate Text block?

The Generate Text block is an AI service block that outputs text based on your instructions.

How to configure the Generate Text block

Once the Generate Text block has been added to your workflow, you can configure it in the righthand panel. Here is how you would configure the block for a simple blog post generator, for example: 

  1. Prompt: Add a message in the Prompt section. In this case, the message is “Generate a blog post based on the following: {topic}.” To reference a variable in the Prompt, use double curly braces. In this case, the variable name is topic.
  2. Response Behavior: Here, you can choose to display the output to the user or save it as a variable. The variable can then be used in other sections of your workflow. For this example, it is set to Display to User.
  3. Model Settings: By default, the block will inherit your app’s underlying model, but this block also allows you to choose a different text model for processing your message with additional customization.