Skip to main content
Generate text using an AI model with a custom prompt. This is the most versatile action in Cassidy — use it to write content, answer questions, transform data, or any other text generation task.
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.
1

Add the action

In the Workflow builder, click + between blocks and select Generate Text from the action library.
Action library with Generate Text selected
Add the action step
2

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.
Prompt field with variable references
3

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.
Model selector dropdown
4

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.
Structured Output Fields configuration
5

Configure Conversation Memory (optional)

Enable Conversation Memory if you want the Workflow to retain conversation history and carry context across runs.
6

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.
Advanced Model Settings panel
7

Add examples (optional)

Under the Sample Outputs tab, provide examples to guide the AI toward a specific style or format.
Sample Outputs tab with example entries