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.
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.

Enable Code Execution and File Creation (optional)
Expand Code Execution & File Creation and turn on the setting when the
action should process file attachments, generate charts, create reports, or
edit files by writing and executing code. See Analyze data in
Workflows for a full walkthrough.
Add Capabilities (optional)
Expand the Capabilities section and click + Add Capability to give
this action additional skills like Web
Search or Image
Generation.
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.

