This action generates text based only on your prompt and any variables you reference. It does not automatically access your Knowledge Base. To include Knowledge Base context, use Generate Text with Agent or add a Search Knowledge Base action before this one.
Add the action
In the Workflow builder, click + between blocks and select Generate Text from the action library.



Write a prompt
Enter the text that guides the AI model. Reference variables from previous steps or the trigger using the # symbol to provide dynamic context.

Select the AI model
Choose the model for this step. Each model has different strengths — select the one that best fits your task (writing, reasoning, analysis, etc.). See Choose an AI model for guidance.

Configure Structured Output Fields (optional)
If you need the AI to return data in a specific format with defined fields, set up structured outputs. This gives you named fields with specific data types you can reference individually in later steps.

Configure Conversation Memory (optional)
Enable Conversation Memory if you want the Workflow to retain conversation history and carry context across runs.
Adjust advanced model settings (optional)
Under Advanced Model Settings:
- Temperature — Controls randomness. Lower values (e.g., 0.1) produce focused results; higher values (e.g., 1.0) produce more creative outputs. Default is 0.70.
- Include Citations — Toggle to include Knowledge Base citations in the output.
- Data Analysis Mode — Enable when working with structured data files (CSVs, spreadsheets, PowerPoint, Word, PDFs). The AI writes code to perform data-related actions. See Data analysis in Workflows for details.

