Skip to main content
The Generate Text action allows you to generate text dynamically during your endpoint execution using your connected ChatGPT integration. At runtime, this block sends your prompt to the selected model and stores the generated output for use in later blocks.
This action requires the ChatGPT Integration to be configured in order to run. Your endpoint flow will ignore this block if the integration is not properly configured.
Screenshot2026 02 26at6 48 48PM

Prompt

The prompt field is the instruction sent to the model. You write constant instructions that will always be the same, or use variables within your instructions to customize the generated text every time the endpoint is run! For example:
Write a short welcome email for {params.partner}.

Model

The model dropdown defines which model generates the response. Different models can vary in speed, cost, output quality, or context length. Choose the model that best fits your use case.

Temperature

The temperature value controls how deterministic or creative the output is.
  • 0.0 → Very deterministic and predictable
  • 0.5 → Balanced
  • 1.0 → More creative and varied
Lower values are ideal for structured or factual outputs. Higher values are better for brainstorming or creative writing.

Reference Variable

Screenshot2026 02 26at7 01 06PM
This variable allows you to refer to the result of the text generation in future action blocks down your endpoint’s flow. This variable must be assigned a custom name.
Make your reference variable names as descriptive and unique as possible to prevent your endpoint flow from becoming cluttered. If a future variable is assigned the same name, the value of your reference variable will be overriden.