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

Add Connectors (optional)

Expand the Connectors section and click + Add Connector to let this action query live data from your business tools — like looking up records in HubSpot, Salesforce, or Airtable. The AI decides when to use a connector based on your prompt.
Connectors section on the Generate Text action with HubSpot added
Connectors on a Generate Text action work the same way as Connectors on an Agent — the AI queries external systems in real time during execution.
7

Add Capabilities (optional)

Expand the Capabilities section and click + Add Capability to give this action additional skills like Data Analysis, Web Search, or Image Generation.
Capabilities modal showing available capabilities like Data Analysis, Web Search, and Image Generation
For example, adding Data Analysis lets the action process file attachments, generate charts, and create reports by writing and executing code. See Analyze data in Workflows for a full walkthrough.
8

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

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